Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 12 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.105, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.02301/0.1281, allocations: 11.81 MB / 320.9 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02985/0.158, allocations: 17.04 MB / 337.9 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.1602, allocations: 27.81 kB / 337.9 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.1643, allocations: 0.9874 MB / 338.9 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008696/0.173, allocations: 2.099 MB / 341 MB, free: 312 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005507/0.1785, allocations: 1.149 MB / 342.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01617/0.1948, allocations: 5.582 MB / 347.8 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.1959, allocations: 448.9 kB / 348.2 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.1976, allocations: 0.8512 MB / 349.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.1992, allocations: 1.021 MB / 350.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.1995, allocations: 44 kB / 350.1 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005243/0.2048, allocations: 1.222 MB / 351.3 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006199/0.2054, allocations: 277.9 kB / 351.6 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.207, allocations: 0.656 MB / 352.3 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004962/0.2119, allocations: 2.789 MB / 355.1 MB, free: 2.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.212, allocations: 0 / 355.1 MB, free: 2.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.212, allocations: 0 / 355.1 MB, free: 2.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.297e-05/0.2121, allocations: 0 / 355.1 MB, free: 2.207 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.007532/0.2196, allocations: 3.385 MB / 358.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.2197, allocations: 8.031 kB / 358.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000651/0.2203, allocations: 422.9 kB / 358.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00565/0.226, allocations: 2.304 MB / 361.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.2261, allocations: 37 kB / 361.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.2263, allocations: 48 kB / 361.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.2285, allocations: 0.7499 MB / 362 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.2286, allocations: 0 / 362 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.2287, allocations: 23.98 kB / 362 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.2287, allocations: 20 kB / 362 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.2315, allocations: 0.8593 MB / 362.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007891/0.2394, allocations: 3.118 MB / 366 MB, free: 7.004 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.2415, allocations: 0.6219 MB / 366.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2992/0.5407, allocations: 30.35 MB / 397 MB, free: 42.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.5419, allocations: 385.5 kB / 397.4 MB, free: 42.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.997e-06/0.5419, allocations: 0 / 397.4 MB, free: 42.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.003896/0.5458, allocations: 1.493 MB / 398.9 MB, free: 41.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.5459, allocations: 64.5 kB / 398.9 MB, free: 41.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004987/0.5509, allocations: 3.069 MB / 402 MB, free: 40.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.5511, allocations: 36.3 kB / 402 MB, free: 40.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.5527, allocations: 1.581 MB / 403.6 MB, free: 38.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.5529, allocations: 167.8 kB / 403.8 MB, free: 38.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.553, allocations: 12 kB / 403.8 MB, free: 38.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.5531, allocations: 341.9 kB / 404.1 MB, free: 38.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000961/0.5541, allocations: 263 kB / 404.4 MB, free: 38.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.5552, allocations: 0.6171 MB / 405 MB, free: 37.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.5563, allocations: 348.2 kB / 405.3 MB, free: 37.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.5563, allocations: 2.938 kB / 405.3 MB, free: 37.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00314/0.5595, allocations: 1.281 MB / 406.6 MB, free: 36.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.5596, allocations: 8 kB / 406.6 MB, free: 36.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.5597, allocations: 83.92 kB / 406.7 MB, free: 36.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/0.5598, allocations: 20 kB / 406.7 MB, free: 36.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.561, allocations: 214.7 kB / 406.9 MB, free: 36.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.5611, allocations: 23.88 kB / 407 MB, free: 36.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.5628, allocations: 130.3 kB / 407.1 MB, free: 36.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.563, allocations: 68 kB / 407.1 MB, free: 35.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001093/0.5641, allocations: 445.5 kB / 407.6 MB, free: 35.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006512/0.5647, allocations: 402.9 kB / 408 MB, free: 35.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/0.5695, allocations: 1.285 MB / 409.3 MB, free: 33.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.5695, allocations: 0 / 409.3 MB, free: 33.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001299/0.5697, allocations: 71.98 kB / 409.3 MB, free: 33.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.5707, allocations: 491.9 kB / 409.8 MB, free: 33.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005998/0.5713, allocations: 11.95 kB / 409.8 MB, free: 33.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.5727, allocations: 44.7 kB / 409.9 MB, free: 33.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.5729, allocations: 59.94 kB / 409.9 MB, free: 33.19 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002754/0.5757, allocations: 0.7383 MB / 410.7 MB, free: 32.45 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003628/0.5794, allocations: 1.421 MB / 412.1 MB, free: 31 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009324/0.5804, allocations: 261.8 kB / 412.3 MB, free: 30.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003584/0.584, allocations: 1.984 MB / 414.3 MB, free: 28.77 MB / 314.7 MB Notification: Performance of Backend: time 1.142e-06/0.584, allocations: 0 / 414.3 MB, free: 28.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00403/0.588, allocations: 1.468 MB / 415.8 MB, free: 27.47 MB / 314.7 MB Notification: Performance of SimCode: time 0.01049/0.5986, allocations: 6.119 MB / 421.9 MB, free: 21.27 MB / 314.7 MB Notification: Performance of Templates: time 0.08807/0.6867, allocations: 32.29 MB / 454.2 MB, free: 5.008 MB / 330.7 MB