Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004836, allocations: 8 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2915, allocations: 44.51 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/0.4672, allocations: 99.42 MB / 408 MB, free: 8.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/0.4676, allocations: 95.95 kB / 408.1 MB, free: 8.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4419/0.9095, allocations: 44.46 MB / 452.6 MB, free: 72.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.9096, allocations: 0 / 452.6 MB, free: 72.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001885/0.9098, allocations: 55.94 kB / 452.6 MB, free: 72.67 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007863/0.9176, allocations: 2.444 MB / 455.1 MB, free: 70.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.9177, allocations: 8.031 kB / 455.1 MB, free: 70.15 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009572/0.9187, allocations: 299.3 kB / 455.4 MB, free: 69.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.9198, allocations: 292.8 kB / 455.6 MB, free: 69.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004579/0.9243, allocations: 1.554 MB / 457.2 MB, free: 67.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.9245, allocations: 148 kB / 457.3 MB, free: 67.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005/0.925, allocations: 208 kB / 457.5 MB, free: 67.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006409/0.9315, allocations: 2.699 MB / 460.2 MB, free: 64.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.461e-05/0.9316, allocations: 19.78 kB / 460.3 MB, free: 64.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.9319, allocations: 87.98 kB / 460.3 MB, free: 64.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.932, allocations: 91.92 kB / 460.4 MB, free: 64.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005888/0.9379, allocations: 2.229 MB / 462.7 MB, free: 62.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/0.9567, allocations: 8.45 MB / 471.1 MB, free: 53.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.96, allocations: 1.81 MB / 472.9 MB, free: 51.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007271/0.9608, allocations: 134 kB / 473.1 MB, free: 51.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.022e-05/0.9609, allocations: 51.5 kB / 473.1 MB, free: 51.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 1.056e-05/0.961, allocations: 0 / 473.1 MB, free: 51.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.02154/0.9825, allocations: 6.424 MB / 479.5 MB, free: 44.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.9826, allocations: 68.41 kB / 479.6 MB, free: 44.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.9853, allocations: 1.321 MB / 480.9 MB, free: 43.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003089/0.9857, allocations: 45.7 kB / 481 MB, free: 43.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/0.9864, allocations: 0.9836 MB / 481.9 MB, free: 42.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.9869, allocations: 425.8 kB / 482.4 MB, free: 42.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.987, allocations: 24 kB / 482.4 MB, free: 42.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9871, allocations: 365.9 kB / 482.7 MB, free: 41.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.9889, allocations: 0.7456 MB / 483.5 MB, free: 40.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.9909, allocations: 1.05 MB / 484.5 MB, free: 39.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.993, allocations: 0.8886 MB / 485.4 MB, free: 38.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.993, allocations: 0 / 485.4 MB, free: 38.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005933/0.999, allocations: 2.365 MB / 487.8 MB, free: 36.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.999, allocations: 12 kB / 487.8 MB, free: 36.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.9991, allocations: 8 kB / 487.8 MB, free: 36.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/1.001, allocations: 415 kB / 488.2 MB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/1.003, allocations: 339.5 kB / 488.6 MB, free: 35.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/1.009, allocations: 4.743 MB / 493.3 MB, free: 30.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/1.011, allocations: 95.97 kB / 493.4 MB, free: 30.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.012, allocations: 55.92 kB / 493.4 MB, free: 30.56 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.001728/1.013, allocations: 0.7081 MB / 494.1 MB, free: 29.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/1.014, allocations: 162 kB / 494.3 MB, free: 29.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/1.02, allocations: 2.188 MB / 496.5 MB, free: 27.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/1.02, allocations: 16 kB / 496.5 MB, free: 27.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.02, allocations: 4 kB / 496.5 MB, free: 27.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/1.02, allocations: 3.984 kB / 496.5 MB, free: 27.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/1.032, allocations: 4.595 MB / 0.4894 GB, free: 22.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.032, allocations: 3.953 kB / 0.4894 GB, free: 22.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/1.034, allocations: 239.6 kB / 0.4896 GB, free: 22.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002054/1.036, allocations: 463.2 kB / 0.49 GB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002493/1.036, allocations: 39.97 kB / 0.4901 GB, free: 22.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007993/1.044, allocations: 6.29 MB / 0.4962 GB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.044, allocations: 0 / 0.4962 GB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007993/1.052, allocations: 3.397 MB / 0.4995 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.053, allocations: 410.9 kB / 0.4999 GB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/1.054, allocations: 28 kB / 0.5 GB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.055, allocations: 83.91 kB / 0.5 GB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/1.056, allocations: 112.7 kB / 0.5001 GB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.056, allocations: 35.98 kB / 0.5002 GB, free: 11.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002133/1.058, allocations: 1.024 MB / 0.5012 GB, free: 10.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.058, allocations: 0 / 0.5012 GB, free: 10.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002579/1.061, allocations: 491.9 kB / 0.5017 GB, free: 9.613 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.008787/1.069, allocations: 4.751 MB / 0.5063 GB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005434/1.075, allocations: 2.309 MB / 0.5085 GB, free: 2.383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.075, allocations: 0 / 0.5085 GB, free: 2.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00367/1.079, allocations: 1.512 MB / 0.51 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/1.082, allocations: 406 kB / 0.5104 GB, free: 424 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03919/1.121, allocations: 19.37 MB / 0.5293 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.124, allocations: 1.861 MB / 0.5311 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002358/1.127, allocations: 397.5 kB / 0.5315 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/1.129, allocations: 0.7961 MB / 0.5323 GB, free: 9.293 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/1.129, allocations: 0 / 0.5323 GB, free: 9.293 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4054/1.534, allocations: 42.95 MB / 0.5742 GB, free: 111.1 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/1.535, allocations: 229.1 kB / 0.5745 GB, free: 110.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.96/5.494, allocations: 3.719 kB / 0.5745 GB, free: 110.8 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat