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.SMR_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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.699/1.699, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.00034, allocations: 16 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07705/0.0774, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.03027/0.1077, allocations: 18.08 MB / 290.7 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.1223, allocations: 5.807 MB / 296.5 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00327/0.1256, allocations: 131.4 kB / 296.7 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004425/0.1301, allocations: 1.103 MB / 297.8 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007235/0.1374, allocations: 1.678 MB / 299.4 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2099/0.3473, allocations: 0.9159 MB / 300.4 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.3591, allocations: 5.341 MB / 305.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009477/0.3686, allocations: 5.018 MB / 310.7 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005584/0.3743, allocations: 2.432 MB / 313.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006689/0.381, allocations: 2.938 MB / 316.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00164/0.3827, allocations: 438.9 kB / 316.5 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.3859, allocations: 0.5474 MB / 317.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.3881, allocations: 1.526 MB / 318.6 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002832/0.3909, allocations: 1.473 MB / 320.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01345/0.4044, allocations: 11.2 MB / 331.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4045, allocations: 0 / 331.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4045, allocations: 0 / 331.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000352/0.4048, allocations: 4 kB / 331.3 MB, free: 1.426 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.02813/0.433, allocations: 7.141 MB / 338.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4331, allocations: 16.03 kB / 338.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008591/0.4417, allocations: 1.218 MB / 339.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.453, allocations: 4.075 MB / 343.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004794/0.4535, allocations: 493 kB / 344.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002037/0.4556, allocations: 0.6489 MB / 344.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02514/0.4807, allocations: 8.699 MB / 353.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.481, allocations: 7.938 kB / 353.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.482, allocations: 266.3 kB / 353.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004073/0.4824, allocations: 301.2 kB / 354.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/0.504, allocations: 7.155 MB / 361.3 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06329/0.5673, allocations: 26.5 MB / 387.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00972/0.5771, allocations: 5.361 MB / 393.1 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.5774, allocations: 37.73 kB / 393.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.716e-05/0.5775, allocations: 68.56 kB / 393.2 MB, free: 4.828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=254): time 5.921e-06/0.5775, allocations: 0 / 393.2 MB, free: 4.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=296): time 0.04607/0.6235, allocations: 13.2 MB / 406.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.6236, allocations: 85.73 kB / 406.5 MB, free: 7.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00659/0.6303, allocations: 3.17 MB / 409.7 MB, free: 4.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004926/0.6308, allocations: 77.7 kB / 409.7 MB, free: 4.078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.6335, allocations: 2.841 MB / 412.6 MB, free: 1.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001331/0.6349, allocations: 1.015 MB / 413.6 MB, free: 216 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.6352, allocations: 68 kB / 413.7 MB, free: 148 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003058/0.6355, allocations: 445.4 kB / 414.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004126/0.6396, allocations: 1.541 MB / 415.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/0.6445, allocations: 2.46 MB / 418.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/0.6495, allocations: 1.994 MB / 420.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/0.6495, allocations: 11.95 kB / 420.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=448) (initialization): time 0.01435/0.6639, allocations: 5.386 MB / 425.5 MB, free: 3.812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.664, allocations: 16 kB / 425.5 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.006e-05/0.664, allocations: 28 kB / 425.5 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/0.6678, allocations: 0.9058 MB / 426.4 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005226/0.673, allocations: 0.7332 MB / 427.2 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2443/0.9174, allocations: 14.72 MB / 441.9 MB, free: 89.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/0.9213, allocations: 146.3 kB / 442 MB, free: 89.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/0.9217, allocations: 142.5 kB / 442.2 MB, free: 89.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (382): * Single equations (assignments): 374 * 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%) 16,(1,100.0%) 1,(1,100.0%) 5,(4,93.8%) 16,(1,100.0%) 1,(3,77.8%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005047/0.9268, allocations: 2.064 MB / 444.2 MB, free: 88.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009889/0.9278, allocations: 370.1 kB / 444.6 MB, free: 88.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.9401, allocations: 4.771 MB / 449.4 MB, free: 86.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.969e-05/0.9402, allocations: 19.53 kB / 449.4 MB, free: 86.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.9402, allocations: 3.281 kB / 449.4 MB, free: 86.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/0.9426, allocations: 0.7728 MB / 450.2 MB, free: 86.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000871/0.9434, allocations: 64.33 kB / 450.2 MB, free: 86.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/0.9462, allocations: 132.7 kB / 450.4 MB, free: 86.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005894/0.9468, allocations: 245.5 kB / 450.6 MB, free: 86.06 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01598/0.9628, allocations: 5.045 MB / 455.7 MB, free: 84.26 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01202/0.9749, allocations: 5.715 MB / 461.4 MB, free: 81.91 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003581/0.9785, allocations: 1.704 MB / 463.1 MB, free: 81.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004216/0.9827, allocations: 2.153 MB / 465.2 MB, free: 80.38 MB / 346.7 MB Notification: Performance of Backend: time 5.81e-07/0.9828, allocations: 0 / 465.2 MB, free: 80.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01013/0.9929, allocations: 3.894 MB / 469.1 MB, free: 78.25 MB / 346.7 MB Notification: Performance of SimCode: time 0.028/1.021, allocations: 14.96 MB / 484.1 MB, free: 64.82 MB / 346.7 MB Notification: Performance of Templates: time 0.1409/1.162, allocations: 57.05 MB / 0.5284 GB, free: 7.75 MB / 346.7 MB