Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005266/0.0005268, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.136, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5508, allocations: 77.01 MB / 386.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5511, allocations: 85.77 kB / 386.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05795/0.6091, allocations: 16.03 MB / 402.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6091, allocations: 0 / 402.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.6092, allocations: 8.812 kB / 402.2 MB, free: 12.76 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002223/0.6114, allocations: 0.7815 MB / 403 MB, free: 12.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.6115, allocations: 7.688 kB / 403 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/0.6157, allocations: 431.9 kB / 403.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.6162, allocations: 314 kB / 403.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.6163, allocations: 48.38 kB / 403.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.6164, allocations: 58.47 kB / 403.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.6178, allocations: 0.5494 MB / 404.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.6179, allocations: 0 / 404.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/0.618, allocations: 20.59 kB / 404.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.618, allocations: 15.59 kB / 404.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.6196, allocations: 0.6455 MB / 405 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004086/0.6237, allocations: 2.066 MB / 407.1 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.6268, allocations: 3.005 MB / 410.1 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.627, allocations: 96.73 kB / 410.2 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.627, allocations: 38.44 kB / 410.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.238e-06/0.627, allocations: 7.922 kB / 410.2 MB, free: 7.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002935/0.63, allocations: 0.8029 MB / 411.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.63, allocations: 55.81 kB / 411.1 MB, free: 6.828 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.6303, allocations: 209.7 kB / 411.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.6303, allocations: 36.83 kB / 411.3 MB, free: 6.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.6304, allocations: 239.1 kB / 411.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.6306, allocations: 169.7 kB / 411.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.6306, allocations: 7.062 kB / 411.8 MB, free: 6.352 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.6307, allocations: 341 kB / 412.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.6312, allocations: 163 kB / 412.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.6317, allocations: 269.2 kB / 412.5 MB, free: 5.863 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.6323, allocations: 197.9 kB / 412.7 MB, free: 5.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.6323, allocations: 3.875 kB / 412.7 MB, free: 5.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00157/0.6339, allocations: 0.5928 MB / 413.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6339, allocations: 7.75 kB / 413.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.634, allocations: 3.875 kB / 413.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.6345, allocations: 87.8 kB / 413.4 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/0.6352, allocations: 110.3 kB / 413.5 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.6376, allocations: 1.869 MB / 415.4 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.6382, allocations: 58.36 kB / 415.4 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.6383, allocations: 19.19 kB / 415.4 MB, free: 4.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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.0003002/0.6386, allocations: 181.7 kB / 415.6 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.6387, allocations: 23.09 kB / 415.6 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.6403, allocations: 0.5597 MB / 416.2 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.6403, allocations: 7.859 kB / 416.2 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6404, allocations: 7.875 kB / 416.2 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.6404, allocations: 3.984 kB / 416.2 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.6427, allocations: 1.152 MB / 417.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6427, allocations: 0 / 417.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.6433, allocations: 77.75 kB / 417.5 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.6438, allocations: 93.7 kB / 417.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.6438, allocations: 7.25 kB / 417.6 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.6461, allocations: 1.855 MB / 419.4 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6462, allocations: 7.891 kB / 419.4 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.6481, allocations: 0.8132 MB / 420.2 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.08e-05/0.6482, allocations: 112.2 kB / 420.3 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.6483, allocations: 11.69 kB / 420.3 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.6487, allocations: 19.06 kB / 420.4 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6488, allocations: 43.55 kB / 420.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.6489, allocations: 23.3 kB / 420.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.649, allocations: 137.2 kB / 420.6 MB, free: 1.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.649, allocations: 0 / 420.6 MB, free: 1.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008222/0.6499, allocations: 166 kB / 420.7 MB, free: 1.316 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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 (44): * Single equations (assignments): 43 * 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.0002598/0.6502, allocations: 144.8 kB / 420.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.6516, allocations: 0.6027 MB / 421.5 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6516, allocations: 0 / 421.5 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007756/0.6524, allocations: 397.7 kB / 421.9 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.6528, allocations: 19.47 kB / 421.9 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.657, allocations: 1.556 MB / 423.4 MB, free: 16.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.6575, allocations: 0.8299 MB / 424.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003923/0.6579, allocations: 46.61 kB / 424.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.658, allocations: 34.92 kB / 424.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.658, allocations: 0 / 424.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01214/0.6702, allocations: 3.877 MB / 428.2 MB, free: 13.34 MB / 330.7 MB