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_Conveyor.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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 2.234/2.234, allocations: 194.9 MB / 211.7 MB, free: 2.867 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 16 kB / 264.5 MB, free: 12.89 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 44.51 MB / 309.1 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4695/0.5986, allocations: 102.1 MB / 411.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.599, allocations: 98.78 kB / 411.3 MB, free: 12.49 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2101/0.8091, allocations: 43.9 MB / 455.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.8092, allocations: 3.938 kB / 455.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003737/0.8096, allocations: 51.94 kB / 455.2 MB, free: 15.52 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.009515/0.8192, allocations: 2.358 MB / 457.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.8192, allocations: 8.031 kB / 457.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.8211, allocations: 269.1 kB / 457.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005473/0.8266, allocations: 1.424 MB / 459.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.8269, allocations: 149 kB / 459.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009211/0.8278, allocations: 191.7 kB / 459.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008832/0.8367, allocations: 2.403 MB / 462 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.8369, allocations: 7.906 kB / 462 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004344/0.8373, allocations: 79.98 kB / 462.1 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/0.8375, allocations: 87.69 kB / 462.2 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008362/0.8459, allocations: 1.892 MB / 464.1 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02327/0.8692, allocations: 7.468 MB / 471.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003911/0.8732, allocations: 1.392 MB / 472.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/0.8737, allocations: 138 kB / 473.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002578/0.8763, allocations: 0.7061 MB / 473.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 7.864e-06/0.8764, allocations: 0 / 473.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.05347/0.9299, allocations: 8.364 MB / 482.2 MB, free: 5.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.9301, allocations: 175.5 kB / 482.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/0.9335, allocations: 1.367 MB / 483.7 MB, free: 3.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003691/0.9339, allocations: 57.64 kB / 483.7 MB, free: 3.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.9353, allocations: 0.9209 MB / 484.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008112/0.9362, allocations: 453.5 kB / 485.1 MB, free: 2.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.9363, allocations: 32 kB / 485.1 MB, free: 2.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.9366, allocations: 361.9 kB / 485.5 MB, free: 1.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.9388, allocations: 0.7105 MB / 486.2 MB, free: 1.199 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/0.9414, allocations: 1.071 MB / 487.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00274/0.9442, allocations: 0.8981 MB / 488.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.9443, allocations: 4 kB / 488.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.008765/0.9531, allocations: 2.593 MB / 490.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.67e-05/0.9532, allocations: 45.64 kB / 490.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.9533, allocations: 8 kB / 490.8 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003084/0.9564, allocations: 0.665 MB / 491.5 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.9588, allocations: 299.6 kB / 491.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.9739, allocations: 6.687 MB / 498.5 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.9763, allocations: 108 kB / 498.6 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.9765, allocations: 56.12 kB / 498.6 MB, free: 4.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * 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 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001896/0.9784, allocations: 0.6457 MB / 499.3 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/0.9791, allocations: 166 kB / 499.4 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007653/0.9868, allocations: 2.394 MB / 0.4901 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.9869, allocations: 12 kB / 0.4901 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.9869, allocations: 11.89 kB / 0.4901 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.701e-05/0.9869, allocations: 11.97 kB / 0.4901 GB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.009, allocations: 4.793 MB / 0.4948 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/1.009, allocations: 4 kB / 0.4948 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.011, allocations: 184 kB / 0.495 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003683/1.015, allocations: 0.742 MB / 0.4957 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003033/1.015, allocations: 35.98 kB / 0.4957 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/1.032, allocations: 8.417 MB / 0.5039 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.032, allocations: 4 kB / 0.5039 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.042, allocations: 3.375 MB / 0.5072 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.044, allocations: 399 kB / 0.5076 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005465/1.044, allocations: 35.94 kB / 0.5077 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.046, allocations: 79.91 kB / 0.5077 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004902/1.047, allocations: 105.1 kB / 0.5078 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.047, allocations: 43.98 kB / 0.5079 GB, free: 14.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002602/1.05, allocations: 0.9359 MB / 0.5088 GB, free: 13.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.05, allocations: 0 / 0.5088 GB, free: 13.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003297/1.053, allocations: 0.5311 MB / 0.5093 GB, free: 12.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(7,59.2%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002046/1.055, allocations: 0.5906 MB / 0.5099 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007718/1.063, allocations: 2.512 MB / 0.5123 GB, free: 9.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.063, allocations: 0.5625 kB / 0.5123 GB, free: 9.664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005396/1.068, allocations: 1.633 MB / 0.5139 GB, free: 7.969 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/1.072, allocations: 372.6 kB / 0.5143 GB, free: 7.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.086, allocations: 5.125 MB / 0.5193 GB, free: 2.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/1.089, allocations: 1.753 MB / 0.521 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002015/1.091, allocations: 329 kB / 0.5213 GB, free: 320 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/1.091, allocations: 107.4 kB / 0.5214 GB, free: 212 kB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/1.091, allocations: 4 kB / 0.5214 GB, free: 208 kB / 410.7 MB Notification: Performance of Templates: time 0.3434/1.435, allocations: 27.41 MB / 0.5482 GB, free: 109.7 MB / 410.7 MB