Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 2.431/2.431, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005165/0.1124, allocations: 3.073 MB / 312.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.1158, allocations: 1.294 MB / 313.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.1162, allocations: 12 kB / 313.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.1167, allocations: 119.3 kB / 313.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.1187, allocations: 478.6 kB / 314 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.12, allocations: 355 kB / 314.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008392/0.1209, allocations: 339.3 kB / 314.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.1229, allocations: 0.6841 MB / 315.4 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.1234, allocations: 183.3 kB / 315.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.1238, allocations: 235.1 kB / 315.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-05/0.1239, allocations: 24 kB / 315.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.1245, allocations: 147.8 kB / 316 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.1246, allocations: 83.7 kB / 316 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.1248, allocations: 101.5 kB / 316.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1258, allocations: 0.5223 MB / 316.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1259, allocations: 0 / 316.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1259, allocations: 3.938 kB / 316.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1259, allocations: 0 / 316.7 MB, free: 8.684 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003105/0.129, allocations: 0.8349 MB / 317.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.35e-05/0.1291, allocations: 8.031 kB / 317.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006513/0.1356, allocations: 0.5964 MB / 318.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.1364, allocations: 318.3 kB / 318.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.1365, allocations: 45.31 kB / 318.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.1366, allocations: 52 kB / 318.5 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.1385, allocations: 0.5609 MB / 319.1 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.1385, allocations: 3.906 kB / 319.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.1387, allocations: 28 kB / 319.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.1387, allocations: 16 kB / 319.1 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.1407, allocations: 0.6454 MB / 319.8 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005848/0.1466, allocations: 2.067 MB / 321.8 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004246/0.1509, allocations: 3.004 MB / 324.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.1512, allocations: 85.55 kB / 324.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.1513, allocations: 42.92 kB / 325 MB, free: 15.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 4.518e-06/0.1513, allocations: 0 / 325 MB, free: 15.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.003186/0.1545, allocations: 0.7705 MB / 325.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.1546, allocations: 59.83 kB / 325.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.1549, allocations: 206.4 kB / 326 MB, free: 14.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.155, allocations: 37.7 kB / 326 MB, free: 14.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.1552, allocations: 232.1 kB / 326.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.1554, allocations: 169.5 kB / 326.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1555, allocations: 16 kB / 326.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1557, allocations: 334.8 kB / 326.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.1563, allocations: 169 kB / 326.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006788/0.157, allocations: 285.9 kB / 327.2 MB, free: 13.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006836/0.1577, allocations: 204.7 kB / 327.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.1577, allocations: 4 kB / 327.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00191/0.1596, allocations: 0.5944 MB / 328 MB, free: 12.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.1597, allocations: 4 kB / 328 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.1597, allocations: 4 kB / 328 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.1603, allocations: 92.77 kB / 328.1 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009063/0.1612, allocations: 119.8 kB / 328.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.164, allocations: 1.659 MB / 329.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.1646, allocations: 59.42 kB / 329.9 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.1647, allocations: 20 kB / 330 MB, free: 10.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003551/0.1651, allocations: 173.7 kB / 330.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1652, allocations: 27.78 kB / 330.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.1672, allocations: 0.5707 MB / 330.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.1672, allocations: 7.984 kB / 330.7 MB, free: 9.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1672, allocations: 0 / 330.7 MB, free: 9.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.1674, allocations: 112.6 kB / 330.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.519e-05/0.1675, allocations: 12 kB / 330.9 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.1679, allocations: 23.98 kB / 330.9 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.1681, allocations: 36.38 kB / 330.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002039/0.1701, allocations: 0.5786 MB / 331.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001912/0.1721, allocations: 0.7597 MB / 332.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005485/0.1727, allocations: 179.3 kB / 332.4 MB, free: 7.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.1729, allocations: 139.2 kB / 332.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of Backend: time 6.61e-07/0.1729, allocations: 0 / 332.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00194/0.1749, allocations: 0.5973 MB / 333.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of SimCode: time 0.002243/0.1771, allocations: 1.429 MB / 334.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of Templates: time 0.01905/0.1962, allocations: 5.712 MB / 340.3 MB, free: 15.85 MB / 298.7 MB