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 1.986/1.986, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003608, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09412, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01333/0.1075, allocations: 7.671 MB / 316.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008201/0.1158, allocations: 3.206 MB / 320 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.1173, allocations: 39.75 kB / 320 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.12, allocations: 0.6144 MB / 320.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.1232, allocations: 0.6777 MB / 321.3 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1249, allocations: 295.4 kB / 321.6 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.1289, allocations: 1.591 MB / 323.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/0.1314, allocations: 1.224 MB / 324.4 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.1331, allocations: 0.7707 MB / 325.2 MB, free: 188 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.1356, allocations: 1.008 MB / 326.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005712/0.1362, allocations: 124 kB / 326.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1373, allocations: 203.9 kB / 326.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009601/0.1382, allocations: 0.5842 MB / 327.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008088/0.1391, allocations: 456.6 kB / 327.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.1441, allocations: 2.953 MB / 330.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1441, allocations: 3.938 kB / 330.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1441, allocations: 4 kB / 330.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000159/0.1443, allocations: 0 / 330.5 MB, free: 10.84 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.00761/0.1519, allocations: 2.324 MB / 332.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.152, allocations: 8.031 kB / 332.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.1534, allocations: 265.1 kB / 333.1 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.1571, allocations: 1.252 MB / 334.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.1573, allocations: 143.7 kB / 334.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005938/0.158, allocations: 191.9 kB / 334.6 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007039/0.165, allocations: 2.409 MB / 337.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.277e-05/0.1651, allocations: 11.94 kB / 337.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.1654, allocations: 76 kB / 337.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/0.1656, allocations: 99.67 kB / 337.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006067/0.1717, allocations: 1.97 MB / 339.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/0.1913, allocations: 7.394 MB / 346.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/0.1946, allocations: 1.343 MB / 347.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003612/0.195, allocations: 130 kB / 348.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.197, allocations: 0.6905 MB / 348.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.509e-06/0.197, allocations: 0 / 348.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.02745/0.2245, allocations: 7.373 MB / 356.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.2246, allocations: 175.2 kB / 356.3 MB, free: 324 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.2275, allocations: 1.355 MB / 357.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.2278, allocations: 49.7 kB / 357.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.229, allocations: 0.9246 MB / 358.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006289/0.2296, allocations: 425.9 kB / 359.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.2298, allocations: 24 kB / 359.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.23, allocations: 365.9 kB / 359.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.2318, allocations: 0.6481 MB / 360.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.2341, allocations: 1.009 MB / 361.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.2364, allocations: 0.8317 MB / 361.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.2364, allocations: 4 kB / 361.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.006728/0.2431, allocations: 2.372 MB / 364.3 MB, free: 8.074 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.288e-05/0.2433, allocations: 39.58 kB / 364.3 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.2433, allocations: 8 kB / 364.3 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.2453, allocations: 480.2 kB / 364.8 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.2475, allocations: 307.5 kB / 365.1 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.2582, allocations: 6.539 MB / 371.7 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.2602, allocations: 99.97 kB / 371.7 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.2604, allocations: 52 kB / 371.8 MB, free: 152 kB / 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.2458/0.5062, allocations: 0.6298 MB / 372.4 MB, free: 59.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005746/0.5068, allocations: 152.2 kB / 372.6 MB, free: 59.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006308/0.5131, allocations: 2.136 MB / 374.7 MB, free: 59.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.47e-05/0.5132, allocations: 5.766 kB / 374.7 MB, free: 59.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.5133, allocations: 3.281 kB / 374.7 MB, free: 59.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.5144, allocations: 369 kB / 375.1 MB, free: 59.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000429/0.5149, allocations: 26.62 kB / 375.1 MB, free: 59.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.5162, allocations: 78.84 kB / 375.2 MB, free: 59.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/0.5167, allocations: 91.52 kB / 375.3 MB, free: 59.42 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008514/0.5252, allocations: 2.18 MB / 377.5 MB, free: 58.7 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006452/0.5317, allocations: 2.6 MB / 380.1 MB, free: 57.7 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001803/0.5336, allocations: 0.7234 MB / 380.8 MB, free: 57.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00187/0.5355, allocations: 0.9277 MB / 381.7 MB, free: 57.08 MB / 314.7 MB Notification: Performance of Backend: time 7.31e-07/0.5355, allocations: 0 / 381.7 MB, free: 57.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005867/0.5414, allocations: 2.2 MB / 383.9 MB, free: 55.84 MB / 314.7 MB Notification: Performance of SimCode: time 0.01022/0.5516, allocations: 5.299 MB / 389.2 MB, free: 52.68 MB / 314.7 MB Notification: Performance of Templates: time 0.06199/0.6137, allocations: 23.27 MB / 412.5 MB, free: 32.09 MB / 314.7 MB