Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.74/1.74, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003532, allocations: 12 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07357/0.07394, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4198, allocations: 102.1 MB / 410.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.4201, allocations: 88.77 kB / 410.7 MB, free: 14.57 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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.1622/0.5823, allocations: 43.9 MB / 454.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.261e-06/0.5823, allocations: 0 / 454.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001581/0.5825, allocations: 51.94 kB / 454.6 MB, free: 1.754 MB / 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.005645/0.5882, allocations: 2.357 MB / 457 MB, free: 15.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5882, allocations: 12.03 kB / 457 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.5892, allocations: 273.1 kB / 457.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.5925, allocations: 1.422 MB / 458.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.5927, allocations: 148.7 kB / 458.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/0.5932, allocations: 189.5 kB / 459 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/0.5985, allocations: 2.402 MB / 461.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-05/0.5986, allocations: 11.91 kB / 461.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.5988, allocations: 76.62 kB / 461.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.599, allocations: 86.38 kB / 461.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004722/0.6037, allocations: 1.89 MB / 463.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.6208, allocations: 7.472 MB / 470.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.6238, allocations: 1.392 MB / 472.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/0.6242, allocations: 142 kB / 472.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/0.6258, allocations: 0.71 MB / 473.2 MB, free: 448 kB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 4.805e-06/0.6258, allocations: 0 / 473.2 MB, free: 448 kB / 346.7 MB Notification: Performance of matching and sorting (n=130): time 0.02522/0.651, allocations: 8.368 MB / 481.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.6512, allocations: 167.5 kB / 481.7 MB, free: 7.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.6538, allocations: 1.219 MB / 482.9 MB, free: 6.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002356/0.6541, allocations: 49.7 kB / 483 MB, free: 6.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.6551, allocations: 0.8871 MB / 483.9 MB, free: 5.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005974/0.6557, allocations: 449.5 kB / 484.3 MB, free: 5.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.6559, allocations: 32 kB / 484.3 MB, free: 5.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.6561, allocations: 366.8 kB / 484.7 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.6578, allocations: 0.7144 MB / 485.4 MB, free: 3.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.6599, allocations: 1.067 MB / 486.5 MB, free: 2.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.6619, allocations: 0.906 MB / 487.4 MB, free: 1.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.962e-06/0.6619, allocations: 0 / 487.4 MB, free: 1.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006139/0.6681, allocations: 2.505 MB / 489.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/0.6682, allocations: 45.69 kB / 489.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.6682, allocations: 15.94 kB / 490 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/0.6706, allocations: 0.657 MB / 490.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.6723, allocations: 299.5 kB / 490.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.6839, allocations: 6.687 MB / 497.6 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.6856, allocations: 104 kB / 497.7 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/0.6859, allocations: 64 kB / 497.8 MB, free: 7.176 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.001656/0.6876, allocations: 0.6379 MB / 498.4 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/0.688, allocations: 158 kB / 498.5 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006001/0.6941, allocations: 2.394 MB / 0.4892 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.6941, allocations: 12 kB / 0.4892 GB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.6942, allocations: 11.95 kB / 0.4892 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.6942, allocations: 11.91 kB / 0.4892 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.706, allocations: 4.797 MB / 0.4939 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.706, allocations: 4 kB / 0.4939 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.7072, allocations: 183.7 kB / 0.4941 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/0.7101, allocations: 0.7422 MB / 0.4948 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.7103, allocations: 35.98 kB / 0.4949 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.7243, allocations: 8.416 MB / 0.5031 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.7244, allocations: 3.984 kB / 0.5031 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007963/0.7323, allocations: 3.461 MB / 0.5065 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.7336, allocations: 399.2 kB / 0.5068 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/0.734, allocations: 31.98 kB / 0.5069 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.7352, allocations: 83.86 kB / 0.507 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/0.7355, allocations: 109.3 kB / 0.5071 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.7357, allocations: 43.92 kB / 0.5071 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002014/0.7377, allocations: 0.932 MB / 0.508 GB, free: 52 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.07e-06/0.7377, allocations: 0 / 0.508 GB, free: 52 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.002398/0.7401, allocations: 0.5351 MB / 0.5085 GB, free: 15.51 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.001909/0.7421, allocations: 0.5894 MB / 0.5091 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005616/0.7477, allocations: 2.504 MB / 0.5116 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.7478, allocations: 4.25 kB / 0.5116 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003742/0.7515, allocations: 1.633 MB / 0.5132 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.7539, allocations: 376.5 kB / 0.5135 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.7643, allocations: 5.186 MB / 0.5186 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/0.7664, allocations: 1.745 MB / 0.5203 GB, free: 3.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006187/0.7671, allocations: 115.4 kB / 0.5204 GB, free: 3.203 MB / 410.7 MB Notification: Performance of SimCode: time 1.677e-06/0.7671, allocations: 0 / 0.5204 GB, free: 3.203 MB / 410.7 MB Notification: Performance of Templates: time 0.2886/1.056, allocations: 61.93 MB / 0.5809 GB, free: 93.62 MB / 410.7 MB