Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 171.2 MB / 186.7 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.07922, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.03565/0.1149, allocations: 21.13 MB / 293.8 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2332/0.3481, allocations: 6.876 MB / 300.6 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005036/0.3532, allocations: 148.9 kB / 300.8 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006235/0.3595, allocations: 1.386 MB / 302.2 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009682/0.3692, allocations: 2.083 MB / 304.3 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005813/0.3751, allocations: 1.095 MB / 305.4 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01821/0.3933, allocations: 8.086 MB / 313.4 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01588/0.4093, allocations: 7.211 MB / 320.7 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008727/0.4181, allocations: 3.752 MB / 324.4 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.4284, allocations: 4.486 MB / 328.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003403/0.4319, allocations: 0.6406 MB / 329.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006094/0.438, allocations: 0.7691 MB / 330.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00458/0.4426, allocations: 2.354 MB / 332.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005197/0.4479, allocations: 2.217 MB / 334.9 MB, free: 484 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0336/0.4815, allocations: 16.93 MB / 351.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.4816, allocations: 0 / 351.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.4816, allocations: 7.938 kB / 351.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0006335/0.4823, allocations: 0 / 351.8 MB, free: 15.61 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.06898/0.5513, allocations: 10.74 MB / 362.6 MB, free: 4.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/0.5514, allocations: 8.031 kB / 362.6 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02067/0.5721, allocations: 1.751 MB / 364.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03494/0.6071, allocations: 6.738 MB / 371 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001575/0.6087, allocations: 0.6984 MB / 371.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005207/0.6139, allocations: 0.9217 MB / 372.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04982/0.6638, allocations: 13.22 MB / 385.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004699/0.6643, allocations: 19.89 kB / 385.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002909/0.6673, allocations: 388 kB / 386.3 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005597/0.6679, allocations: 395 kB / 386.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03783/0.7057, allocations: 11.15 MB / 397.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5604/1.266, allocations: 40.7 MB / 438.5 MB, free: 78.47 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/1.283, allocations: 9.065 MB / 447.6 MB, free: 74.88 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/1.284, allocations: 48.62 kB / 447.6 MB, free: 74.88 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.652e-05/1.284, allocations: 89.02 kB / 447.7 MB, free: 74.84 MB / 346.8 MB Notification: Performance of pre-optimization done (n=431): time 8.656e-06/1.284, allocations: 1.75 kB / 447.7 MB, free: 74.84 MB / 346.8 MB Notification: Performance of matching and sorting (n=439): time 0.08652/1.37, allocations: 22.34 MB / 470.1 MB, free: 67.02 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.37, allocations: 99.41 kB / 470.2 MB, free: 66.95 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/1.381, allocations: 5.216 MB / 475.4 MB, free: 64.23 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008514/1.382, allocations: 103.3 kB / 475.5 MB, free: 64.14 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003515/1.386, allocations: 4.161 MB / 479.6 MB, free: 60.52 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00186/1.387, allocations: 1.456 MB / 481.1 MB, free: 59.26 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/1.388, allocations: 95.72 kB / 481.2 MB, free: 59.19 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.00028/1.388, allocations: 0.4919 MB / 481.7 MB, free: 58.74 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006328/1.395, allocations: 2.405 MB / 484.1 MB, free: 57.46 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007334/1.402, allocations: 3.504 MB / 487.6 MB, free: 54.8 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007956/1.41, allocations: 2.95 MB / 490.5 MB, free: 53.19 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.193e-05/1.41, allocations: 17.81 kB / 490.6 MB, free: 53.19 MB / 346.8 MB Notification: Performance of matching and sorting (n=616) (initialization): time 0.01954/1.43, allocations: 8.099 MB / 498.7 MB, free: 45.92 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/1.43, allocations: 21.09 kB / 498.7 MB, free: 45.9 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.714e-05/1.43, allocations: 32 kB / 498.7 MB, free: 45.87 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005771/1.435, allocations: 1.568 MB / 0.4885 GB, free: 44.26 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007357/1.443, allocations: 1.01 MB / 0.4895 GB, free: 43.25 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03189/1.475, allocations: 27.8 MB / 0.5167 GB, free: 13.62 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/1.481, allocations: 212.1 kB / 0.5169 GB, free: 13.41 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006151/1.481, allocations: 191.9 kB / 0.5171 GB, free: 13.22 MB / 346.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: 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,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (525): * Single equations (assignments): 509 * 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%) 1,(1,100.0%) 5,(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.007032/1.488, allocations: 3.167 MB / 0.5202 GB, free: 10.04 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/1.49, allocations: 0.5674 MB / 0.5207 GB, free: 9.469 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0192/1.509, allocations: 7.961 MB / 0.5285 GB, free: 1.359 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-05/1.509, allocations: 19.92 kB / 0.5285 GB, free: 1.34 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.509, allocations: 4 kB / 0.5285 GB, free: 1.336 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00387/1.513, allocations: 1.193 MB / 0.5297 GB, free: 120 kB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/1.514, allocations: 83.95 kB / 0.5298 GB, free: 36 kB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004801/1.519, allocations: 245.5 kB / 0.53 GB, free: 15.8 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0014/1.521, allocations: 466.6 kB / 0.5304 GB, free: 15.34 MB / 362.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03026/1.551, allocations: 8.136 MB / 0.5384 GB, free: 7.262 MB / 362.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02369/1.575, allocations: 8.72 MB / 0.5469 GB, free: 14.49 MB / 378.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00709/1.582, allocations: 2.65 MB / 0.5495 GB, free: 11.83 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.008926/1.591, allocations: 3.566 MB / 0.553 GB, free: 8.289 MB / 378.8 MB Notification: Performance of Backend: time 1.442e-06/1.591, allocations: 0 / 0.553 GB, free: 8.289 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.01641/1.607, allocations: 5.962 MB / 0.5588 GB, free: 2.137 MB / 378.8 MB Notification: Performance of SimCode: time 0.3157/1.923, allocations: 22.58 MB / 0.5808 GB, free: 108.6 MB / 378.8 MB Notification: Performance of Templates: time 0.264/2.187, allocations: 93.03 MB / 0.6717 GB, free: 29.94 MB / 378.8 MB