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.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005377, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1143, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.007165/0.1215, allocations: 3.069 MB / 312.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00407/0.1256, allocations: 1.294 MB / 313.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003744/0.126, allocations: 8 kB / 313.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006247/0.1267, allocations: 123.3 kB / 313.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.129, allocations: 478.6 kB / 314 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1306, allocations: 355 kB / 314.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008396/0.1314, allocations: 335.3 kB / 314.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002253/0.1337, allocations: 0.6213 MB / 315.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.1342, allocations: 175.3 kB / 315.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.1348, allocations: 239.1 kB / 315.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.1349, allocations: 20 kB / 315.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.1356, allocations: 151.8 kB / 315.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.1357, allocations: 79.72 kB / 316 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.1359, allocations: 109.5 kB / 316.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.1371, allocations: 0.5067 MB / 316.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1371, allocations: 0 / 316.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1371, allocations: 0 / 316.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1371, allocations: 0 / 316.6 MB, free: 8.773 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.004173/0.1413, allocations: 0.8426 MB / 317.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.1414, allocations: 8.031 kB / 317.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.152, allocations: 0.5925 MB / 318 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008775/0.1529, allocations: 314.4 kB / 318.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.363e-05/0.153, allocations: 41.31 kB / 318.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.1533, allocations: 56 kB / 318.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/0.1556, allocations: 0.5492 MB / 319 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/0.1556, allocations: 3.906 kB / 319 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.1558, allocations: 20 kB / 319 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.1558, allocations: 12 kB / 319 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.1585, allocations: 0.6492 MB / 319.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006722/0.1653, allocations: 2.054 MB / 321.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005546/0.1709, allocations: 3.003 MB / 324.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.1711, allocations: 97.52 kB / 324.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.1712, allocations: 35 kB / 324.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 4.739e-06/0.1712, allocations: 0 / 324.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.004307/0.1756, allocations: 0.8132 MB / 325.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1757, allocations: 55.84 kB / 325.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.1761, allocations: 199.1 kB / 325.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.1762, allocations: 37.7 kB / 325.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.1764, allocations: 236.1 kB / 326.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.1767, allocations: 169.5 kB / 326.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.1767, allocations: 12 kB / 326.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.177, allocations: 342.8 kB / 326.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.1777, allocations: 161 kB / 326.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008678/0.1786, allocations: 274 kB / 327.1 MB, free: 13.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.1795, allocations: 200.7 kB / 327.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1795, allocations: 0 / 327.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00256/0.1821, allocations: 0.5904 MB / 327.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.1822, allocations: 9.875 kB / 327.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.1822, allocations: 8 kB / 327.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/0.1829, allocations: 84.81 kB / 328 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008349/0.1838, allocations: 119.8 kB / 328.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.1868, allocations: 1.866 MB / 330 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.1874, allocations: 59.42 kB / 330 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.1875, allocations: 20 kB / 330.1 MB, free: 10.22 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 (58): * Single equations (assignments): 57 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003353/0.1878, allocations: 177.7 kB / 330.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.1879, allocations: 35.66 kB / 330.3 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.1897, allocations: 0.5512 MB / 330.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.1898, allocations: 7.984 kB / 330.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1898, allocations: 4 kB / 330.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1899, allocations: 112.6 kB / 330.9 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.19, allocations: 12 kB / 331 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.1904, allocations: 19.98 kB / 331 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.1906, allocations: 36.39 kB / 331 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002057/0.1926, allocations: 0.594 MB / 331.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001849/0.1945, allocations: 0.7636 MB / 332.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005252/0.1951, allocations: 171.4 kB / 332.5 MB, free: 7.684 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001977/0.1953, allocations: 147.2 kB / 332.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of Backend: time 5.81e-07/0.1953, allocations: 0 / 332.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001866/0.1972, allocations: 0.5936 MB / 333.3 MB, free: 6.926 MB / 282.7 MB Notification: Performance of SimCode: time 0.002191/0.1994, allocations: 1.441 MB / 334.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of Templates: time 0.01767/0.2171, allocations: 5.646 MB / 340.4 MB, free: 15.79 MB / 298.7 MB