Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.679/1.679, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005574/0.1308, allocations: 2.662 MB / 275.3 MB, free: 8.848 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.1333, allocations: 1.013 MB / 276.3 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.1335, allocations: 8 kB / 276.3 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.134, allocations: 107.4 kB / 276.4 MB, free: 7.715 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1342, allocations: 83.8 kB / 276.5 MB, free: 7.633 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.1361, allocations: 0.5763 MB / 277.1 MB, free: 7.055 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00047/0.1366, allocations: 227.5 kB / 277.3 MB, free: 6.832 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.1383, allocations: 0.6907 MB / 278 MB, free: 6.113 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.1386, allocations: 119.6 kB / 278.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.139, allocations: 155.4 kB / 278.3 MB, free: 5.844 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.139, allocations: 23.98 kB / 278.3 MB, free: 5.82 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.1394, allocations: 103.9 kB / 278.4 MB, free: 5.719 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.1395, allocations: 55.77 kB / 278.4 MB, free: 5.664 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.994e-05/0.1396, allocations: 89.52 kB / 278.5 MB, free: 5.57 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006579/0.1403, allocations: 403.2 kB / 278.9 MB, free: 5.176 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1403, allocations: 4 kB / 278.9 MB, free: 5.172 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1403, allocations: 4 kB / 278.9 MB, free: 5.168 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1403, allocations: 0 / 278.9 MB, free: 5.168 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002807/0.1431, allocations: 0.7489 MB / 279.7 MB, free: 4.371 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1432, allocations: 12.03 kB / 279.7 MB, free: 4.359 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.1436, allocations: 55.61 kB / 279.7 MB, free: 4.305 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.144, allocations: 270.5 kB / 280 MB, free: 4 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.1441, allocations: 36.92 kB / 280 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1442, allocations: 43.94 kB / 280.1 MB, free: 3.918 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009917/0.1452, allocations: 350.5 kB / 280.4 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.1453, allocations: 0 / 280.4 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.1453, allocations: 16 kB / 280.4 MB, free: 3.555 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1453, allocations: 8 kB / 280.5 MB, free: 3.547 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009547/0.1463, allocations: 287.8 kB / 280.7 MB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.1491, allocations: 1.328 MB / 282.1 MB, free: 1.844 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.15, allocations: 194.7 kB / 282.3 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.15, allocations: 0 / 282.3 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1501, allocations: 42.52 kB / 282.3 MB, free: 1.594 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.1501, allocations: 0 / 282.3 MB, free: 1.594 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.00236/0.1525, allocations: 0.4953 MB / 282.8 MB, free: 1.07 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1525, allocations: 55.41 kB / 282.8 MB, free: 1.004 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1528, allocations: 160.1 kB / 283 MB, free: 0.832 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1528, allocations: 33.7 kB / 283 MB, free: 0.793 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.153, allocations: 211.6 kB / 283.2 MB, free: 0.582 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.1531, allocations: 55.2 kB / 283.3 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.1531, allocations: 7.938 kB / 283.3 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1532, allocations: 322.8 kB / 283.6 MB, free: 200 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.1535, allocations: 71.95 kB / 283.7 MB, free: 128 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.1539, allocations: 126.8 kB / 283.8 MB, free: 15.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.1542, allocations: 86.67 kB / 283.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1543, allocations: 0 / 283.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001113/0.1554, allocations: 322.1 kB / 284.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1554, allocations: 5.406 kB / 284.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1554, allocations: 7.984 kB / 284.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/0.156, allocations: 88.77 kB / 284.3 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.1563, allocations: 43.91 kB / 284.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.1592, allocations: 1.862 MB / 286.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.1595, allocations: 31.89 kB / 286.2 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.1596, allocations: 4 kB / 286.3 MB, free: 13.39 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 16 * 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.0002344/0.1598, allocations: 153.7 kB / 286.4 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.1599, allocations: 19.77 kB / 286.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009556/0.1609, allocations: 260.1 kB / 286.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1609, allocations: 4 kB / 286.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1609, allocations: 0 / 286.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.161, allocations: 100.8 kB / 286.8 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.161, allocations: 0 / 286.8 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.1613, allocations: 23.98 kB / 286.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.1614, allocations: 15.97 kB / 286.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00137/0.1627, allocations: 349.5 kB / 287.2 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009982/0.1638, allocations: 451.6 kB / 287.6 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002682/0.1641, allocations: 67.95 kB / 287.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1642, allocations: 128.2 kB / 287.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of Backend: time 8.32e-07/0.1642, allocations: 0 / 287.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.1655, allocations: 421 kB / 288.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of SimCode: time 0.001716/0.1672, allocations: 1.212 MB / 289.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of Templates: time 0.01097/0.1782, allocations: 3.231 MB / 292.6 MB, free: 6.867 MB / 250.7 MB