Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.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.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09068, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.03265/0.1234, allocations: 19.23 MB / 328.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.1399, allocations: 6.263 MB / 334.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00426/0.1442, allocations: 127.4 kB / 334.7 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005497/0.1497, allocations: 1.197 MB / 335.9 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008705/0.1585, allocations: 1.947 MB / 337.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004872/0.1634, allocations: 0.9436 MB / 338.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01592/0.1793, allocations: 6.807 MB / 345.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/0.1911, allocations: 5.636 MB / 351.2 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006605/0.1977, allocations: 3.044 MB / 354.3 MB, free: 2.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008676/0.2065, allocations: 3.731 MB / 358 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002501/0.209, allocations: 0.5156 MB / 358.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004476/0.2135, allocations: 0.6717 MB / 359.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003772/0.2174, allocations: 1.908 MB / 361.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004008/0.2214, allocations: 1.833 MB / 362.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2821/0.5035, allocations: 13.88 MB / 376.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5036, allocations: 0 / 376.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5036, allocations: 0 / 376.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005246/0.5041, allocations: 0 / 376.8 MB, free: 22.3 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03801/0.5422, allocations: 8.933 MB / 385.7 MB, free: 19.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5422, allocations: 12.69 kB / 385.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01813/0.5604, allocations: 2.042 MB / 387.8 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01702/0.5774, allocations: 5.311 MB / 393.1 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000825/0.5783, allocations: 0.5908 MB / 393.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003765/0.5821, allocations: 0.7882 MB / 394.5 MB, free: 16.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03835/0.6205, allocations: 11.22 MB / 405.7 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000388/0.6209, allocations: 15.05 kB / 405.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003072/0.624, allocations: 330 kB / 406 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000428/0.6245, allocations: 377.5 kB / 406.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03062/0.6551, allocations: 9.861 MB / 416.3 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/0.7572, allocations: 34.63 MB / 450.9 MB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04708/0.8043, allocations: 19.87 MB / 470.8 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.035/0.8394, allocations: 7.964 MB / 478.7 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.8396, allocations: 77.2 kB / 478.8 MB, free: 7.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=343): time 1.537e-05/0.8396, allocations: 10.28 kB / 478.8 MB, free: 7.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=351): time 0.09562/0.9353, allocations: 16.25 MB / 495.1 MB, free: 6.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.9354, allocations: 90.17 kB / 495.2 MB, free: 6.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01447/0.9499, allocations: 4.282 MB / 499.5 MB, free: 2.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009262/0.9509, allocations: 81.7 kB / 499.5 MB, free: 2.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005286/0.9562, allocations: 3.496 MB / 0.4912 GB, free: 14.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002465/0.9587, allocations: 1.178 MB / 0.4924 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005564/0.9593, allocations: 80 kB / 0.4925 GB, free: 13.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004848/0.9598, allocations: 470.7 kB / 0.4929 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008249/0.9681, allocations: 1.921 MB / 0.4948 GB, free: 10.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009783/0.9779, allocations: 2.972 MB / 0.4977 GB, free: 7.535 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.9884, allocations: 2.433 MB / 0.5001 GB, free: 5.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.787e-05/0.9885, allocations: 8 kB / 0.5001 GB, free: 5.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=518) (initialization): time 0.02039/1.009, allocations: 6.323 MB / 0.5063 GB, free: 14.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/1.009, allocations: 16 kB / 0.5063 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.519e-05/1.009, allocations: 32 kB / 0.5063 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003864/1.013, allocations: 0.8658 MB / 0.5071 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007034/1.02, allocations: 0.8706 MB / 0.508 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.528/1.548, allocations: 15.52 MB / 0.5231 GB, free: 144.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/1.553, allocations: 196.4 kB / 0.5233 GB, free: 144.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008804/1.554, allocations: 164.5 kB / 0.5235 GB, free: 144.3 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (452): * Single equations (assignments): 443 * 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: 7 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0066/1.561, allocations: 2.597 MB / 0.526 GB, free: 143.9 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/1.562, allocations: 465.2 kB / 0.5265 GB, free: 143.9 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.579, allocations: 5.994 MB / 0.5323 GB, free: 141.4 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.979e-05/1.579, allocations: 16.59 kB / 0.5323 GB, free: 141.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.58, allocations: 0 / 0.5323 GB, free: 141.4 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003413/1.583, allocations: 0.9802 MB / 0.5333 GB, free: 141 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/1.585, allocations: 79.33 kB / 0.5334 GB, free: 140.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004483/1.589, allocations: 185.2 kB / 0.5335 GB, free: 140.9 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/1.59, allocations: 377.2 kB / 0.5339 GB, free: 140.8 MB / 426.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02185/1.612, allocations: 6.249 MB / 0.54 GB, free: 138.8 MB / 426.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01695/1.629, allocations: 6.904 MB / 0.5468 GB, free: 136.2 MB / 426.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004895/1.634, allocations: 2.096 MB / 0.5488 GB, free: 135.4 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006406/1.641, allocations: 2.927 MB / 0.5517 GB, free: 134.3 MB / 426.8 MB Notification: Performance of Backend: time 1.052e-06/1.641, allocations: 0 / 0.5517 GB, free: 134.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0118/1.652, allocations: 4.413 MB / 0.556 GB, free: 130.6 MB / 426.8 MB Notification: Performance of SimCode: time 0.03801/1.691, allocations: 18.26 MB / 0.5738 GB, free: 112.5 MB / 426.8 MB Notification: Performance of Templates: time 0.1918/1.882, allocations: 74.24 MB / 0.6463 GB, free: 38.19 MB / 426.8 MB