Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.605/1.605, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.487e-05, allocations: 0 / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2043, allocations: 38.78 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.315, allocations: 70.07 MB / 337.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.3153, allocations: 79.95 kB / 337.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04433/0.3596, allocations: 12.39 MB / 350.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.173e-06/0.3597, allocations: 0 / 350.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.3597, allocations: 4 kB / 350.1 MB, free: 6.621 MB / 298.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.002002/0.3617, allocations: 0.6741 MB / 350.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3618, allocations: 12.03 kB / 350.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.3621, allocations: 47.61 kB / 350.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.3625, allocations: 258.5 kB / 351.1 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.3626, allocations: 33 kB / 351.2 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/0.3627, allocations: 36 kB / 351.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/0.3635, allocations: 346.4 kB / 351.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.3635, allocations: 0 / 351.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.3636, allocations: 20 kB / 351.6 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3636, allocations: 8 kB / 351.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/0.3643, allocations: 264 kB / 351.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.3673, allocations: 1.361 MB / 353.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.3678, allocations: 158.7 kB / 353.3 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.3682, allocations: 112.8 kB / 353.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.3682, allocations: 4 kB / 353.4 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3683, allocations: 38.56 kB / 353.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.232e-06/0.3683, allocations: 0 / 353.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006813/0.369, allocations: 203.8 kB / 353.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3691, allocations: 51.41 kB / 353.7 MB, free: 2.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.3693, allocations: 154.4 kB / 353.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.3694, allocations: 33.64 kB / 353.9 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.3697, allocations: 278 kB / 354.2 MB, free: 2.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3698, allocations: 59.17 kB / 354.2 MB, free: 2.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.3699, allocations: 4 kB / 354.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.3701, allocations: 322.8 kB / 354.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.3704, allocations: 48 kB / 354.6 MB, free: 1.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.3707, allocations: 120.6 kB / 354.7 MB, free: 1.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.3711, allocations: 71.91 kB / 354.8 MB, free: 1.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.383e-06/0.3711, allocations: 0 / 354.8 MB, free: 1.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001183/0.3723, allocations: 267.9 kB / 355.1 MB, free: 1.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3723, allocations: 4 kB / 355.1 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3724, allocations: 4.281 kB / 355.1 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/0.3728, allocations: 80.81 kB / 355.1 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3731, allocations: 43.91 kB / 355.2 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1804/0.5535, allocations: 1.628 MB / 356.8 MB, free: 74.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.5538, allocations: 32.45 kB / 356.9 MB, free: 74.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.5539, allocations: 9.781 kB / 356.9 MB, free: 74.3 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 9.743e-05/0.554, allocations: 121.8 kB / 357 MB, free: 74.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.5541, allocations: 15.75 kB / 357 MB, free: 74.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/0.5547, allocations: 220.3 kB / 357.2 MB, free: 74.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5548, allocations: 1.844 kB / 357.2 MB, free: 74.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.5548, allocations: 1.781 kB / 357.2 MB, free: 74.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.654e-06/0.5548, allocations: 0.75 kB / 357.2 MB, free: 74.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.5561, allocations: 0.6596 MB / 357.9 MB, free: 73.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.206e-06/0.5561, allocations: 1.125 kB / 357.9 MB, free: 73.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.5564, allocations: 21.59 kB / 357.9 MB, free: 73.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/0.5568, allocations: 82.53 kB / 358 MB, free: 73.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.5568, allocations: 1.688 kB / 358 MB, free: 73.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.5586, allocations: 1.636 MB / 359.6 MB, free: 72.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.9e-06/0.5587, allocations: 1.125 kB / 359.6 MB, free: 72.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.5594, allocations: 410.5 kB / 360 MB, free: 72.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.5594, allocations: 88.56 kB / 360.1 MB, free: 72.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.5595, allocations: 5.359 kB / 360.1 MB, free: 72.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.5597, allocations: 19.08 kB / 360.1 MB, free: 72.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.5598, allocations: 25.34 kB / 360.2 MB, free: 72.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.5598, allocations: 4.516 kB / 360.2 MB, free: 72.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.56, allocations: 127.6 kB / 360.3 MB, free: 72.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.56, allocations: 0 / 360.3 MB, free: 72.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.5606, allocations: 102.5 kB / 360.4 MB, free: 72.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001986/0.5608, allocations: 127.3 kB / 360.5 MB, free: 72.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.5614, allocations: 310.5 kB / 360.8 MB, free: 71.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.498e-06/0.5615, allocations: 3.719 kB / 360.8 MB, free: 71.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.5619, allocations: 217.2 kB / 361 MB, free: 71.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.5621, allocations: 18.28 kB / 361 MB, free: 71.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.5631, allocations: 421.8 kB / 361.5 MB, free: 71.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.5634, allocations: 0.775 MB / 362.2 MB, free: 70.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.5634, allocations: 15.59 kB / 362.2 MB, free: 70.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.411e-06/0.5635, allocations: 0 / 362.2 MB, free: 70.95 MB / 298.7 MB Notification: Performance of Templates: time 0.006126/0.5696, allocations: 3.989 MB / 366.2 MB, free: 70.8 MB / 298.7 MB