Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005765/0.0005766, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.09997, allocations: 44.5 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5088/0.6088, allocations: 105.9 MB / 414.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.6092, allocations: 91.08 kB / 414.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2688/0.878, allocations: 65.22 MB / 479.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.8781, allocations: 0 / 479.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004868/0.8786, allocations: 87.92 kB / 479.8 MB, free: 8.195 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01576/0.8944, allocations: 3.663 MB / 483.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.8945, allocations: 8.031 kB / 483.5 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002204/0.8967, allocations: 438.4 kB / 483.9 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/0.8995, allocations: 459 kB / 484.4 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009139/0.9087, allocations: 2.39 MB / 486.7 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003803/0.9092, allocations: 234.2 kB / 487 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.9108, allocations: 303.9 kB / 487.3 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.9263, allocations: 4.334 MB / 491.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.9265, allocations: 15.8 kB / 491.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009634/0.9275, allocations: 136 kB / 491.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/0.9277, allocations: 129.9 kB / 491.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.9411, allocations: 3.619 MB / 495.5 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04161/0.9828, allocations: 13.6 MB / 0.4972 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006889/0.9897, allocations: 2.953 MB / 0.5001 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.9903, allocations: 143 kB / 0.5002 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.9904, allocations: 48.56 kB / 0.5002 GB, free: 6.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 4.839e-06/0.9904, allocations: 4 kB / 0.5002 GB, free: 6.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.03541/1.026, allocations: 9.423 MB / 0.5094 GB, free: 13.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/1.026, allocations: 81.34 kB / 0.5095 GB, free: 13.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006014/1.032, allocations: 2.065 MB / 0.5115 GB, free: 11.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00055/1.033, allocations: 57.7 kB / 0.5116 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.034, allocations: 1.35 MB / 0.5129 GB, free: 9.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.036, allocations: 0.6122 MB / 0.5135 GB, free: 9.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/1.036, allocations: 40 kB / 0.5135 GB, free: 9.016 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002857/1.036, allocations: 386.8 kB / 0.5139 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/1.04, allocations: 1.156 MB / 0.515 GB, free: 7.473 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004374/1.044, allocations: 1.553 MB / 0.5166 GB, free: 5.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/1.049, allocations: 1.357 MB / 0.5179 GB, free: 4.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/1.049, allocations: 7.953 kB / 0.5179 GB, free: 4.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01124/1.06, allocations: 3.466 MB / 0.5213 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/1.06, allocations: 12 kB / 0.5213 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.643e-05/1.06, allocations: 12 kB / 0.5213 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003601/1.064, allocations: 0.8059 MB / 0.5221 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2811/1.345, allocations: 461.9 kB / 0.5225 GB, free: 97.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/1.36, allocations: 10.5 MB / 0.5328 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/1.363, allocations: 132.6 kB / 0.5329 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006058/1.364, allocations: 76.41 kB / 0.533 GB, free: 90.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00379/1.368, allocations: 1.086 MB / 0.534 GB, free: 90.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.369, allocations: 246.5 kB / 0.5343 GB, free: 90.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/1.379, allocations: 3.394 MB / 0.5376 GB, free: 90.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/1.379, allocations: 21.75 kB / 0.5376 GB, free: 90.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.979e-05/1.379, allocations: 7.453 kB / 0.5376 GB, free: 90.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.319e-05/1.379, allocations: 8.297 kB / 0.5376 GB, free: 90.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.402, allocations: 6.934 MB / 0.5444 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/1.402, allocations: 4.766 kB / 0.5444 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002804/1.405, allocations: 309.3 kB / 0.5447 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004188/1.409, allocations: 0.934 MB / 0.5456 GB, free: 90.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004739/1.409, allocations: 45.03 kB / 0.5456 GB, free: 90.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/1.427, allocations: 13.77 MB / 0.5591 GB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.427, allocations: 3.875 kB / 0.5591 GB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.44, allocations: 5.151 MB / 0.5641 GB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/1.443, allocations: 0.5785 MB / 0.5647 GB, free: 80.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008594/1.444, allocations: 41.56 kB / 0.5647 GB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/1.446, allocations: 130.1 kB / 0.5649 GB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008198/1.447, allocations: 163.9 kB / 0.565 GB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/1.448, allocations: 55.89 kB / 0.5651 GB, free: 80.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004146/1.452, allocations: 1.597 MB / 0.5666 GB, free: 79.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.944e-06/1.452, allocations: 0 / 0.5666 GB, free: 79.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004345/1.456, allocations: 0.7366 MB / 0.5673 GB, free: 79.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01431/1.47, allocations: 6.413 MB / 0.5736 GB, free: 76.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008941/1.479, allocations: 3.667 MB / 0.5772 GB, free: 74.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.48, allocations: 0 / 0.5772 GB, free: 74.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006273/1.486, allocations: 2.566 MB / 0.5797 GB, free: 73.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005687/1.492, allocations: 0.6718 MB / 0.5804 GB, free: 72.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05781/1.549, allocations: 28.97 MB / 0.6086 GB, free: 53.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004403/1.554, allocations: 2.541 MB / 0.6111 GB, free: 52.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003399/1.557, allocations: 1.254 MB / 0.6123 GB, free: 51.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.833e-06/1.557, allocations: 4 kB / 0.6124 GB, free: 51.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.694/6.251, allocations: 176.8 MB / 0.785 GB, free: 27.25 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat