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_MTPA.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_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") Notification: Performance of loadModel(Modelica): time 1.794/1.794, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003319, allocations: 11.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.09144, allocations: 44.51 MB / 309.1 MB, free: 340 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA): time 0.03881/0.1303, allocations: 24.25 MB / 333.3 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02071/0.1511, allocations: 8.033 MB / 341.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005108/0.1562, allocations: 175.4 kB / 341.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007462/0.1637, allocations: 1.726 MB / 343.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.1763, allocations: 2.933 MB / 346.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006779/0.1831, allocations: 1.436 MB / 347.6 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01911/0.2022, allocations: 8.441 MB / 356.1 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2925/0.4948, allocations: 17.25 MB / 373.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007753/0.5026, allocations: 3.715 MB / 377 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.5133, allocations: 4.362 MB / 381.4 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003302/0.5167, allocations: 0.6075 MB / 382 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006091/0.5228, allocations: 0.892 MB / 382.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004208/0.527, allocations: 1.905 MB / 384.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004496/0.5316, allocations: 2.042 MB / 386.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02136/0.553, allocations: 17.77 MB / 404.6 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.553, allocations: 0 / 404.6 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.553, allocations: 0 / 404.6 MB, free: 8.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005219/0.5536, allocations: 0 / 404.6 MB, free: 8.125 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.03853/0.5921, allocations: 10.31 MB / 414.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5922, allocations: 16.97 kB / 415 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06918/0.6614, allocations: 8.514 MB / 423.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01791/0.6793, allocations: 5.835 MB / 429.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008553/0.6802, allocations: 0.7392 MB / 430 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004395/0.6846, allocations: 0.9755 MB / 431 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05154/0.7362, allocations: 16.41 MB / 447.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000378/0.7366, allocations: 11.28 kB / 447.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00324/0.7399, allocations: 412.1 kB / 447.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009527/0.7408, allocations: 0.6106 MB / 448.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04806/0.7889, allocations: 15.87 MB / 464.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.124/0.913, allocations: 52.21 MB / 0.5044 GB, free: 8.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5773/1.49, allocations: 52.19 MB / 0.5554 GB, free: 85.63 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02535/1.516, allocations: 9.607 MB / 0.5648 GB, free: 83.16 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/1.516, allocations: 69.28 kB / 0.5648 GB, free: 83.1 MB / 426.8 MB Notification: Performance of pre-optimization done (n=281): time 6.433e-06/1.516, allocations: 0 / 0.5648 GB, free: 83.1 MB / 426.8 MB Notification: Performance of matching and sorting (n=289): time 0.04007/1.556, allocations: 12.85 MB / 0.5774 GB, free: 77.5 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/1.556, allocations: 81.22 kB / 0.5775 GB, free: 77.43 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007453/1.563, allocations: 4.003 MB / 0.5814 GB, free: 75.9 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00053/1.564, allocations: 69.48 kB / 0.5815 GB, free: 75.83 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003275/1.567, allocations: 4.621 MB / 0.586 GB, free: 72.35 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.569, allocations: 1.024 MB / 0.587 GB, free: 71.58 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005245/1.569, allocations: 123.1 kB / 0.5871 GB, free: 71.48 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000348/1.57, allocations: 0.5487 MB / 0.5876 GB, free: 71.07 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005387/1.575, allocations: 2.467 MB / 0.59 GB, free: 70.16 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006923/1.582, allocations: 5.589 MB / 0.5955 GB, free: 64.99 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007873/1.59, allocations: 3.76 MB / 0.5992 GB, free: 63.31 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.884e-05/1.59, allocations: 30.66 kB / 0.5992 GB, free: 63.31 MB / 426.8 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02103/1.611, allocations: 8.786 MB / 0.6078 GB, free: 59.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/1.611, allocations: 52 kB / 0.6078 GB, free: 59.14 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/1.611, allocations: 110.1 kB / 0.6079 GB, free: 59.04 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003405/1.615, allocations: 0.8568 MB / 0.6088 GB, free: 58.37 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008578/1.623, allocations: 1.421 MB / 0.6101 GB, free: 57.14 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/1.638, allocations: 7.164 MB / 0.6171 GB, free: 50.79 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006409/1.644, allocations: 352 kB / 0.6175 GB, free: 50.48 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000834/1.645, allocations: 354 kB / 0.6178 GB, free: 50.15 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 496 * 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 (742): * Single equations (assignments): 741 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007865/1.653, allocations: 3.681 MB / 0.6214 GB, free: 46.91 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/1.654, allocations: 411 kB / 0.6218 GB, free: 46.5 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.667, allocations: 5.182 MB / 0.6269 GB, free: 41.29 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/1.667, allocations: 15.94 kB / 0.6269 GB, free: 41.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.667, allocations: 0 / 0.6269 GB, free: 41.27 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/1.669, allocations: 0.8316 MB / 0.6277 GB, free: 40.42 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000868/1.67, allocations: 56 kB / 0.6277 GB, free: 40.36 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/1.673, allocations: 164.9 kB / 0.6279 GB, free: 40.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005254/1.674, allocations: 218.2 kB / 0.6281 GB, free: 39.99 MB / 426.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01266/1.686, allocations: 4.76 MB / 0.6328 GB, free: 35.24 MB / 426.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01338/1.7, allocations: 6.057 MB / 0.6387 GB, free: 29.11 MB / 426.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006399/1.706, allocations: 1.866 MB / 0.6405 GB, free: 27.23 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006842/1.713, allocations: 2.614 MB / 0.643 GB, free: 24.61 MB / 426.8 MB Notification: Performance of Backend: time 1.282e-06/1.713, allocations: 0 / 0.643 GB, free: 24.61 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01219/1.725, allocations: 4.79 MB / 0.6477 GB, free: 19.88 MB / 426.8 MB Notification: Performance of SimCode: time 0.03765/1.763, allocations: 18.98 MB / 0.6663 GB, free: 0.8516 MB / 426.8 MB Notification: Performance of Templates: time 0.453/2.216, allocations: 65.69 MB / 0.7304 GB, free: 154.1 MB / 458.8 MB