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.FourInverters.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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003649, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09193, allocations: 44.5 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02975/0.1217, allocations: 20.44 MB / 329.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03404/0.1558, allocations: 18.72 MB / 348.2 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00458/0.1605, allocations: 55.69 kB / 348.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005922/0.1664, allocations: 1.282 MB / 349.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.1789, allocations: 2.972 MB / 352.5 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006376/0.1854, allocations: 1.278 MB / 353.8 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.03146/0.2169, allocations: 10.71 MB / 364.5 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.2188, allocations: 0.7834 MB / 365.3 MB, free: 7.934 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.2221, allocations: 1.57 MB / 366.9 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003951/0.2261, allocations: 1.864 MB / 368.7 MB, free: 4.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.227, allocations: 76 kB / 368.8 MB, free: 4.406 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006698/0.2337, allocations: 1.253 MB / 370.1 MB, free: 3.152 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.235, allocations: 0.5078 MB / 370.6 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.2372, allocations: 1.182 MB / 371.8 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2908/0.5281, allocations: 4.643 MB / 376.4 MB, free: 23.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5281, allocations: 0 / 376.4 MB, free: 23.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.5281, allocations: 0 / 376.4 MB, free: 23.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003499/0.5285, allocations: 0 / 376.4 MB, free: 23.25 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.0166/0.5451, allocations: 5.868 MB / 382.3 MB, free: 19.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5452, allocations: 8.656 kB / 382.3 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.5476, allocations: 0.7504 MB / 383 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.5609, allocations: 4.304 MB / 387.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.5611, allocations: 67.69 kB / 387.4 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006133/0.5617, allocations: 99.08 kB / 387.5 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004134/0.5658, allocations: 1.318 MB / 388.8 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.5659, allocations: 1.25 kB / 388.8 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.5661, allocations: 36.41 kB / 388.8 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-05/0.5662, allocations: 41.56 kB / 388.9 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005247/0.5715, allocations: 1.523 MB / 390.4 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/0.5898, allocations: 5.643 MB / 396.1 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.5929, allocations: 1.021 MB / 397.1 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08484/0.6778, allocations: 60.25 MB / 457.3 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001717/0.6796, allocations: 0.5739 MB / 457.9 MB, free: 6.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 5.611e-06/0.6796, allocations: 0 / 457.9 MB, free: 6.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.006881/0.6865, allocations: 2.578 MB / 460.5 MB, free: 3.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.6866, allocations: 66.84 kB / 460.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/0.6995, allocations: 5.552 MB / 466.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.6999, allocations: 39.77 kB / 466.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003701/0.7036, allocations: 2.94 MB / 469.1 MB, free: 14.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006875/0.7043, allocations: 299.4 kB / 469.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.7045, allocations: 35.06 kB / 469.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7047, allocations: 363.3 kB / 469.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.7062, allocations: 416.2 kB / 470.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.7082, allocations: 1.1 MB / 471.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.7101, allocations: 0.5659 MB / 471.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.7102, allocations: 10.81 kB / 471.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006894/0.7171, allocations: 2.244 MB / 474.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.7172, allocations: 16 kB / 474.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003599/0.7175, allocations: 163.8 kB / 474.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-05/0.7176, allocations: 36 kB / 474.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.72, allocations: 368.4 kB / 474.7 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-05/0.7201, allocations: 49.31 kB / 474.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/0.7242, allocations: 201.6 kB / 474.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005607/0.7248, allocations: 128 kB / 475 MB, free: 9.531 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.002813/0.7276, allocations: 0.7125 MB / 475.7 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/0.7296, allocations: 0.7218 MB / 476.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00986/0.7395, allocations: 2.244 MB / 478.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.7396, allocations: 3.984 kB / 478.7 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002969/0.7399, allocations: 139.9 kB / 478.8 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003491/0.7434, allocations: 0.816 MB / 479.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002287/0.7457, allocations: 14.52 kB / 479.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003314/0.7491, allocations: 47.97 kB / 479.7 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004821/0.7496, allocations: 96.47 kB / 479.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006973/0.7566, allocations: 1.102 MB / 480.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01082/0.7675, allocations: 2.245 MB / 483.2 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00223/0.7698, allocations: 416.7 kB / 483.6 MB, free: 0.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01442/0.7842, allocations: 3.567 MB / 487.1 MB, free: 13.42 MB / 394.7 MB Notification: Performance of Backend: time 2.094e-06/0.7843, allocations: 0 / 487.1 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01117/0.7955, allocations: 2.301 MB / 489.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of SimCode: time 0.0334/0.8289, allocations: 10.83 MB / 0.4885 GB, free: 492 kB / 394.7 MB Notification: Performance of Templates: time 0.4657/1.295, allocations: 53.97 MB / 0.5412 GB, free: 153.7 MB / 426.7 MB