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.AIMC_YD.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.AIMC_YD,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.0964, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4491/0.5455, allocations: 100.5 MB / 409 MB, free: 12.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.5459, allocations: 86.06 kB / 409.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2012/0.7471, allocations: 49.05 MB / 458.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.7472, allocations: 0 / 458.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003422/0.7475, allocations: 63.94 kB / 458.2 MB, free: 12.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.01369/0.7612, allocations: 2.749 MB / 460.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.7613, allocations: 12.03 kB / 461 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001332/0.7627, allocations: 334.2 kB / 461.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.7644, allocations: 328.7 kB / 461.6 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007876/0.7723, allocations: 1.744 MB / 463.3 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.7727, allocations: 172.8 kB / 463.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.7738, allocations: 229.8 kB / 463.7 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.7859, allocations: 3.157 MB / 466.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.7861, allocations: 7.906 kB / 466.9 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005533/0.7866, allocations: 95.98 kB / 467 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002142/0.7869, allocations: 100.4 kB / 467.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.7984, allocations: 2.637 MB / 469.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.8295, allocations: 9.93 MB / 479.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004877/0.8345, allocations: 2.142 MB / 481.8 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/0.835, allocations: 138.4 kB / 481.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.8351, allocations: 47.88 kB / 482 MB, free: 5.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.288e-06/0.8351, allocations: 0 / 482 MB, free: 5.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.0329/0.868, allocations: 8.063 MB / 490.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.8681, allocations: 72.72 kB / 490.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/0.8719, allocations: 1.469 MB / 491.6 MB, free: 11.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004089/0.8724, allocations: 49.7 kB / 491.6 MB, free: 11.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.8735, allocations: 1.023 MB / 492.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008748/0.8744, allocations: 488.9 kB / 493.1 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.8745, allocations: 32 kB / 493.2 MB, free: 9.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.8748, allocations: 370.8 kB / 493.5 MB, free: 9.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/0.8775, allocations: 0.9174 MB / 494.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/0.8806, allocations: 1.234 MB / 495.7 MB, free: 7.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.8839, allocations: 1.064 MB / 496.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.8839, allocations: 0 / 496.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.009456/0.8934, allocations: 2.921 MB / 499.7 MB, free: 3.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.8935, allocations: 11.94 kB / 499.7 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.8935, allocations: 8 kB / 499.7 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/0.8973, allocations: 0.8456 MB / 0.4888 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.8999, allocations: 319.5 kB / 0.4891 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/0.9185, allocations: 9.324 MB / 0.4982 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.921, allocations: 111.8 kB / 0.4983 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/0.9214, allocations: 56 kB / 0.4984 GB, free: 8.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002615/0.924, allocations: 0.8058 MB / 0.4992 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007143/0.9247, allocations: 181.8 kB / 0.4993 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/0.9349, allocations: 2.889 MB / 0.5022 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/0.935, allocations: 16 kB / 0.5022 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.989e-05/0.935, allocations: 8 kB / 0.5022 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.563e-05/0.935, allocations: 7.969 kB / 0.5022 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.953, allocations: 5.701 MB / 0.5078 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.953, allocations: 4 kB / 0.5078 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.9549, allocations: 203.7 kB / 0.508 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/0.9593, allocations: 0.9026 MB / 0.5088 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003152/0.9596, allocations: 40.12 kB / 0.5089 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02235/0.982, allocations: 10.89 MB / 0.5195 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.9821, allocations: 0 / 0.5195 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2961/1.278, allocations: 4.373 MB / 0.5238 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/1.28, allocations: 466.2 kB / 0.5242 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005312/1.28, allocations: 35.31 kB / 0.5243 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.282, allocations: 94.27 kB / 0.5243 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000586/1.283, allocations: 150.4 kB / 0.5245 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/1.283, allocations: 43.59 kB / 0.5245 GB, free: 106.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002784/1.286, allocations: 1.125 MB / 0.5256 GB, free: 106.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.286, allocations: 2.469 kB / 0.5256 GB, free: 106.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003399/1.289, allocations: 0.5849 MB / 0.5262 GB, free: 106.6 MB / 410.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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01271/1.302, allocations: 5.715 MB / 0.5318 GB, free: 105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007842/1.31, allocations: 3.026 MB / 0.5347 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.353e-05/1.31, allocations: 1.375 kB / 0.5347 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005225/1.315, allocations: 2.062 MB / 0.5368 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/1.319, allocations: 493 kB / 0.5372 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0456/1.365, allocations: 21.84 MB / 0.5586 GB, free: 93.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/1.368, allocations: 2.04 MB / 0.5605 GB, free: 92.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002611/1.37, allocations: 0.8931 MB / 0.5614 GB, free: 92.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/1.37, allocations: 0 / 0.5614 GB, free: 92.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.881/5.251, allocations: 100.9 MB / 0.66 GB, free: 15.86 MB / 410.7 MB