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.AIMC_DOL_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.AIMC_DOL_MultiPhase,tolerance=1e-05,outputFormat="mat",numberOfIntervals=15000,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.rotorCage.strayInductor.inductor.4..i|aimcM.rotorCage.strayInductor.inductor.5..i|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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.693/1.693, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 12 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09478, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.04926/0.1441, allocations: 18 MB / 290.6 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.1603, allocations: 5.751 MB / 296.4 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003906/0.1643, allocations: 123.4 kB / 296.5 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00509/0.1694, allocations: 1.115 MB / 297.6 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007803/0.1773, allocations: 1.721 MB / 299.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2161/0.3934, allocations: 0.9172 MB / 300.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01552/0.409, allocations: 6.586 MB / 306.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01512/0.4242, allocations: 5.758 MB / 312.6 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006867/0.4311, allocations: 2.986 MB / 315.6 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008316/0.4394, allocations: 3.61 MB / 319.2 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002722/0.4422, allocations: 0.5197 MB / 319.7 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004911/0.4472, allocations: 0.6587 MB / 320.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003809/0.451, allocations: 1.918 MB / 322.3 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004124/0.4552, allocations: 1.814 MB / 324.1 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02327/0.4785, allocations: 13.91 MB / 338 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4786, allocations: 0 / 338 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4786, allocations: 0 / 338 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000511/0.4791, allocations: 0 / 338 MB, free: 12.23 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2059 * Number of variables: 2059 Notification: Performance of Generate backend data structure: time 0.04413/0.5233, allocations: 8.773 MB / 346.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.5234, allocations: 8.031 kB / 346.8 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.5367, allocations: 1.533 MB / 348.3 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/0.5535, allocations: 5.106 MB / 353.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009934/0.5546, allocations: 0.5735 MB / 354 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003497/0.5581, allocations: 0.7692 MB / 354.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03837/0.5965, allocations: 10.76 MB / 365.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003614/0.5969, allocations: 11.84 kB / 365.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002218/0.5992, allocations: 326 kB / 365.9 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004689/0.5997, allocations: 343.7 kB / 366.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02987/0.6295, allocations: 9.076 MB / 375.3 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08679/0.7164, allocations: 32.76 MB / 408 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01501/0.7314, allocations: 8.242 MB / 416.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.7319, allocations: 42.72 kB / 416.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.381e-05/0.732, allocations: 81.27 kB / 416.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=351): time 7.093e-06/0.732, allocations: 4 kB / 416.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=411): time 0.5164/1.248, allocations: 19.49 MB / 435.9 MB, free: 95.99 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/1.249, allocations: 94.92 kB / 436 MB, free: 95.92 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/1.259, allocations: 4.234 MB / 440.2 MB, free: 94.36 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007589/1.259, allocations: 102.5 kB / 440.3 MB, free: 94.27 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002896/1.262, allocations: 3.355 MB / 443.7 MB, free: 91.73 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001657/1.264, allocations: 1.378 MB / 445.1 MB, free: 90.66 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000389/1.264, allocations: 89.16 kB / 445.1 MB, free: 90.59 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0002573/1.265, allocations: 480.1 kB / 445.6 MB, free: 90.21 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005626/1.27, allocations: 2.231 MB / 447.8 MB, free: 89.34 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00633/1.277, allocations: 3.182 MB / 451 MB, free: 87.36 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006585/1.283, allocations: 2.782 MB / 453.8 MB, free: 86.11 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.994e-05/1.283, allocations: 7.906 kB / 453.8 MB, free: 86.11 MB / 346.8 MB Notification: Performance of matching and sorting (n=558) (initialization): time 0.01842/1.302, allocations: 7.436 MB / 461.2 MB, free: 82.93 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/1.302, allocations: 15.44 kB / 461.3 MB, free: 82.93 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-05/1.302, allocations: 32.8 kB / 461.3 MB, free: 82.92 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005242/1.307, allocations: 1.486 MB / 462.8 MB, free: 82.41 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006331/1.314, allocations: 0.8529 MB / 463.6 MB, free: 82.33 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04027/1.354, allocations: 20.56 MB / 484.2 MB, free: 65.37 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007116/1.361, allocations: 179.8 kB / 484.4 MB, free: 65.19 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007335/1.362, allocations: 170.5 kB / 484.5 MB, free: 65.03 MB / 346.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * Number of states: 0 () * Number of discrete variables: 8 (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 (445): * Single equations (assignments): 437 * 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: 6 * 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: 6 {(4,100.0%) 27,(1,100.0%) 5,(1,100.0%) 1,(6,77.8%) 41,(1,100.0%) 1,(4,56.2%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008556/1.37, allocations: 2.664 MB / 487.2 MB, free: 62.35 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001783/1.372, allocations: 474.3 kB / 487.7 MB, free: 61.88 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02493/1.397, allocations: 7.342 MB / 495 MB, free: 54.4 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.028e-05/1.397, allocations: 19.92 kB / 495 MB, free: 54.38 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.397, allocations: 0 / 495 MB, free: 54.38 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00496/1.402, allocations: 1.081 MB / 496.1 MB, free: 53.27 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002253/1.405, allocations: 87.98 kB / 496.2 MB, free: 53.19 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007052/1.412, allocations: 183.9 kB / 496.4 MB, free: 53.01 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002032/1.414, allocations: 414.5 kB / 496.8 MB, free: 52.6 MB / 346.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04074/1.455, allocations: 7.793 MB / 0.4927 GB, free: 44.86 MB / 346.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03135/1.486, allocations: 8.413 MB / 0.501 GB, free: 36.38 MB / 346.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009186/1.495, allocations: 2.636 MB / 0.5035 GB, free: 33.74 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.01023/1.506, allocations: 2.91 MB / 0.5064 GB, free: 30.82 MB / 346.8 MB Notification: Performance of Backend: time 2.024e-06/1.506, allocations: 0 / 0.5064 GB, free: 30.82 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.02109/1.527, allocations: 5.147 MB / 0.5114 GB, free: 25.59 MB / 346.8 MB Notification: Performance of SimCode: time 0.03926/1.566, allocations: 18.9 MB / 0.5299 GB, free: 6.641 MB / 346.8 MB Notification: Performance of Templates: time 0.4482/2.014, allocations: 78.06 MB / 0.6061 GB, free: 100.9 MB / 378.8 MB