Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09772, allocations: 44.51 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3996/0.4974, allocations: 77.02 MB / 386 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.4977, allocations: 86 kB / 386.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05823/0.556, allocations: 16.1 MB / 402.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.556, allocations: 3.906 kB / 402.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.5561, allocations: 11.75 kB / 402.2 MB, free: 12.51 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.002418/0.5585, allocations: 0.7739 MB / 403 MB, free: 11.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5586, allocations: 8.781 kB / 403 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.5629, allocations: 433.3 kB / 403.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.5636, allocations: 312.7 kB / 403.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.5637, allocations: 42.78 kB / 403.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.5638, allocations: 60.44 kB / 403.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.5654, allocations: 0.5685 MB / 404.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.5654, allocations: 0 / 404.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.5655, allocations: 29.12 kB / 404.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.5655, allocations: 15.56 kB / 404.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.5672, allocations: 0.6528 MB / 405.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004929/0.5722, allocations: 2.101 MB / 407.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.5754, allocations: 2.997 MB / 410.2 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.5756, allocations: 96.33 kB / 410.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.5756, allocations: 38.44 kB / 410.3 MB, free: 6.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.096e-06/0.5756, allocations: 4 kB / 410.3 MB, free: 6.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.00274/0.5784, allocations: 0.7642 MB / 411.1 MB, free: 6.723 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.5785, allocations: 55.59 kB / 411.1 MB, free: 6.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.5787, allocations: 209.1 kB / 411.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.5788, allocations: 32.7 kB / 411.4 MB, free: 6.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.5789, allocations: 307.2 kB / 411.7 MB, free: 6.242 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.5791, allocations: 168.3 kB / 411.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.5791, allocations: 7.25 kB / 411.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.5792, allocations: 338.1 kB / 412.2 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.5797, allocations: 165.4 kB / 412.3 MB, free: 5.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.5802, allocations: 289.4 kB / 412.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.5808, allocations: 201.4 kB / 412.8 MB, free: 5.602 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.5808, allocations: 3.875 kB / 412.8 MB, free: 5.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001618/0.5825, allocations: 0.5913 MB / 413.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.5825, allocations: 7.844 kB / 413.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5826, allocations: 0 / 413.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005119/0.5831, allocations: 87.23 kB / 413.5 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.5839, allocations: 113.2 kB / 413.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.5861, allocations: 1.661 MB / 415.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.5867, allocations: 54.33 kB / 415.3 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.5868, allocations: 23.09 kB / 415.3 MB, free: 4.035 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 (60): * Single equations (assignments): 59 * 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 0.0003078/0.5871, allocations: 182.7 kB / 415.5 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.5872, allocations: 26.84 kB / 415.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.5889, allocations: 0.5681 MB / 416.1 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.5889, allocations: 11.73 kB / 416.1 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5889, allocations: 8 kB / 416.1 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.5889, allocations: 3.984 kB / 416.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.5914, allocations: 1.182 MB / 417.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5914, allocations: 0 / 417.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.5921, allocations: 84.98 kB / 417.4 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.5925, allocations: 79.78 kB / 417.5 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.5926, allocations: 12.38 kB / 417.5 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.5947, allocations: 1.664 MB / 419.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5948, allocations: 0 / 419.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.5969, allocations: 0.8338 MB / 420 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.5971, allocations: 111.8 kB / 420.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.5972, allocations: 15.02 kB / 420.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.5976, allocations: 22.75 kB / 420.1 MB, free: 17.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5978, allocations: 34.91 kB / 420.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.5978, allocations: 15.12 kB / 420.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.598, allocations: 140.1 kB / 420.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.598, allocations: 0 / 420.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007343/0.5988, allocations: 161.8 kB / 420.5 MB, free: 17.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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.0003151/0.5991, allocations: 143.9 kB / 420.6 MB, free: 17.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.6007, allocations: 0.6139 MB / 421.2 MB, free: 16.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6008, allocations: 0.8125 kB / 421.2 MB, free: 16.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008804/0.6017, allocations: 399.2 kB / 421.6 MB, free: 16.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.602, allocations: 22.97 kB / 421.6 MB, free: 16.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.6065, allocations: 1.6 MB / 423.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.6071, allocations: 0.8225 MB / 424.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.6073, allocations: 41.27 kB / 424.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6073, allocations: 0 / 424.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of Templates: time 0.01332/0.6207, allocations: 6.448 MB / 430.6 MB, free: 11.95 MB / 330.7 MB