Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.00037, allocations: 8 kB / 263.9 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08026/0.08065, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4438, allocations: 77.02 MB / 385.5 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.4441, allocations: 84.05 kB / 385.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05339/0.4976, allocations: 16.02 MB / 401.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.391e-06/0.4976, allocations: 0 / 401.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.4976, allocations: 7.656 kB / 401.6 MB, free: 17.05 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.002272/0.4999, allocations: 0.778 MB / 402.4 MB, free: 16.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5, allocations: 7.594 kB / 402.4 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/0.5041, allocations: 439.3 kB / 402.8 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.5047, allocations: 314.8 kB / 403.1 MB, free: 16.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.5048, allocations: 40.22 kB / 403.1 MB, free: 16.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.5049, allocations: 58 kB / 403.2 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.5063, allocations: 0.554 MB / 403.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.5063, allocations: 3.984 kB / 403.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.5064, allocations: 21.5 kB / 403.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.5065, allocations: 19.5 kB / 403.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.5079, allocations: 0.634 MB / 404.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.5115, allocations: 2.062 MB / 406.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.5142, allocations: 3.019 MB / 409.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.5144, allocations: 89.17 kB / 409.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.5145, allocations: 34.88 kB / 409.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 7.214e-06/0.5145, allocations: 0 / 409.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.004919/0.5195, allocations: 0.8109 MB / 410.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.5196, allocations: 55.72 kB / 410.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.52, allocations: 184.9 kB / 410.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-05/0.5201, allocations: 33.2 kB / 410.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.5204, allocations: 314.8 kB / 411 MB, free: 10.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.5206, allocations: 168.1 kB / 411.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.5207, allocations: 10.91 kB / 411.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5209, allocations: 329.8 kB / 411.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008785/0.5218, allocations: 163.7 kB / 411.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009818/0.5228, allocations: 267.6 kB / 411.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.5238, allocations: 207 kB / 412.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.289e-06/0.5239, allocations: 0 / 412.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002984/0.5269, allocations: 0.5823 MB / 412.7 MB, free: 9.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.527, allocations: 11.69 kB / 412.7 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.527, allocations: 0 / 412.7 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/0.5278, allocations: 97.36 kB / 412.8 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.529, allocations: 104.8 kB / 412.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.5335, allocations: 1.879 MB / 414.8 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/0.5345, allocations: 53.84 kB / 414.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.5346, allocations: 23.14 kB / 414.9 MB, free: 8.391 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.0005563/0.5352, allocations: 176.2 kB / 415.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.5354, allocations: 27.28 kB / 415.1 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/0.5384, allocations: 0.5573 MB / 415.6 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.5384, allocations: 11.7 kB / 415.7 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5385, allocations: 0 / 415.7 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.5385, allocations: 0 / 415.7 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/0.5429, allocations: 1.15 MB / 416.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-06/0.543, allocations: 0 / 416.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009079/0.5439, allocations: 80.75 kB / 416.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006982/0.5446, allocations: 89.02 kB / 417 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.5447, allocations: 17.95 kB / 417 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004696/0.5495, allocations: 1.865 MB / 418.9 MB, free: 22.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.906e-06/0.5495, allocations: 3.953 kB / 418.9 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/0.5533, allocations: 0.8108 MB / 419.7 MB, free: 21.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.5536, allocations: 107.7 kB / 419.8 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5537, allocations: 7.062 kB / 419.8 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.5545, allocations: 26.33 kB / 419.8 MB, free: 21.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.5547, allocations: 39.12 kB / 419.8 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/0.5548, allocations: 15.25 kB / 419.9 MB, free: 21.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003488/0.5552, allocations: 146.8 kB / 420 MB, free: 21.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.084e-06/0.5552, allocations: 3.938 kB / 420 MB, free: 21.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001871/0.5571, allocations: 162.2 kB / 420.2 MB, free: 21.55 MB / 330.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.0004909/0.5576, allocations: 148.7 kB / 420.3 MB, free: 21.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002883/0.5605, allocations: 0.6001 MB / 420.9 MB, free: 21.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.945e-06/0.5606, allocations: 0 / 420.9 MB, free: 21.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.5621, allocations: 394.8 kB / 421.3 MB, free: 21.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.5629, allocations: 19.06 kB / 421.3 MB, free: 21.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/0.5709, allocations: 1.577 MB / 422.9 MB, free: 20.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009637/0.5719, allocations: 0.8298 MB / 423.7 MB, free: 19.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.5723, allocations: 37.88 kB / 423.8 MB, free: 19.47 MB / 330.7 MB Notification: Performance of SimCode: time 2.883e-06/0.5724, allocations: 0 / 423.8 MB, free: 19.47 MB / 330.7 MB Notification: Performance of Templates: time 0.01936/0.5917, allocations: 6.357 MB / 430.1 MB, free: 16.28 MB / 330.7 MB