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.AIMS_Start_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.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003625, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.08985, allocations: 44.52 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.03788/0.1278, allocations: 22.7 MB / 331.8 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.1471, allocations: 7.541 MB / 339.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004683/0.1518, allocations: 159.2 kB / 339.5 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006316/0.1582, allocations: 1.48 MB / 341 MB, free: 384 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.1685, allocations: 2.352 MB / 343.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.174, allocations: 1.123 MB / 344.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01888/0.1929, allocations: 8.516 MB / 352.9 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01409/0.2071, allocations: 7.267 MB / 360.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00944/0.2166, allocations: 3.947 MB / 364.2 MB, free: 9.066 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01421/0.2308, allocations: 4.751 MB / 368.9 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003798/0.2347, allocations: 0.6641 MB / 369.6 MB, free: 3.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006556/0.2413, allocations: 0.824 MB / 370.4 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005724/0.2471, allocations: 2.465 MB / 372.9 MB, free: 344 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2757/0.5228, allocations: 2.316 MB / 375.2 MB, free: 21.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02365/0.5465, allocations: 17.68 MB / 392.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5466, allocations: 3.469 kB / 392.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5466, allocations: 5.344 kB / 392.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006705/0.5473, allocations: 0 / 392.9 MB, free: 14.91 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: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.04588/0.5932, allocations: 11.16 MB / 404 MB, free: 9.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.5932, allocations: 9.031 kB / 404 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01941/0.6127, allocations: 2.33 MB / 406.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02387/0.6366, allocations: 7.235 MB / 413.6 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/0.6376, allocations: 0.7428 MB / 414.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004234/0.6419, allocations: 0.9857 MB / 415.3 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04669/0.6886, allocations: 14.29 MB / 429.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005193/0.6892, allocations: 16.14 kB / 429.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003689/0.6929, allocations: 418.8 kB / 430 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007308/0.6937, allocations: 448.6 kB / 430.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04332/0.737, allocations: 12.51 MB / 443 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1314/0.8685, allocations: 44.29 MB / 487.3 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04125/0.9098, allocations: 25.06 MB / 0.5003 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03882/0.9486, allocations: 10.01 MB / 0.5101 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.9488, allocations: 86.08 kB / 0.5102 GB, free: 15.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=447): time 8.326e-06/0.9488, allocations: 0 / 0.5102 GB, free: 15.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=455): time 0.6092/1.558, allocations: 23.04 MB / 0.5327 GB, free: 144.5 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/1.558, allocations: 101.4 kB / 0.5328 GB, free: 144.5 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/1.57, allocations: 5.271 MB / 0.5379 GB, free: 142.6 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009586/1.571, allocations: 107.6 kB / 0.538 GB, free: 142.5 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004055/1.575, allocations: 4.401 MB / 0.5423 GB, free: 139.2 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002266/1.577, allocations: 1.516 MB / 0.5438 GB, free: 138 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008771/1.578, allocations: 98.88 kB / 0.5439 GB, free: 137.9 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003535/1.579, allocations: 0.5081 MB / 0.5444 GB, free: 137.5 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006295/1.585, allocations: 2.511 MB / 0.5469 GB, free: 136.6 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006912/1.592, allocations: 3.728 MB / 0.5505 GB, free: 134.2 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008017/1.6, allocations: 3.085 MB / 0.5535 GB, free: 132.9 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.271e-05/1.6, allocations: 11.81 kB / 0.5535 GB, free: 132.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=650) (initialization): time 0.03053/1.631, allocations: 8.425 MB / 0.5618 GB, free: 128.6 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.316e-05/1.631, allocations: 24.03 kB / 0.5618 GB, free: 128.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-05/1.631, allocations: 39.95 kB / 0.5618 GB, free: 128.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009677/1.641, allocations: 1.566 MB / 0.5633 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01214/1.653, allocations: 1.059 MB / 0.5644 GB, free: 126.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03342/1.686, allocations: 27.71 MB / 0.5914 GB, free: 97.41 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006978/1.693, allocations: 236 kB / 0.5917 GB, free: 97.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009884/1.694, allocations: 200 kB / 0.5919 GB, free: 96.98 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 (559): * Single equations (assignments): 543 * 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: 14 * 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: 14 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 25,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008779/1.703, allocations: 3.304 MB / 0.5951 GB, free: 93.67 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001792/1.705, allocations: 0.5789 MB / 0.5957 GB, free: 93.08 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02377/1.729, allocations: 8.264 MB / 0.6037 GB, free: 84.67 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.503e-05/1.729, allocations: 31.61 kB / 0.6038 GB, free: 84.64 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.729, allocations: 4 kB / 0.6038 GB, free: 84.64 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004786/1.734, allocations: 1.22 MB / 0.6049 GB, free: 83.39 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002006/1.736, allocations: 88 kB / 0.605 GB, free: 83.31 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005019/1.741, allocations: 255.8 kB / 0.6053 GB, free: 83.06 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/1.742, allocations: 490.7 kB / 0.6057 GB, free: 82.58 MB / 426.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02695/1.769, allocations: 8.316 MB / 0.6139 GB, free: 74.32 MB / 426.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02129/1.79, allocations: 8.917 MB / 0.6226 GB, free: 65.35 MB / 426.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005765/1.796, allocations: 2.729 MB / 0.6252 GB, free: 62.62 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.007395/1.804, allocations: 3.596 MB / 0.6287 GB, free: 59.05 MB / 426.8 MB Notification: Performance of Backend: time 1.754e-06/1.804, allocations: 0 / 0.6287 GB, free: 59.05 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01495/1.819, allocations: 6.127 MB / 0.6347 GB, free: 52.74 MB / 426.8 MB Notification: Performance of SimCode: time 0.04956/1.868, allocations: 23.45 MB / 0.6576 GB, free: 29.24 MB / 426.8 MB Notification: Performance of Templates: time 0.5789/2.447, allocations: 97.24 MB / 0.7526 GB, free: 78.44 MB / 426.8 MB