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.SeriesResonance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.843/1.843, allocations: 171.3 MB / 179.2 MB, free: 7.566 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.409e-05, allocations: 0 / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07021/0.07025, allocations: 38.77 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.3633, allocations: 69.42 MB / 330.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.3636, allocations: 78.02 kB / 330.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04128/0.4049, allocations: 12.16 MB / 342.9 MB, free: 9.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.405, allocations: 4 kB / 342.9 MB, free: 9.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.405, allocations: 4 kB / 342.9 MB, free: 9.215 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.001878/0.4069, allocations: 0.6666 MB / 343.6 MB, free: 8.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4069, allocations: 8.031 kB / 343.6 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.4072, allocations: 51.59 kB / 343.7 MB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.4076, allocations: 257.2 kB / 343.9 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.4077, allocations: 15.94 kB / 343.9 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.4077, allocations: 24 kB / 344 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005714/0.4083, allocations: 226.4 kB / 344.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.409, allocations: 275.6 kB / 344.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.409, allocations: 0 / 344.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.4091, allocations: 0 / 344.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.4091, allocations: 12 kB / 344.5 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.4115, allocations: 1.257 MB / 345.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.412, allocations: 175.4 kB / 345.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.4122, allocations: 65.23 kB / 345.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4122, allocations: 4 kB / 346 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4123, allocations: 30.56 kB / 346 MB, free: 6.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 3.204e-06/0.4123, allocations: 0 / 346 MB, free: 6.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006258/0.4129, allocations: 200.6 kB / 346.2 MB, free: 6.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.413, allocations: 59.34 kB / 346.2 MB, free: 6.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.4132, allocations: 137.9 kB / 346.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.4132, allocations: 25.7 kB / 346.4 MB, free: 6.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.4134, allocations: 273.3 kB / 346.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.4135, allocations: 65.09 kB / 346.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.4135, allocations: 0 / 346.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4137, allocations: 322.2 kB / 347 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4138, allocations: 47 kB / 347.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.414, allocations: 109 kB / 347.2 MB, free: 5.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.4142, allocations: 67.41 kB / 347.3 MB, free: 5.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.388e-06/0.4142, allocations: 4 kB / 347.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006482/0.4149, allocations: 242.8 kB / 347.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4149, allocations: 12.22 kB / 347.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.44e-06/0.4149, allocations: 0 / 347.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/0.4153, allocations: 81.81 kB / 347.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.4156, allocations: 43.22 kB / 347.6 MB, free: 5.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.4181, allocations: 1.764 MB / 349.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.4183, allocations: 27.77 kB / 349.4 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.4184, allocations: 8 kB / 349.4 MB, free: 3.156 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 () * 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.0001202/0.4185, allocations: 104.9 kB / 349.5 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.4186, allocations: 19.88 kB / 349.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.4192, allocations: 203 kB / 349.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.279e-06/0.4192, allocations: 4 kB / 349.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.265e-06/0.4192, allocations: 3.984 kB / 349.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.4192, allocations: 3.953 kB / 349.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.4197, allocations: 273.9 kB / 350 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-06/0.4197, allocations: 4 kB / 350 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.4199, allocations: 19.98 kB / 350.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003593/0.4203, allocations: 80.81 kB / 350.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4203, allocations: 0 / 350.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.4228, allocations: 1.767 MB / 351.9 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.704e-06/0.4228, allocations: 7.891 kB / 351.9 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.4235, allocations: 361 kB / 352.3 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.4236, allocations: 93.14 kB / 352.4 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.4237, allocations: 11.92 kB / 352.4 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.4239, allocations: 8 kB / 352.4 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.424, allocations: 15.97 kB / 352.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.424, allocations: 7.953 kB / 352.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.4242, allocations: 111.8 kB / 352.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.4242, allocations: 0 / 352.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000686/0.4249, allocations: 95.53 kB / 352.6 MB, free: 15.78 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 () * 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.0002204/0.4251, allocations: 117 kB / 352.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006798/0.4258, allocations: 293.3 kB / 353 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.16e-06/0.4258, allocations: 4 kB / 353 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.4262, allocations: 206 kB / 353.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.4265, allocations: 12.72 kB / 353.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.4276, allocations: 400 kB / 353.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.4281, allocations: 0.775 MB / 354.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.4282, allocations: 11.44 kB / 354.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of SimCode: time 1.562e-06/0.4282, allocations: 0 / 354.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of Templates: time 0.007855/0.436, allocations: 3.864 MB / 358.3 MB, free: 10.04 MB / 298.7 MB