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.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.06e-05, allocations: 7.938 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06989/0.06993, allocations: 38.76 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2821/0.3521, allocations: 69.41 MB / 330.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3524, allocations: 81.89 kB / 330.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04152/0.3939, allocations: 12.25 MB / 343 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.381e-06/0.3939, allocations: 0 / 343 MB, free: 9.164 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.394, allocations: 8 kB / 343 MB, free: 9.156 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.001908/0.3959, allocations: 0.6638 MB / 343.7 MB, free: 8.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3959, allocations: 8.031 kB / 343.7 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.3962, allocations: 50.73 kB / 343.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3966, allocations: 262.5 kB / 344 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3967, allocations: 16 kB / 344 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.3968, allocations: 20 kB / 344 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005986/0.3974, allocations: 243.3 kB / 344.3 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.3981, allocations: 286.4 kB / 344.6 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3981, allocations: 0 / 344.6 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.3982, allocations: 0 / 344.6 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.3982, allocations: 12 kB / 344.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.4008, allocations: 1.288 MB / 345.9 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.4012, allocations: 140.5 kB / 346 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.4015, allocations: 117.2 kB / 346.1 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4016, allocations: 4 kB / 346.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.4016, allocations: 33.81 kB / 346.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 5.026e-06/0.4016, allocations: 0 / 346.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005953/0.4022, allocations: 193.2 kB / 346.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.4023, allocations: 55.41 kB / 346.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.4025, allocations: 138.1 kB / 346.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.4025, allocations: 29.7 kB / 346.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.4027, allocations: 279.5 kB / 346.8 MB, free: 5.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.4028, allocations: 58.06 kB / 346.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.4028, allocations: 0 / 346.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.403, allocations: 314.3 kB / 347.2 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4032, allocations: 47.31 kB / 347.2 MB, free: 5.445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4034, allocations: 116.7 kB / 347.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.4035, allocations: 74.64 kB / 347.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.16e-06/0.4035, allocations: 0 / 347.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006642/0.4042, allocations: 239.8 kB / 347.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4043, allocations: 8 kB / 347.7 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.603e-06/0.4043, allocations: 288 / 347.7 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.4047, allocations: 84.75 kB / 347.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.405, allocations: 35.98 kB / 347.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.4073, allocations: 1.581 MB / 349.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.4076, allocations: 23.94 kB / 349.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.4076, allocations: 8 kB / 349.4 MB, free: 3.219 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001328/0.4078, allocations: 116.8 kB / 349.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.68e-05/0.4078, allocations: 19.77 kB / 349.5 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.4085, allocations: 191.1 kB / 349.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4085, allocations: 4 kB / 349.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.708e-06/0.4085, allocations: 7.953 kB / 349.7 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.915e-06/0.4085, allocations: 3.984 kB / 349.7 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.4098, allocations: 0.5754 MB / 350.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.745e-06/0.4098, allocations: 0 / 350.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.41, allocations: 24.05 kB / 350.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003576/0.4104, allocations: 76.75 kB / 350.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4104, allocations: 0 / 350.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.4126, allocations: 1.557 MB / 352 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.088e-06/0.4126, allocations: 0 / 352 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007781/0.4134, allocations: 393.3 kB / 352.3 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.4135, allocations: 96.94 kB / 352.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.4136, allocations: 4 kB / 352.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.4138, allocations: 20.05 kB / 352.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.4139, allocations: 16.02 kB / 352.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.4139, allocations: 8 kB / 352.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.414, allocations: 107.8 kB / 352.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.63e-07/0.414, allocations: 0 / 352.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006011/0.4147, allocations: 91.56 kB / 352.7 MB, free: 15.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0002289/0.4149, allocations: 131.1 kB / 352.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000683/0.4156, allocations: 277.5 kB / 353.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.345e-06/0.4156, allocations: 0 / 353.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.4161, allocations: 209.5 kB / 353.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.4164, allocations: 17.23 kB / 353.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.4174, allocations: 409.7 kB / 353.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.4179, allocations: 0.7711 MB / 354.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.418, allocations: 19.44 kB / 354.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 1.488e-06/0.418, allocations: 0 / 354.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.007489/0.4255, allocations: 3.909 MB / 358.4 MB, free: 9.879 MB / 298.7 MB