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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.55/1.55, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006517/0.0006517, allocations: 8 kB / 233.2 MB, free: 3 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07418/0.07488, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2933/0.3682, allocations: 70.16 MB / 342.2 MB, free: 3.758 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.3685, allocations: 88.08 kB / 342.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04176/0.4103, allocations: 12.41 MB / 354.7 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.293e-06/0.4103, allocations: 0 / 354.7 MB, free: 9.566 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.4104, allocations: 8 kB / 354.7 MB, free: 9.559 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.00193/0.4123, allocations: 0.6829 MB / 355.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4124, allocations: 12.03 kB / 355.4 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.4126, allocations: 50.45 kB / 355.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.413, allocations: 265.4 kB / 355.7 MB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.4131, allocations: 30.06 kB / 355.7 MB, free: 8.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/0.4132, allocations: 39.56 kB / 355.8 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008927/0.4141, allocations: 361.6 kB / 356.1 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.4141, allocations: 0 / 356.1 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.4142, allocations: 21.17 kB / 356.1 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.872e-05/0.4142, allocations: 12 kB / 356.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.415, allocations: 300.2 kB / 356.4 MB, free: 8.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.4177, allocations: 1.368 MB / 357.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.4183, allocations: 181 kB / 358 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.4184, allocations: 0 / 358 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.4184, allocations: 30.56 kB / 358 MB, free: 6.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.117e-06/0.4184, allocations: 0 / 358 MB, free: 6.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001574/0.42, allocations: 462.3 kB / 358.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.4201, allocations: 55.34 kB / 358.5 MB, free: 6.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.4203, allocations: 160.2 kB / 358.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.4203, allocations: 25.7 kB / 358.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.4205, allocations: 278.9 kB / 359 MB, free: 5.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.4206, allocations: 53.44 kB / 359 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.4206, allocations: 7.5 kB / 359 MB, free: 5.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4208, allocations: 321.9 kB / 359.3 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.4211, allocations: 74.28 kB / 359.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.4214, allocations: 131.8 kB / 359.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.4216, allocations: 95.64 kB / 359.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.471e-06/0.4217, allocations: 0 / 359.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008765/0.4225, allocations: 316.7 kB / 359.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4226, allocations: 4 kB / 359.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4226, allocations: 7.984 kB / 360 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/0.423, allocations: 84.92 kB / 360 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.4234, allocations: 43.91 kB / 360.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.4257, allocations: 1.665 MB / 361.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.4259, allocations: 27.69 kB / 361.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.426, allocations: 11.62 kB / 361.8 MB, free: 3.234 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 () * Number of clocked 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.0002486/0.4262, allocations: 149.4 kB / 361.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.4263, allocations: 19.8 kB / 362 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007822/0.4271, allocations: 268.9 kB / 362.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.176e-06/0.4271, allocations: 4 kB / 362.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-06/0.4272, allocations: 0 / 362.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4272, allocations: 3.984 kB / 362.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000583/0.4278, allocations: 352.7 kB / 362.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-06/0.4278, allocations: 0 / 362.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.428, allocations: 31.84 kB / 362.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003577/0.4284, allocations: 75.89 kB / 362.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.4284, allocations: 7.75 kB / 362.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.4306, allocations: 1.655 MB / 364.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.986e-06/0.4306, allocations: 4 kB / 364.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.4317, allocations: 453.5 kB / 364.8 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.4318, allocations: 92.89 kB / 364.9 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.4318, allocations: 7.875 kB / 364.9 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.432, allocations: 16.05 kB / 364.9 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.4321, allocations: 23.73 kB / 364.9 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.4321, allocations: 0 / 364.9 MB, free: 348 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.4323, allocations: 131.4 kB / 365 MB, free: 232 kB / 282.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.4323, allocations: 0 / 365 MB, free: 232 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005547/0.4329, allocations: 95.25 kB / 365.1 MB, free: 148 kB / 282.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 (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.0002112/0.4331, allocations: 135 kB / 365.3 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009019/0.434, allocations: 344.8 kB / 365.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.545e-06/0.434, allocations: 7.938 kB / 365.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.4346, allocations: 245 kB / 365.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.4349, allocations: 11.94 kB / 365.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.4364, allocations: 0.7519 MB / 366.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.4369, allocations: 0.7716 MB / 367.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.437, allocations: 15.44 kB / 367.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of SimCode: time 2.253e-06/0.437, allocations: 0 / 367.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of Templates: time 0.007971/0.445, allocations: 4.039 MB / 371.4 MB, free: 9.961 MB / 298.7 MB