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.SMR_Inverter_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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09297, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.07562/0.1687, allocations: 19.16 MB / 328.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01944/0.1882, allocations: 6.27 MB / 334.5 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004434/0.1926, allocations: 131.4 kB / 334.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006352/0.199, allocations: 1.154 MB / 335.8 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.2102, allocations: 1.893 MB / 337.7 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006418/0.2167, allocations: 0.961 MB / 338.6 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0179/0.2346, allocations: 5.598 MB / 344.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01542/0.2501, allocations: 4.963 MB / 349.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007608/0.2577, allocations: 2.526 MB / 351.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.268, allocations: 3.128 MB / 354.9 MB, free: 2.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003064/0.2711, allocations: 444 kB / 355.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/0.2763, allocations: 0.5935 MB / 355.9 MB, free: 1.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00394/0.2804, allocations: 1.561 MB / 357.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003925/0.2843, allocations: 1.525 MB / 359 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02041/0.3048, allocations: 11.55 MB / 370.5 MB, free: 2.664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3048, allocations: 0 / 370.5 MB, free: 2.664 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3049, allocations: 0 / 370.5 MB, free: 2.664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003969/0.3053, allocations: 0 / 370.5 MB, free: 2.664 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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.3089/0.6141, allocations: 7.43 MB / 378 MB, free: 52.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.6142, allocations: 8.438 kB / 378 MB, free: 52.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/0.6287, allocations: 1.674 MB / 379.6 MB, free: 51.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/0.642, allocations: 4.345 MB / 384 MB, free: 48.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007996/0.6429, allocations: 0.5108 MB / 384.5 MB, free: 48.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002825/0.6457, allocations: 0.6817 MB / 385.2 MB, free: 48.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02958/0.6753, allocations: 9.308 MB / 394.5 MB, free: 42.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002763/0.6756, allocations: 3.906 kB / 394.5 MB, free: 42.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001941/0.6776, allocations: 286.1 kB / 394.8 MB, free: 42.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003689/0.678, allocations: 342 kB / 395.1 MB, free: 42.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/0.7014, allocations: 7.984 MB / 403.1 MB, free: 34.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06673/0.7682, allocations: 28.79 MB / 431.9 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02412/0.7923, allocations: 16.51 MB / 448.4 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/0.8117, allocations: 6.523 MB / 454.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.797e-05/0.8118, allocations: 72.73 kB / 455 MB, free: 12.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=278): time 9.127e-06/0.8118, allocations: 0 / 455 MB, free: 12.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=286): time 0.04324/0.8551, allocations: 11.87 MB / 466.9 MB, free: 152 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.8552, allocations: 81.66 kB / 466.9 MB, free: 56 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007412/0.8626, allocations: 3.234 MB / 470.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005856/0.8633, allocations: 73.7 kB / 470.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003184/0.8665, allocations: 2.976 MB / 473.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001618/0.8681, allocations: 0.985 MB / 474.2 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.8685, allocations: 72 kB / 474.3 MB, free: 8.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003499/0.8689, allocations: 441.4 kB / 474.7 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004281/0.8731, allocations: 1.459 MB / 476.2 MB, free: 6.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/0.8785, allocations: 2.439 MB / 478.6 MB, free: 3.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0055/0.8841, allocations: 1.912 MB / 480.5 MB, free: 2.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.373e-05/0.8842, allocations: 12 kB / 480.5 MB, free: 1.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=448) (initialization): time 0.01411/0.8983, allocations: 4.845 MB / 485.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.8984, allocations: 20 kB / 485.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.175e-05/0.8985, allocations: 28 kB / 485.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.9002, allocations: 436.9 kB / 485.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/0.9067, allocations: 0.8191 MB / 486.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.9179, allocations: 7.699 MB / 494.4 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/0.9223, allocations: 164 kB / 494.5 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006998/0.9231, allocations: 148 kB / 494.7 MB, free: 3.219 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * 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 (420): * Single equations (assignments): 414 * 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: 4 * 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: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005716/0.9288, allocations: 2.082 MB / 496.7 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/0.93, allocations: 367.5 kB / 497.1 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.9434, allocations: 4.463 MB / 0.4898 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.129e-05/0.9435, allocations: 11.95 kB / 0.4898 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.9435, allocations: 8 kB / 0.4898 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002971/0.9465, allocations: 0.7619 MB / 0.4906 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/0.9478, allocations: 60 kB / 0.4906 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003491/0.9513, allocations: 143.9 kB / 0.4908 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007899/0.9521, allocations: 233.9 kB / 0.491 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01698/0.9691, allocations: 4.508 MB / 0.4954 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.014/0.9832, allocations: 5.229 MB / 0.5005 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00394/0.9872, allocations: 1.539 MB / 0.502 GB, free: 15.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005431/0.9926, allocations: 2.187 MB / 0.5041 GB, free: 13.41 MB / 410.7 MB Notification: Performance of Backend: time 1.142e-06/0.9927, allocations: 0 / 0.5041 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009879/1.003, allocations: 3.218 MB / 0.5073 GB, free: 10.12 MB / 410.7 MB Notification: Performance of SimCode: time 0.2972/1.3, allocations: 15.08 MB / 0.522 GB, free: 133.4 MB / 410.7 MB Notification: Performance of Templates: time 0.1484/1.448, allocations: 56.68 MB / 0.5774 GB, free: 92.99 MB / 410.7 MB