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.84/1.84, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003544, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0811/0.08148, allocations: 44.5 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01207/0.09359, allocations: 7.679 MB / 316 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007356/0.101, allocations: 3.21 MB / 319.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1024, allocations: 35.81 kB / 319.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.1044, allocations: 0.6143 MB / 319.9 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.1073, allocations: 0.6816 MB / 320.6 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1086, allocations: 295.4 kB / 320.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003438/0.1121, allocations: 1.591 MB / 322.5 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.1143, allocations: 1.224 MB / 323.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.1158, allocations: 0.7784 MB / 324.5 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.1177, allocations: 1.02 MB / 325.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003953/0.1181, allocations: 120 kB / 325.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008574/0.119, allocations: 211.9 kB / 325.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008661/0.1199, allocations: 0.5958 MB / 326.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000725/0.1206, allocations: 456.6 kB / 326.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004412/0.125, allocations: 2.965 MB / 329.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.792e-06/0.1251, allocations: 0 / 329.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.706e-06/0.1251, allocations: 0 / 329.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.15e-05/0.1252, allocations: 3.938 kB / 329.8 MB, free: 11.46 MB / 282.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.005883/0.1311, allocations: 2.328 MB / 332.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1311, allocations: 8.031 kB / 332.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.1323, allocations: 269.1 kB / 332.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.1358, allocations: 1.248 MB / 333.7 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.136, allocations: 139.7 kB / 333.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004984/0.1365, allocations: 195.9 kB / 334 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006093/0.1426, allocations: 2.424 MB / 336.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.797e-05/0.1427, allocations: 11.86 kB / 336.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/0.143, allocations: 76 kB / 336.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.1432, allocations: 95.67 kB / 336.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005403/0.1486, allocations: 1.97 MB / 338.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0161/0.1647, allocations: 7.401 MB / 346 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/0.1676, allocations: 1.351 MB / 347.3 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/0.1679, allocations: 126 kB / 347.4 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/0.1695, allocations: 0.6983 MB / 348.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.22e-06/0.1695, allocations: 0 / 348.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.02139/0.1909, allocations: 7.377 MB / 355.5 MB, free: 1.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.1911, allocations: 171.2 kB / 355.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.1938, allocations: 1.359 MB / 357 MB, free: 15.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002195/0.194, allocations: 45.7 kB / 357.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.1951, allocations: 0.8946 MB / 358 MB, free: 14.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005804/0.1957, allocations: 417.9 kB / 358.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1958, allocations: 36 kB / 358.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002336/0.1961, allocations: 362.8 kB / 358.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.1977, allocations: 0.6481 MB / 359.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.1998, allocations: 1.009 MB / 360.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.2017, allocations: 0.8395 MB / 361.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.013e-06/0.2018, allocations: 0 / 361.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005603/0.2074, allocations: 2.28 MB / 363.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.707e-05/0.2075, allocations: 41.69 kB / 363.6 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.2076, allocations: 12 kB / 363.6 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.2091, allocations: 472.1 kB / 364.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.2108, allocations: 307.5 kB / 364.4 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009901/0.2207, allocations: 6.527 MB / 370.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.2222, allocations: 99.92 kB / 371 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.2224, allocations: 55.98 kB / 371 MB, free: 0.8516 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (152): * Single equations (assignments): 146 * 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: 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%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001584/0.224, allocations: 0.6466 MB / 371.7 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.2245, allocations: 150.1 kB / 371.8 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.21/0.4345, allocations: 2.128 MB / 374 MB, free: 60.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/0.4346, allocations: 11.66 kB / 374 MB, free: 60.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/0.4346, allocations: 5.297 kB / 374 MB, free: 60.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.103e-05/0.4346, allocations: 5.625 kB / 374 MB, free: 60.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.4451, allocations: 4.419 MB / 378.4 MB, free: 58.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.4452, allocations: 3.875 kB / 378.4 MB, free: 58.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.4464, allocations: 195.9 kB / 378.6 MB, free: 58.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.4482, allocations: 0.515 MB / 379.1 MB, free: 58.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.4485, allocations: 39.91 kB / 379.2 MB, free: 58.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009072/0.4576, allocations: 7.98 MB / 387.1 MB, free: 51.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.293e-06/0.4576, allocations: 8.094 kB / 387.1 MB, free: 51.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006069/0.4637, allocations: 3.067 MB / 390.2 MB, free: 50.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009837/0.4647, allocations: 366 kB / 390.6 MB, free: 50.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.4651, allocations: 39.44 kB / 390.6 MB, free: 50.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.4662, allocations: 75.59 kB / 390.7 MB, free: 50.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.4665, allocations: 93.95 kB / 390.8 MB, free: 50.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.4666, allocations: 40.38 kB / 390.8 MB, free: 50.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001653/0.4683, allocations: 0.9319 MB / 391.7 MB, free: 49.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.49e-07/0.4683, allocations: 0 / 391.7 MB, free: 49.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002214/0.4706, allocations: 459 kB / 392.2 MB, free: 49.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (107): * Single equations (assignments): 100 * 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: 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%) 3,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/0.4721, allocations: 448.2 kB / 392.6 MB, free: 49.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004441/0.4766, allocations: 2.341 MB / 395 MB, free: 48.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.435e-06/0.4766, allocations: 3.938 kB / 395 MB, free: 48.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002876/0.4795, allocations: 1.499 MB / 396.5 MB, free: 47.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.4819, allocations: 383.5 kB / 396.8 MB, free: 46.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008354/0.4903, allocations: 5.101 MB / 401.9 MB, free: 41.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.4917, allocations: 1.724 MB / 403.7 MB, free: 40.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/0.4923, allocations: 119.4 kB / 403.8 MB, free: 39.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.552e-06/0.4923, allocations: 0 / 403.8 MB, free: 39.98 MB / 314.7 MB Notification: Performance of Templates: time 0.09793/0.5902, allocations: 68.92 MB / 472.7 MB, free: 2.914 MB / 346.7 MB