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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|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|vfController.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.000377, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09126, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.02832/0.1196, allocations: 16.38 MB / 325.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.1347, allocations: 5.664 MB / 331.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/0.1386, allocations: 103.5 kB / 331.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005844/0.1445, allocations: 1.006 MB / 332.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.1547, allocations: 1.675 MB / 333.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005369/0.1601, allocations: 0.8242 MB / 334.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01334/0.1734, allocations: 4.1 MB / 338.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.1849, allocations: 3.549 MB / 342.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005392/0.1903, allocations: 1.895 MB / 344.3 MB, free: 13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007933/0.1983, allocations: 2.401 MB / 346.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002248/0.2006, allocations: 320 kB / 347 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.2049, allocations: 0.5309 MB / 347.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003573/0.2085, allocations: 1.308 MB / 348.8 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003327/0.2119, allocations: 1.116 MB / 349.9 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02054/0.2325, allocations: 8.255 MB / 358.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.2326, allocations: 4 kB / 358.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2326, allocations: 7.938 kB / 358.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003269/0.233, allocations: 0 / 358.2 MB, free: 15.02 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: 1340 * Number of variables: 1340 Notification: Performance of Generate backend data structure: time 0.03266/0.2656, allocations: 5.525 MB / 363.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.2657, allocations: 12.03 kB / 363.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.2786, allocations: 1.008 MB / 364.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/0.2942, allocations: 3.193 MB / 367.9 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008178/0.2951, allocations: 386.2 kB / 368.3 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002756/0.2978, allocations: 0.4998 MB / 368.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2832/0.5812, allocations: 6.648 MB / 375.5 MB, free: 53.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002281/0.5814, allocations: 10.77 kB / 375.5 MB, free: 53.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001246/0.5827, allocations: 215.6 kB / 375.7 MB, free: 52.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003751/0.5831, allocations: 240.5 kB / 375.9 MB, free: 52.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0194/0.6025, allocations: 5.676 MB / 381.6 MB, free: 50.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05211/0.6547, allocations: 21.03 MB / 402.6 MB, free: 36.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.666, allocations: 8.477 MB / 411.1 MB, free: 28.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01372/0.6798, allocations: 4.938 MB / 416 MB, free: 23.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.6799, allocations: 60.5 kB / 416.1 MB, free: 23.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=216): time 5.57e-06/0.6799, allocations: 0 / 416.1 MB, free: 23.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.03858/0.7185, allocations: 11.68 MB / 427.8 MB, free: 11.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.7186, allocations: 73.41 kB / 427.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005367/0.724, allocations: 2.788 MB / 430.6 MB, free: 8.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004739/0.7245, allocations: 65.7 kB / 430.7 MB, free: 8.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00169/0.7262, allocations: 2.317 MB / 433 MB, free: 6.539 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009739/0.7272, allocations: 0.8189 MB / 433.8 MB, free: 5.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.7275, allocations: 64 kB / 433.9 MB, free: 5.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.7277, allocations: 428.2 kB / 434.3 MB, free: 5.238 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/0.7311, allocations: 1.329 MB / 435.6 MB, free: 3.906 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/0.7351, allocations: 2.2 MB / 437.8 MB, free: 1.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/0.7396, allocations: 1.709 MB / 439.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.214e-05/0.7397, allocations: 8 kB / 439.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01505/0.7547, allocations: 4.612 MB / 444.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.7548, allocations: 24.08 kB / 444.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.524e-05/0.7549, allocations: 24 kB / 444.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/0.7579, allocations: 0.6685 MB / 444.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00548/0.7634, allocations: 0.7097 MB / 445.6 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.7807, allocations: 9.517 MB / 455.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003886/0.7846, allocations: 175.7 kB / 455.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005831/0.7852, allocations: 132 kB / 455.4 MB, free: 15.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 (350): * Single equations (assignments): 344 * 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 {(6,75.0%) 19,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004288/0.7895, allocations: 1.516 MB / 456.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/0.7906, allocations: 312.2 kB / 457.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.8034, allocations: 4.142 MB / 461.4 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.741e-05/0.8035, allocations: 11.92 kB / 461.4 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.8036, allocations: 7.984 kB / 461.4 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002504/0.8061, allocations: 0.6649 MB / 462.1 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/0.8072, allocations: 55.98 kB / 462.1 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/0.8105, allocations: 151.8 kB / 462.3 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007251/0.8113, allocations: 189.7 kB / 462.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0159/0.8272, allocations: 4.082 MB / 466.5 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01324/0.8405, allocations: 4.836 MB / 471.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003826/0.8443, allocations: 1.386 MB / 472.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004843/0.8492, allocations: 1.876 MB / 474.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of Backend: time 1.824e-06/0.8493, allocations: 0 / 474.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01063/0.8599, allocations: 3.13 MB / 477.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of SimCode: time 0.02889/0.8889, allocations: 11.7 MB / 489.5 MB, free: 12.81 MB / 378.7 MB Notification: Performance of Templates: time 0.4078/1.297, allocations: 48.9 MB / 0.5257 GB, free: 139.4 MB / 410.7 MB