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.774/1.774, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005238/0.0005244, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09207, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.4778, allocations: 70.16 MB / 342.8 MB, free: 3.305 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/0.4783, allocations: 90.06 kB / 342.9 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05692/0.5352, allocations: 12.34 MB / 355.2 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5353, allocations: 0 / 355.2 MB, free: 9.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.095e-05/0.5353, allocations: 8 kB / 355.2 MB, free: 9.176 MB / 282.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.002324/0.5376, allocations: 0.686 MB / 355.9 MB, free: 8.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5377, allocations: 8.031 kB / 355.9 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.538, allocations: 47.61 kB / 355.9 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.5384, allocations: 266.7 kB / 356.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.5384, allocations: 28 kB / 356.2 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.5386, allocations: 42.5 kB / 356.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009704/0.5395, allocations: 352 kB / 356.6 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.5396, allocations: 4 kB / 356.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.5396, allocations: 17.62 kB / 356.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.5397, allocations: 8 kB / 356.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009486/0.5406, allocations: 284 kB / 356.9 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.5434, allocations: 1.346 MB / 358.3 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.5443, allocations: 196 kB / 358.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.5444, allocations: 4 kB / 358.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5444, allocations: 38.36 kB / 358.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 8.907e-06/0.5444, allocations: 4 kB / 358.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002377/0.5468, allocations: 488.3 kB / 359 MB, free: 5.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.5469, allocations: 63.3 kB / 359 MB, free: 5.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.5471, allocations: 175.2 kB / 359.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.5472, allocations: 33.58 kB / 359.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.5473, allocations: 210.6 kB / 359.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/0.5474, allocations: 54.53 kB / 359.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.5475, allocations: 7.938 kB / 359.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5476, allocations: 330.5 kB / 359.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.5479, allocations: 63.28 kB / 359.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.5483, allocations: 130.2 kB / 360 MB, free: 4.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.5486, allocations: 89.22 kB / 360.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5486, allocations: 4 kB / 360.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001071/0.5497, allocations: 309.8 kB / 360.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5497, allocations: 4 kB / 360.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5497, allocations: 4 kB / 360.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.5503, allocations: 94.64 kB / 360.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.5506, allocations: 31.98 kB / 360.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.5535, allocations: 1.871 MB / 362.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.5538, allocations: 31.27 kB / 362.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.5539, allocations: 11.38 kB / 362.5 MB, free: 2.684 MB / 282.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.0002549/0.5541, allocations: 145.7 kB / 362.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.5542, allocations: 11.86 kB / 362.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.5551, allocations: 265 kB / 362.9 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.5552, allocations: 7.984 kB / 362.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.5552, allocations: 4.188 kB / 362.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5552, allocations: 0 / 362.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.5557, allocations: 335.6 kB / 363.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5557, allocations: 0 / 363.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.556, allocations: 23.92 kB / 363.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.5564, allocations: 84.86 kB / 363.3 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.5564, allocations: 11.12 kB / 363.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/0.5593, allocations: 1.87 MB / 365.2 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5594, allocations: 0 / 365.2 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.5607, allocations: 439.1 kB / 365.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.5608, allocations: 89 kB / 365.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.5608, allocations: 3.5 kB / 365.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.5611, allocations: 15.36 kB / 365.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.5612, allocations: 11.98 kB / 365.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.5612, allocations: 7.562 kB / 365.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.5614, allocations: 129 kB / 365.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5614, allocations: 3.938 kB / 365.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006843/0.5621, allocations: 105 kB / 366 MB, free: 15.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0002429/0.5623, allocations: 126.7 kB / 366.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.5634, allocations: 349.4 kB / 366.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5634, allocations: 0 / 366.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006198/0.5641, allocations: 249.4 kB / 366.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.5644, allocations: 25.64 kB / 366.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.566, allocations: 0.7013 MB / 367.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.5665, allocations: 0.7716 MB / 368.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.5666, allocations: 17.55 kB / 368.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.5667, allocations: 15.38 kB / 368.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5667, allocations: 0 / 368.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of Templates: time 0.009308/0.576, allocations: 2.397 MB / 370.6 MB, free: 10.89 MB / 298.7 MB