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_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004705, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09389, allocations: 44.51 MB / 309 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.433/0.5269, allocations: 102.1 MB / 411.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.5273, allocations: 92.84 kB / 411.2 MB, free: 12.14 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.1935/0.7209, allocations: 43.9 MB / 455.1 MB, free: 264 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.7209, allocations: 0 / 455.1 MB, free: 264 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003293/0.7213, allocations: 51.94 kB / 455.1 MB, free: 212 kB / 330.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.01281/0.7341, allocations: 2.361 MB / 457.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.7342, allocations: 8.031 kB / 457.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.7365, allocations: 277 kB / 457.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007244/0.7438, allocations: 1.417 MB / 459.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.7442, allocations: 152.6 kB / 459.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.7453, allocations: 196.5 kB / 459.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.7566, allocations: 2.415 MB / 462 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.7567, allocations: 9.844 kB / 462 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003434/0.7571, allocations: 77.5 kB / 462 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.7573, allocations: 87.67 kB / 462.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007025/0.7643, allocations: 1.896 MB / 464 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02269/0.7871, allocations: 7.46 MB / 471.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/0.791, allocations: 1.392 MB / 472.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.7915, allocations: 142 kB / 473 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/0.7935, allocations: 0.71 MB / 473.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 4.218e-06/0.7935, allocations: 0 / 473.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.03434/0.8278, allocations: 8.369 MB / 482.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.828, allocations: 167.5 kB / 482.3 MB, free: 5.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.8315, allocations: 1.371 MB / 483.6 MB, free: 4.461 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003691/0.8319, allocations: 49.7 kB / 483.7 MB, free: 4.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.833, allocations: 0.8871 MB / 484.6 MB, free: 3.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007375/0.8338, allocations: 449.5 kB / 485 MB, free: 3.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.8339, allocations: 32 kB / 485 MB, free: 3.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000239/0.8342, allocations: 374.8 kB / 485.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.8363, allocations: 0.7105 MB / 486.1 MB, free: 1.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.8388, allocations: 1.067 MB / 487.2 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.8416, allocations: 0.9059 MB / 488.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.8417, allocations: 4 kB / 488.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007996/0.8497, allocations: 2.505 MB / 490.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/0.8498, allocations: 45.64 kB / 490.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.8499, allocations: 8 kB / 490.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003069/0.853, allocations: 0.665 MB / 491.3 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/0.8555, allocations: 295.6 kB / 491.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.8699, allocations: 6.691 MB / 498.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.8724, allocations: 104 kB / 498.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004745/0.873, allocations: 59.98 kB / 498.5 MB, free: 5.152 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.002845/0.8758, allocations: 0.6417 MB / 499.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/0.8766, allocations: 166 kB / 499.3 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008225/0.8848, allocations: 2.398 MB / 0.4899 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.8849, allocations: 15.94 kB / 0.4899 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/0.8849, allocations: 11.95 kB / 0.4899 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.8849, allocations: 7.922 kB / 0.4899 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.8996, allocations: 4.785 MB / 0.4946 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.8996, allocations: 4.188 kB / 0.4946 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.9013, allocations: 187.7 kB / 0.4948 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003687/0.905, allocations: 0.742 MB / 0.4955 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/0.9053, allocations: 31.98 kB / 0.4955 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/0.9221, allocations: 8.416 MB / 0.5038 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.9222, allocations: 8 kB / 0.5038 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009885/0.9321, allocations: 3.383 MB / 0.5071 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.9334, allocations: 394.9 kB / 0.5074 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.9339, allocations: 31.98 kB / 0.5075 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.9355, allocations: 87.86 kB / 0.5076 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/0.9359, allocations: 101.1 kB / 0.5077 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.9361, allocations: 39.98 kB / 0.5077 GB, free: 15.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002359/0.9384, allocations: 0.932 MB / 0.5086 GB, free: 14.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.9385, allocations: 0 / 0.5086 GB, free: 14.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00265/0.9411, allocations: 0.5312 MB / 0.5091 GB, free: 13.62 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.001788/0.9429, allocations: 0.5952 MB / 0.5097 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006872/0.9498, allocations: 2.504 MB / 0.5122 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.9499, allocations: 0 / 0.5122 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00473/0.9546, allocations: 1.638 MB / 0.5138 GB, free: 8.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/0.9576, allocations: 376.4 kB / 0.5141 GB, free: 8.438 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.9699, allocations: 5.185 MB / 0.5192 GB, free: 3.195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/0.9723, allocations: 1.745 MB / 0.5209 GB, free: 1.414 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008327/0.9731, allocations: 115.4 kB / 0.521 GB, free: 1.301 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.9732, allocations: 0 / 0.521 GB, free: 1.301 MB / 410.7 MB Notification: Performance of Templates: time 0.4131/1.386, allocations: 61.93 MB / 0.5815 GB, free: 90.94 MB / 410.7 MB