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.SMPM_Inverter_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.SMPM_Inverter_MultiPhase,tolerance=1e-05,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.strayReluctance.port_p.Phi.im|smpm3.stator.strayReluctance.port_p.Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x|vfController3.x",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.673/1.673, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 12 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07677/0.07712, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.03126/0.1084, allocations: 19.33 MB / 292 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.1239, allocations: 6.283 MB / 298.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003548/0.1275, allocations: 135.4 kB / 298.4 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004968/0.1325, allocations: 1.216 MB / 299.6 MB, free: 500 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2169/0.3494, allocations: 1.81 MB / 301.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004639/0.3541, allocations: 0.983 MB / 302.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01344/0.3676, allocations: 5.646 MB / 308 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.3788, allocations: 5.143 MB / 313.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005796/0.3846, allocations: 2.552 MB / 315.7 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007228/0.3919, allocations: 3.059 MB / 318.8 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002432/0.3944, allocations: 450.9 kB / 319.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.3985, allocations: 0.5645 MB / 319.8 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002824/0.4014, allocations: 1.582 MB / 321.4 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003399/0.4048, allocations: 1.532 MB / 322.9 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.4196, allocations: 11.59 MB / 334.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4196, allocations: 0 / 334.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4197, allocations: 2.406 kB / 334.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0003862/0.4201, allocations: 0 / 334.5 MB, free: 15.7 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: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.03093/0.451, allocations: 7.449 MB / 341.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4511, allocations: 8.031 kB / 342 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009194/0.4603, allocations: 1.257 MB / 343.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.4731, allocations: 4.27 MB / 347.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007224/0.4739, allocations: 0.4964 MB / 348 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002556/0.4764, allocations: 0.6705 MB / 348.6 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02725/0.5037, allocations: 8.983 MB / 357.6 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/0.504, allocations: 7.906 kB / 357.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/0.5051, allocations: 283.7 kB / 357.9 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004406/0.5056, allocations: 321.7 kB / 358.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.5282, allocations: 7.343 MB / 365.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06636/0.5946, allocations: 27.56 MB / 393.1 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009787/0.6044, allocations: 5.433 MB / 398.6 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.6047, allocations: 37.81 kB / 398.6 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.197e-05/0.6048, allocations: 64.64 kB / 398.7 MB, free: 4 kB / 314.7 MB Notification: Performance of pre-optimization done (n=264): time 6.102e-06/0.6048, allocations: 0 / 398.7 MB, free: 4 kB / 314.7 MB Notification: Performance of matching and sorting (n=310): time 0.04675/0.6516, allocations: 13.52 MB / 412.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.6517, allocations: 87.92 kB / 412.3 MB, free: 2.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007015/0.6587, allocations: 3.358 MB / 415.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005117/0.6592, allocations: 77.7 kB / 415.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002981/0.6622, allocations: 3.009 MB / 418.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001408/0.6637, allocations: 1.053 MB / 419.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.664, allocations: 76 kB / 419.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000301/0.6643, allocations: 449.9 kB / 420.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/0.6686, allocations: 1.588 MB / 421.9 MB, free: 8.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005133/0.6738, allocations: 2.619 MB / 424.5 MB, free: 5.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005289/0.6791, allocations: 2.085 MB / 426.6 MB, free: 3.352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/0.6792, allocations: 12 kB / 426.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.436/1.115, allocations: 5.621 MB / 432.2 MB, free: 97.18 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/1.115, allocations: 18.69 kB / 432.2 MB, free: 97.18 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.898e-05/1.115, allocations: 31.84 kB / 432.3 MB, free: 97.18 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004017/1.119, allocations: 0.9202 MB / 433.2 MB, free: 97.11 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005766/1.125, allocations: 0.7837 MB / 434 MB, free: 97.11 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/1.148, allocations: 14.92 MB / 448.9 MB, free: 86.13 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/1.152, allocations: 164.6 kB / 449 MB, free: 86.07 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000475/1.153, allocations: 153.6 kB / 449.2 MB, free: 86.04 MB / 346.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * 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 (408): * Single equations (assignments): 400 * 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,93.8%) 17,(1,100.0%) 1,(1,100.0%) 5,(4,93.8%) 17,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004947/1.158, allocations: 2.123 MB / 451.3 MB, free: 84.96 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.159, allocations: 394.1 kB / 451.7 MB, free: 84.96 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.17, allocations: 4.939 MB / 456.6 MB, free: 82.7 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/1.171, allocations: 17.17 kB / 456.7 MB, free: 82.7 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.171, allocations: 0 / 456.7 MB, free: 82.7 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002316/1.173, allocations: 0.8045 MB / 457.5 MB, free: 82.36 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009152/1.174, allocations: 66.72 kB / 457.5 MB, free: 82.31 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.177, allocations: 141.6 kB / 457.7 MB, free: 82.27 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/1.177, allocations: 248.5 kB / 457.9 MB, free: 82.25 MB / 346.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0164/1.194, allocations: 5.173 MB / 463.1 MB, free: 80.37 MB / 346.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01239/1.206, allocations: 5.91 MB / 469 MB, free: 77.91 MB / 346.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003604/1.21, allocations: 1.755 MB / 470.7 MB, free: 77.18 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.004442/1.214, allocations: 2.274 MB / 473 MB, free: 76.2 MB / 346.8 MB Notification: Performance of Backend: time 6.11e-07/1.214, allocations: 0 / 473 MB, free: 76.2 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.01022/1.225, allocations: 4.021 MB / 477 MB, free: 72.41 MB / 346.8 MB Notification: Performance of SimCode: time 0.02944/1.254, allocations: 15.6 MB / 492.6 MB, free: 56.77 MB / 346.8 MB Notification: Performance of Templates: time 0.1527/1.407, allocations: 60.46 MB / 0.5401 GB, free: 12.28 MB / 362.8 MB