Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003463, allocations: 8 kB / 233.3 MB, free: 2.914 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08288, allocations: 38.77 MB / 272.1 MB, free: 12.06 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.488, allocations: 94.22 MB / 366.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004063/0.4885, allocations: 90.08 kB / 366.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2089/0.6974, allocations: 44.35 MB / 410.8 MB, free: 4.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6974, allocations: 0 / 410.8 MB, free: 4.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002354/0.6977, allocations: 55.94 kB / 410.8 MB, free: 4.902 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.008939/0.7066, allocations: 2.429 MB / 413.3 MB, free: 2.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.7067, allocations: 8.031 kB / 413.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001195/0.7079, allocations: 295.2 kB / 413.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.7093, allocations: 296.8 kB / 413.8 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/0.7141, allocations: 1.5 MB / 415.3 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.7144, allocations: 156 kB / 415.5 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006022/0.715, allocations: 196 kB / 415.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007895/0.7229, allocations: 2.69 MB / 418.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.833e-05/0.723, allocations: 8 kB / 418.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003353/0.7234, allocations: 87.94 kB / 418.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.7235, allocations: 87.83 kB / 418.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007347/0.7309, allocations: 2.221 MB / 420.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02252/0.7535, allocations: 8.383 MB / 429.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/0.7573, allocations: 1.817 MB / 431 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/0.7578, allocations: 134 kB / 431.1 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2303/0.9882, allocations: 41.06 kB / 431.1 MB, free: 83.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 5.991e-06/0.9882, allocations: 2.594 kB / 431.1 MB, free: 83.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.02371/1.012, allocations: 6.421 MB / 437.6 MB, free: 82.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/1.012, allocations: 68.34 kB / 437.6 MB, free: 82.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/1.015, allocations: 1.296 MB / 438.9 MB, free: 82.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003345/1.016, allocations: 46.86 kB / 439 MB, free: 82.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007863/1.016, allocations: 0.9256 MB / 439.9 MB, free: 82.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006219/1.017, allocations: 420.2 kB / 440.3 MB, free: 81.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.017, allocations: 26.59 kB / 440.3 MB, free: 81.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/1.017, allocations: 365.5 kB / 440.7 MB, free: 81.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/1.02, allocations: 0.7488 MB / 441.4 MB, free: 81.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/1.022, allocations: 1.048 MB / 442.5 MB, free: 81.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/1.024, allocations: 0.8898 MB / 443.4 MB, free: 81.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/1.024, allocations: 2.969 kB / 443.4 MB, free: 81.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006742/1.031, allocations: 2.265 MB / 445.6 MB, free: 81.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/1.031, allocations: 12.84 kB / 445.7 MB, free: 81.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/1.031, allocations: 11.11 kB / 445.7 MB, free: 81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/1.032, allocations: 415.8 kB / 446.1 MB, free: 80.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/1.035, allocations: 333.1 kB / 446.4 MB, free: 80.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008632/1.044, allocations: 4.737 MB / 451.1 MB, free: 78.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/1.046, allocations: 94.92 kB / 451.2 MB, free: 78.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/1.047, allocations: 56.86 kB / 451.3 MB, free: 78.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002464/1.049, allocations: 0.7063 MB / 452 MB, free: 78.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007035/1.05, allocations: 166.9 kB / 452.2 MB, free: 78.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00802/1.058, allocations: 2.188 MB / 454.3 MB, free: 78.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/1.058, allocations: 14.03 kB / 454.4 MB, free: 78.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.558e-05/1.058, allocations: 3.406 kB / 454.4 MB, free: 78.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/1.058, allocations: 6.609 kB / 454.4 MB, free: 78.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/1.074, allocations: 4.577 MB / 458.9 MB, free: 77.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.074, allocations: 2.812 kB / 459 MB, free: 77.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/1.077, allocations: 237 kB / 459.2 MB, free: 77.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00274/1.08, allocations: 468.5 kB / 459.6 MB, free: 76.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/1.08, allocations: 28.33 kB / 459.7 MB, free: 76.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.091, allocations: 6.308 MB / 466 MB, free: 72.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.091, allocations: 7.859 kB / 466 MB, free: 72.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009959/1.101, allocations: 3.389 MB / 469.4 MB, free: 70.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.102, allocations: 414 kB / 469.8 MB, free: 70.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/1.103, allocations: 31.58 kB / 469.8 MB, free: 70.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.105, allocations: 83.36 kB / 469.9 MB, free: 70.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/1.105, allocations: 102 kB / 470 MB, free: 70.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.105, allocations: 37.05 kB / 470 MB, free: 70.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.01539/1.121, allocations: 1.001 MB / 471 MB, free: 69.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.121, allocations: 6.156 kB / 471 MB, free: 69.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003339/1.124, allocations: 490.4 kB / 471.5 MB, free: 69.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01063/1.135, allocations: 4.745 MB / 476.3 MB, free: 67.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006695/1.142, allocations: 2.309 MB / 478.6 MB, free: 66.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.142, allocations: 0 / 478.6 MB, free: 66.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004599/1.146, allocations: 1.526 MB / 480.1 MB, free: 65.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/1.15, allocations: 412.7 kB / 480.5 MB, free: 65.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04149/1.192, allocations: 19.23 MB / 499.7 MB, free: 51.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/1.194, allocations: 1.839 MB / 0.4898 GB, free: 49.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/1.196, allocations: 0.7879 MB / 0.4906 GB, free: 49.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/1.196, allocations: 0 / 0.4906 GB, free: 49.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.901/5.097, allocations: 77.74 MB / 0.5665 GB, free: 93 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat