Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadModel(Modelica): time 1.64/1.64, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005466/0.0005468, allocations: 12 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1105, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.02608/0.1367, allocations: 8.925 MB / 281.6 MB, free: 2.574 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.1498, allocations: 3.408 MB / 285 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.1521, allocations: 55.75 kB / 285 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004321/0.1565, allocations: 0.6841 MB / 285.7 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.1617, allocations: 0.7477 MB / 286.5 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.1636, allocations: 303.5 kB / 286.8 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00673/0.1704, allocations: 1.915 MB / 288.7 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00528/0.1757, allocations: 1.804 MB / 290.5 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.1787, allocations: 0.9574 MB / 291.4 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.1824, allocations: 1.183 MB / 292.6 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008352/0.1833, allocations: 148 kB / 292.8 MB, free: 7.316 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.1849, allocations: 211.9 kB / 293 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002087/0.187, allocations: 0.7751 MB / 293.7 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.1884, allocations: 0.5588 MB / 294.3 MB, free: 5.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008305/0.1967, allocations: 3.775 MB / 298.1 MB, free: 1.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1968, allocations: 4 kB / 298.1 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1968, allocations: 3.938 kB / 298.1 MB, free: 1.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001459/0.197, allocations: 0 / 298.1 MB, free: 1.973 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 659 * Number of variables: 659 Notification: Performance of Generate backend data structure: time 0.2745/0.4716, allocations: 2.794 MB / 300.9 MB, free: 28 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.4716, allocations: 9.547 kB / 300.9 MB, free: 28 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.473, allocations: 337.2 kB / 301.2 MB, free: 27.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/0.4773, allocations: 1.551 MB / 302.8 MB, free: 27.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.4775, allocations: 188.2 kB / 302.9 MB, free: 27.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005697/0.4781, allocations: 251.2 kB / 303.2 MB, free: 27.08 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008691/0.4868, allocations: 3.233 MB / 306.4 MB, free: 25.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.4869, allocations: 4.453 kB / 306.4 MB, free: 25.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003368/0.4873, allocations: 103.8 kB / 306.5 MB, free: 25.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002043/0.4875, allocations: 126.3 kB / 306.7 MB, free: 25.65 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007675/0.4952, allocations: 2.709 MB / 309.4 MB, free: 24.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.5171, allocations: 10.37 MB / 319.7 MB, free: 17.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.5198, allocations: 1.322 MB / 321.1 MB, free: 16.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.5202, allocations: 127 kB / 321.2 MB, free: 16.35 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.5202, allocations: 47.19 kB / 321.2 MB, free: 16.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=95): time 4.248e-06/0.5202, allocations: 0 / 321.2 MB, free: 16.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=120): time 0.02176/0.542, allocations: 6.856 MB / 328.1 MB, free: 9.652 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.5421, allocations: 68.41 kB / 328.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.5446, allocations: 1.592 MB / 329.7 MB, free: 7.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.5448, allocations: 45.7 kB / 329.8 MB, free: 7.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000857/0.5456, allocations: 1.258 MB / 331 MB, free: 6.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.546, allocations: 422.3 kB / 331.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.5462, allocations: 28 kB / 331.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5463, allocations: 365.9 kB / 331.8 MB, free: 5.859 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.5479, allocations: 0.7652 MB / 332.6 MB, free: 5.094 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.5499, allocations: 1.273 MB / 333.9 MB, free: 3.594 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.552, allocations: 0.9744 MB / 334.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.552, allocations: 7.953 kB / 334.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.005632/0.5577, allocations: 2.439 MB / 337.3 MB, free: 152 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.5578, allocations: 12.62 kB / 337.3 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.5578, allocations: 20 kB / 337.3 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.5588, allocations: 235.2 kB / 337.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/0.5619, allocations: 419.5 kB / 338 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/0.5662, allocations: 3.045 MB / 341 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.5685, allocations: 127.7 kB / 341.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.5687, allocations: 68 kB / 341.2 MB, free: 11.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002123/0.5709, allocations: 0.8211 MB / 342 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005695/0.5715, allocations: 189.8 kB / 342.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005734/0.5772, allocations: 1.996 MB / 344.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.911e-05/0.5773, allocations: 17.97 kB / 344.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5773, allocations: 0 / 344.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/0.5788, allocations: 414.6 kB / 344.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005808/0.5794, allocations: 20 kB / 344.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.5811, allocations: 99.86 kB / 344.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/0.5815, allocations: 72.89 kB / 344.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006918/0.5884, allocations: 2.049 MB / 346.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007491/0.5959, allocations: 2.984 MB / 349.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001856/0.5978, allocations: 0.8003 MB / 350.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002369/0.6002, allocations: 1.07 MB / 351.7 MB, free: 1.375 MB / 266.7 MB Notification: Performance of Backend: time 6.41e-07/0.6002, allocations: 0 / 351.7 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.004757/0.605, allocations: 1.725 MB / 353.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of SimCode: time 0.01267/0.6177, allocations: 5.889 MB / 359.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of Templates: time 0.07315/0.6909, allocations: 24.2 MB / 383.5 MB, free: 1.484 MB / 298.7 MB