Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004976, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.0239/0.1293, allocations: 11.34 MB / 284 MB, free: 164 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2972/0.4266, allocations: 16.94 MB / 300.9 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.4289, allocations: 27.97 kB / 300.9 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004216/0.4332, allocations: 0.9758 MB / 301.9 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008454/0.4417, allocations: 2.05 MB / 304 MB, free: 8.434 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005249/0.447, allocations: 1.152 MB / 305.1 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01535/0.4623, allocations: 5.473 MB / 310.6 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009808/0.4634, allocations: 418.2 kB / 311 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.4654, allocations: 0.8248 MB / 311.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.4673, allocations: 0.9961 MB / 312.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.4676, allocations: 43.59 kB / 312.9 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006209/0.4738, allocations: 1.218 MB / 314.1 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000764/0.4746, allocations: 273.4 kB / 314.3 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.4761, allocations: 0.6263 MB / 315 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004834/0.481, allocations: 2.612 MB / 317.6 MB, free: 7.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.481, allocations: 1.75 kB / 317.6 MB, free: 7.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.481, allocations: 0 / 317.6 MB, free: 7.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.364e-05/0.4811, allocations: 4 kB / 317.6 MB, free: 7.066 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.007091/0.4882, allocations: 3.257 MB / 320.8 MB, free: 4.871 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4883, allocations: 11.88 kB / 320.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.4889, allocations: 397.7 kB / 321.2 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/0.494, allocations: 2.267 MB / 323.5 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.4941, allocations: 36.12 kB / 323.5 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.4943, allocations: 55.91 kB / 323.6 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.4963, allocations: 0.7488 MB / 324.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4963, allocations: 0 / 324.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.4964, allocations: 22.31 kB / 324.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.4965, allocations: 21.22 kB / 324.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.499, allocations: 0.8573 MB / 325.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00698/0.506, allocations: 3.068 MB / 328.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.5079, allocations: 0.6217 MB / 328.9 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04671/0.5547, allocations: 30.35 MB / 359.3 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.556, allocations: 382.9 kB / 359.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 4.098e-06/0.556, allocations: 3.938 kB / 359.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.004045/0.5601, allocations: 1.475 MB / 361.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.5601, allocations: 62.25 kB / 361.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/0.5653, allocations: 2.913 MB / 364.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.5654, allocations: 38.75 kB / 364.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.567, allocations: 1.485 MB / 365.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.5673, allocations: 176.4 kB / 365.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.5674, allocations: 16.88 kB / 365.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.5676, allocations: 340 kB / 366.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.5687, allocations: 265.9 kB / 366.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.5701, allocations: 0.6143 MB / 367 MB, free: 10.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.5713, allocations: 337.4 kB / 367.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.5713, allocations: 4 kB / 367.4 MB, free: 9.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003727/0.575, allocations: 1.264 MB / 368.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.5751, allocations: 12.84 kB / 368.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/0.5753, allocations: 87.98 kB / 368.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.276e-05/0.5753, allocations: 20 kB / 368.7 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.5767, allocations: 210.8 kB / 368.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.664e-05/0.5767, allocations: 27.88 kB / 369 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.5784, allocations: 123.1 kB / 369.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.5786, allocations: 63.94 kB / 369.2 MB, free: 7.969 MB / 298.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.00118/0.5798, allocations: 448.9 kB / 369.6 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00058/0.5803, allocations: 383.3 kB / 370 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/0.5854, allocations: 1.268 MB / 371.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.5854, allocations: 4 kB / 371.2 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001607/0.5856, allocations: 71.98 kB / 371.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.5868, allocations: 468.2 kB / 371.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006361/0.5874, allocations: 8 kB / 371.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.5887, allocations: 39.97 kB / 371.8 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.5889, allocations: 59.94 kB / 371.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003019/0.592, allocations: 0.7328 MB / 372.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003957/0.5959, allocations: 1.407 MB / 374 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000998/0.597, allocations: 272.5 kB / 374.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003965/0.6009, allocations: 1.881 MB / 376.2 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of Backend: time 8.31e-07/0.601, allocations: 0 / 376.2 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004442/0.6054, allocations: 1.452 MB / 377.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of SimCode: time 0.0111/0.6165, allocations: 5.875 MB / 383.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of Templates: time 0.09294/0.7095, allocations: 31.55 MB / 415 MB, free: 10.12 MB / 346.7 MB