Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08752/0.08788, allocations: 44.5 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.05024/0.1382, allocations: 30.77 MB / 339.9 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02523/0.1635, allocations: 9.567 MB / 349.4 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006235/0.1697, allocations: 219.2 kB / 349.6 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009067/0.1788, allocations: 2.025 MB / 351.7 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01542/0.1943, allocations: 3.502 MB / 355.2 MB, free: 2.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008017/0.2024, allocations: 1.542 MB / 356.7 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02706/0.2294, allocations: 11.49 MB / 368.2 MB, free: 5.055 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.359/0.5885, allocations: 20.18 MB / 388.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009315/0.5979, allocations: 4.888 MB / 393.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/0.6089, allocations: 5.505 MB / 398.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00381/0.6128, allocations: 0.791 MB / 399.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006608/0.6194, allocations: 1.102 MB / 400.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004583/0.624, allocations: 2.467 MB / 403.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004498/0.6286, allocations: 2.654 MB / 405.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02822/0.6568, allocations: 22.57 MB / 428.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6569, allocations: 0 / 428.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6569, allocations: 0 / 428.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006662/0.6576, allocations: 0 / 428.4 MB, free: 10.64 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: 3386 * Number of variables: 3386 Notification: Performance of Generate backend data structure: time 0.05491/0.7125, allocations: 13.41 MB / 441.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.7126, allocations: 8.031 kB / 441.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06291/0.7755, allocations: 7.305 MB / 449.1 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02516/0.8007, allocations: 7.621 MB / 456.7 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001775/0.8025, allocations: 0.9138 MB / 457.6 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006742/0.8093, allocations: 1.214 MB / 458.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06598/0.8753, allocations: 19.04 MB / 477.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006425/0.876, allocations: 23.8 kB / 477.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004312/0.8804, allocations: 0.4931 MB / 478.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001148/0.8816, allocations: 0.6853 MB / 479.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05662/0.9382, allocations: 17.61 MB / 496.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6847/1.623, allocations: 63.92 MB / 0.5475 GB, free: 102.1 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04424/1.667, allocations: 38.63 MB / 0.5852 GB, free: 69.77 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03215/1.699, allocations: 12.05 MB / 0.597 GB, free: 66.61 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.561e-05/1.7, allocations: 81.16 kB / 0.597 GB, free: 66.54 MB / 426.8 MB Notification: Performance of pre-optimization done (n=415): time 8.476e-06/1.7, allocations: 0 / 0.597 GB, free: 66.54 MB / 426.8 MB Notification: Performance of matching and sorting (n=425): time 0.06266/1.762, allocations: 20.48 MB / 0.617 GB, free: 54.49 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/1.762, allocations: 123.2 kB / 0.6172 GB, free: 54.39 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.773, allocations: 5.151 MB / 0.6222 GB, free: 51.65 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008394/1.774, allocations: 93.05 kB / 0.6223 GB, free: 51.57 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003998/1.778, allocations: 5.485 MB / 0.6276 GB, free: 46.79 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00191/1.78, allocations: 1.472 MB / 0.6291 GB, free: 45.52 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007487/1.781, allocations: 143.7 kB / 0.6292 GB, free: 45.41 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004404/1.781, allocations: 0.5742 MB / 0.6298 GB, free: 44.9 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007302/1.788, allocations: 2.951 MB / 0.6326 GB, free: 43.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009177/1.798, allocations: 5.664 MB / 0.6382 GB, free: 38.04 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009607/1.807, allocations: 4.187 MB / 0.6423 GB, free: 34.37 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-05/1.807, allocations: 28 kB / 0.6423 GB, free: 34.34 MB / 426.8 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02626/1.834, allocations: 10.09 MB / 0.6521 GB, free: 24.18 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/1.834, allocations: 44.62 kB / 0.6522 GB, free: 24.13 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/1.834, allocations: 88 kB / 0.6523 GB, free: 24.05 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004762/1.839, allocations: 1.133 MB / 0.6534 GB, free: 22.9 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0107/1.849, allocations: 1.544 MB / 0.6549 GB, free: 21.35 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/1.871, allocations: 12.75 MB / 0.6673 GB, free: 8.082 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007647/1.879, allocations: 367.6 kB / 0.6677 GB, free: 7.723 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/1.88, allocations: 348 kB / 0.668 GB, free: 7.383 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 411 * 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 (812): * Single equations (assignments): 803 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(10,53.0%) 46} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009619/1.89, allocations: 4.298 MB / 0.6722 GB, free: 3.07 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.892, allocations: 0.5396 MB / 0.6727 GB, free: 2.527 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02076/1.912, allocations: 7.263 MB / 0.6798 GB, free: 11.16 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-05/1.912, allocations: 19.92 kB / 0.6799 GB, free: 11.14 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.912, allocations: 0 / 0.6799 GB, free: 11.14 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004144/1.917, allocations: 1.138 MB / 0.681 GB, free: 9.977 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/1.918, allocations: 76.12 kB / 0.681 GB, free: 9.902 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004423/1.923, allocations: 219.8 kB / 0.6812 GB, free: 9.688 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009768/1.924, allocations: 327 kB / 0.6816 GB, free: 9.367 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02309/1.947, allocations: 6.906 MB / 0.6883 GB, free: 2.488 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3105/2.257, allocations: 8.496 MB / 0.6966 GB, free: 131.7 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006198/2.264, allocations: 2.55 MB / 0.6991 GB, free: 131.7 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.008347/2.272, allocations: 3.422 MB / 0.7024 GB, free: 130.7 MB / 442.8 MB Notification: Performance of Backend: time 1.273e-06/2.272, allocations: 0 / 0.7024 GB, free: 130.7 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01589/2.288, allocations: 5.979 MB / 0.7083 GB, free: 128.1 MB / 442.8 MB Notification: Performance of SimCode: time 0.05173/2.34, allocations: 24.84 MB / 0.7325 GB, free: 114.6 MB / 442.8 MB Notification: Performance of Templates: time 0.2357/2.576, allocations: 92.23 MB / 0.8226 GB, free: 34.06 MB / 442.8 MB