Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.695/1.695, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004755, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08245, allocations: 38.78 MB / 272.6 MB, free: 12.22 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4249, allocations: 70.15 MB / 342.7 MB, free: 3.852 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.4253, allocations: 85.83 kB / 342.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04632/0.4716, allocations: 12.32 MB / 355.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4717, allocations: 0 / 355.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.4717, allocations: 4 kB / 355.1 MB, free: 9.742 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.002334/0.4741, allocations: 0.6884 MB / 355.8 MB, free: 9.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.4742, allocations: 11.97 kB / 355.8 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.4745, allocations: 54.72 kB / 355.9 MB, free: 8.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.4749, allocations: 256 kB / 356.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4749, allocations: 28.94 kB / 356.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.4751, allocations: 43.44 kB / 356.2 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4761, allocations: 355.3 kB / 356.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.4762, allocations: 0 / 356.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.4763, allocations: 18.81 kB / 356.6 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.4763, allocations: 12 kB / 356.6 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4773, allocations: 296.4 kB / 356.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.4803, allocations: 1.334 MB / 358.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.4811, allocations: 196.4 kB / 358.4 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.4812, allocations: 0 / 358.4 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4812, allocations: 37.19 kB / 358.4 MB, free: 6.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.4813, allocations: 4 kB / 358.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002383/0.4837, allocations: 0.4898 MB / 358.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.4837, allocations: 55.36 kB / 359 MB, free: 6.367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.484, allocations: 171 kB / 359.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.484, allocations: 28.89 kB / 359.2 MB, free: 6.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.4842, allocations: 276.4 kB / 359.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.4843, allocations: 54.23 kB / 359.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.4843, allocations: 7 kB / 359.5 MB, free: 5.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4844, allocations: 318 kB / 359.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.4848, allocations: 79.2 kB / 359.9 MB, free: 5.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.4851, allocations: 120.4 kB / 360 MB, free: 5.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.4854, allocations: 88.59 kB / 360.1 MB, free: 5.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4855, allocations: 3.938 kB / 360.1 MB, free: 5.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001064/0.4865, allocations: 312.6 kB / 360.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.4866, allocations: 8 kB / 360.4 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4866, allocations: 4.219 kB / 360.4 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/0.4871, allocations: 83.94 kB / 360.5 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.4874, allocations: 39.91 kB / 360.5 MB, free: 4.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.4904, allocations: 1.87 MB / 362.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.4908, allocations: 30.95 kB / 362.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.4908, allocations: 8 kB / 362.4 MB, free: 3.188 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.0002682/0.4911, allocations: 153.9 kB / 362.6 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.4911, allocations: 19.77 kB / 362.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000969/0.4921, allocations: 256.1 kB / 362.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4922, allocations: 4 kB / 362.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4922, allocations: 4 kB / 362.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.4922, allocations: 0 / 362.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.4928, allocations: 337 kB / 363.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4928, allocations: 4 kB / 363.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.493, allocations: 19.98 kB / 363.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.4935, allocations: 88.62 kB / 363.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.4935, allocations: 0 / 363.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.4963, allocations: 1.877 MB / 365.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4964, allocations: 0 / 365.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.4977, allocations: 428.8 kB / 365.6 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/0.4979, allocations: 96.89 kB / 365.7 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.4979, allocations: 3.312 kB / 365.7 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.4982, allocations: 15.3 kB / 365.7 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.4983, allocations: 15.92 kB / 365.7 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.4983, allocations: 7.562 kB / 365.7 MB, free: 180 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.4985, allocations: 124.8 kB / 365.9 MB, free: 68 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4985, allocations: 4.062 kB / 365.9 MB, free: 64 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007118/0.4992, allocations: 96.94 kB / 366 MB, free: 15.98 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.0002493/0.4995, allocations: 132.8 kB / 366.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.5007, allocations: 347.4 kB / 366.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.5007, allocations: 0 / 366.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.5014, allocations: 247.6 kB / 366.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.5017, allocations: 23.38 kB / 366.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.5035, allocations: 0.7371 MB / 367.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.504, allocations: 0.7716 MB / 368.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.5041, allocations: 19.44 kB / 368.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5041, allocations: 0 / 368.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Templates: time 0.009413/0.5135, allocations: 3.951 MB / 372.2 MB, free: 9.871 MB / 298.7 MB