Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004932, allocations: 11.98 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0966/0.09712, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4775/0.5747, allocations: 77.02 MB / 386.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004414/0.5752, allocations: 86.78 kB / 386.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07886/0.6541, allocations: 16.11 MB / 402.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6542, allocations: 0 / 402.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.6542, allocations: 11.06 kB / 402.3 MB, free: 12.7 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.002376/0.6566, allocations: 0.7757 MB / 403 MB, free: 12.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6566, allocations: 11.67 kB / 403.1 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/0.661, allocations: 436.4 kB / 403.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.6616, allocations: 323.3 kB / 403.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.6616, allocations: 41.44 kB / 403.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.6618, allocations: 59.25 kB / 403.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.6633, allocations: 0.5597 MB / 404.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.6634, allocations: 3.688 kB / 404.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/0.6635, allocations: 20.72 kB / 404.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6635, allocations: 19.5 kB / 404.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.6653, allocations: 0.6544 MB / 405.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004941/0.6703, allocations: 2.098 MB / 407.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.6735, allocations: 3.005 MB / 410.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.6737, allocations: 91.72 kB / 410.4 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.6737, allocations: 34.06 kB / 410.4 MB, free: 7.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.477e-06/0.6737, allocations: 0 / 410.4 MB, free: 7.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002707/0.6765, allocations: 0.7696 MB / 411.2 MB, free: 6.898 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.6765, allocations: 59.59 kB / 411.2 MB, free: 6.836 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.6768, allocations: 196.8 kB / 411.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.6768, allocations: 36.27 kB / 411.4 MB, free: 6.684 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.677, allocations: 245.1 kB / 411.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.6771, allocations: 170.7 kB / 411.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.6772, allocations: 6.625 kB / 411.9 MB, free: 6.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.6773, allocations: 341.1 kB / 412.2 MB, free: 6.039 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.6777, allocations: 170.3 kB / 412.4 MB, free: 6.012 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005635/0.6783, allocations: 281.4 kB / 412.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/0.6789, allocations: 208.5 kB / 412.8 MB, free: 5.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6789, allocations: 0 / 412.8 MB, free: 5.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00159/0.6805, allocations: 0.5894 MB / 413.4 MB, free: 5.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6805, allocations: 7.844 kB / 413.4 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6806, allocations: 3.875 kB / 413.4 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004868/0.6811, allocations: 84.34 kB / 413.5 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/0.6818, allocations: 117.8 kB / 413.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.6839, allocations: 1.668 MB / 415.3 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.6844, allocations: 50.53 kB / 415.3 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.6845, allocations: 27.39 kB / 415.4 MB, free: 4.27 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.0002942/0.6848, allocations: 173.1 kB / 415.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.6849, allocations: 27.34 kB / 415.6 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.6866, allocations: 0.5662 MB / 416.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.6866, allocations: 7.75 kB / 416.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6866, allocations: 0 / 416.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6867, allocations: 7.984 kB / 416.1 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.6891, allocations: 1.186 MB / 417.3 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6891, allocations: 3.938 kB / 417.3 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.6897, allocations: 89.73 kB / 417.4 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/0.6902, allocations: 84.47 kB / 417.5 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.6902, allocations: 11.61 kB / 417.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.6922, allocations: 1.658 MB / 419.2 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6922, allocations: 0 / 419.2 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.6942, allocations: 0.8312 MB / 420 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.6944, allocations: 120.1 kB / 420.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.6945, allocations: 7.938 kB / 420.1 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.6949, allocations: 27.27 kB / 420.2 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.695, allocations: 31.7 kB / 420.2 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.6951, allocations: 15.5 kB / 420.2 MB, free: 1.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.6953, allocations: 144.8 kB / 420.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6953, allocations: 0 / 420.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000755/0.696, allocations: 164.7 kB / 420.5 MB, free: 1.523 MB / 314.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.0002702/0.6963, allocations: 152 kB / 420.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.6979, allocations: 0.6059 MB / 421.3 MB, free: 1.211 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.6979, allocations: 0 / 421.3 MB, free: 1.211 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.6988, allocations: 401.1 kB / 421.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.6991, allocations: 23.8 kB / 421.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.7036, allocations: 1.569 MB / 423.2 MB, free: 240 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.7041, allocations: 0.8265 MB / 424.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004258/0.7045, allocations: 50.58 kB / 424.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.7047, allocations: 34.83 kB / 424.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.714e-06/0.7047, allocations: 0 / 424.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of Templates: time 0.01282/0.7175, allocations: 3.916 MB / 428.1 MB, free: 13.52 MB / 330.7 MB