Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003507, allocations: 8 kB / 233.9 MB, free: 2.375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09539, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4579, allocations: 70.15 MB / 342.8 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/0.4583, allocations: 86.2 kB / 342.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05407/0.5124, allocations: 12.42 MB / 355.3 MB, free: 9.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5125, allocations: 0 / 355.3 MB, free: 9.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.5125, allocations: 9.438 kB / 355.3 MB, free: 9.023 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.002395/0.5149, allocations: 0.6868 MB / 356 MB, free: 8.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.515, allocations: 8.031 kB / 356 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/0.5154, allocations: 58.62 kB / 356.1 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.5158, allocations: 254.8 kB / 356.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.5158, allocations: 30.25 kB / 356.3 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.5159, allocations: 41.48 kB / 356.4 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.517, allocations: 365.6 kB / 356.7 MB, free: 7.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.517, allocations: 4 kB / 356.7 MB, free: 7.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.5171, allocations: 12.56 kB / 356.7 MB, free: 7.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.5171, allocations: 12 kB / 356.8 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.5182, allocations: 305.8 kB / 357.1 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.5214, allocations: 1.366 MB / 358.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.5221, allocations: 183.2 kB / 358.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.5222, allocations: 0 / 358.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.5223, allocations: 38.5 kB / 358.6 MB, free: 6.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.5223, allocations: 4 kB / 358.6 MB, free: 6.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002049/0.5243, allocations: 452.7 kB / 359.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.5244, allocations: 51.41 kB / 359.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.5247, allocations: 175.8 kB / 359.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.5248, allocations: 37.27 kB / 359.3 MB, free: 5.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.5249, allocations: 205.6 kB / 359.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.525, allocations: 50.45 kB / 359.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.5251, allocations: 3.688 kB / 359.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5252, allocations: 330.1 kB / 359.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.5256, allocations: 73.95 kB / 360 MB, free: 4.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.5259, allocations: 137.1 kB / 360.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.5263, allocations: 87.27 kB / 360.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5263, allocations: 4 kB / 360.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001118/0.5274, allocations: 322.1 kB / 360.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.5275, allocations: 8.625 kB / 360.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5275, allocations: 0 / 360.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/0.528, allocations: 83.02 kB / 360.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.5284, allocations: 43.91 kB / 360.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.531, allocations: 1.667 MB / 362.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.5314, allocations: 35.55 kB / 362.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.5314, allocations: 7.812 kB / 362.4 MB, free: 2.738 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.0002633/0.5317, allocations: 156.5 kB / 362.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.5317, allocations: 11.91 kB / 362.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009913/0.5327, allocations: 269.8 kB / 362.8 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5328, allocations: 0 / 362.8 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5328, allocations: 4 kB / 362.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5328, allocations: 0 / 362.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.5335, allocations: 355.6 kB / 363.1 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5335, allocations: 3.938 kB / 363.2 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.5338, allocations: 19.98 kB / 363.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.5343, allocations: 81.02 kB / 363.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.5343, allocations: 3.75 kB / 363.3 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.5369, allocations: 1.662 MB / 364.9 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5369, allocations: 3.938 kB / 364.9 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.5384, allocations: 441.9 kB / 365.4 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.5386, allocations: 93.03 kB / 365.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.5387, allocations: 11.19 kB / 365.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.539, allocations: 27.25 kB / 365.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.5391, allocations: 7.984 kB / 365.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.5392, allocations: 7.375 kB / 365.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.5393, allocations: 125.7 kB / 365.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5394, allocations: 0 / 365.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009004/0.5403, allocations: 98.09 kB / 365.7 MB, free: 15.66 MB / 298.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.0002654/0.5406, allocations: 134.6 kB / 365.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.5419, allocations: 350.5 kB / 366.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.542, allocations: 448 / 366.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006583/0.5426, allocations: 259.7 kB / 366.4 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.543, allocations: 7.938 kB / 366.4 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.5447, allocations: 0.7239 MB / 367.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.5452, allocations: 0.7755 MB / 367.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.5454, allocations: 17.55 kB / 368 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.5454, allocations: 11.44 kB / 368 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5454, allocations: 0 / 368 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.009595/0.5551, allocations: 2.428 MB / 370.4 MB, free: 11.05 MB / 298.7 MB