Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.808/1.808, allocations: 194.9 MB / 211.7 MB, free: 2.969 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006132/0.0006134, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09549, allocations: 44.5 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4408, allocations: 77.03 MB / 385.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4411, allocations: 83.14 kB / 385.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05091/0.492, allocations: 16.1 MB / 401.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.21e-06/0.4921, allocations: 0 / 401.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.4921, allocations: 7.594 kB / 401.7 MB, free: 16.94 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.001791/0.4939, allocations: 0.7797 MB / 402.4 MB, free: 16.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.494, allocations: 11.59 kB / 402.5 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/0.4975, allocations: 433.7 kB / 402.9 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.4981, allocations: 320.2 kB / 403.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.4981, allocations: 41.19 kB / 403.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.4983, allocations: 58.34 kB / 403.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.4996, allocations: 0.5649 MB / 403.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.4996, allocations: 0 / 403.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.4997, allocations: 21.94 kB / 403.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.4997, allocations: 19.5 kB / 403.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.5011, allocations: 0.6532 MB / 404.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.5048, allocations: 2.099 MB / 406.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.5069, allocations: 3.003 MB / 409.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.5071, allocations: 92.77 kB / 409.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.5071, allocations: 38.34 kB / 409.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.746e-06/0.5071, allocations: 0 / 409.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001995/0.5091, allocations: 0.7655 MB / 410.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.5092, allocations: 59.72 kB / 410.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.5094, allocations: 183.7 kB / 410.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.5094, allocations: 40.05 kB / 410.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.5096, allocations: 302.1 kB / 411.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.5097, allocations: 166.3 kB / 411.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.5097, allocations: 15 kB / 411.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.5098, allocations: 333.7 kB / 411.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.5102, allocations: 166.4 kB / 411.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.5106, allocations: 284.9 kB / 412.1 MB, free: 10.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.5111, allocations: 205.2 kB / 412.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.505e-06/0.5111, allocations: 0 / 412.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001285/0.5124, allocations: 0.5942 MB / 412.9 MB, free: 9.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5125, allocations: 3.875 kB / 412.9 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.051e-06/0.5125, allocations: 3.875 kB / 412.9 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003919/0.5129, allocations: 85.98 kB / 412.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.5134, allocations: 113.2 kB / 413.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.5151, allocations: 1.668 MB / 414.7 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.5155, allocations: 50.58 kB / 414.8 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.5156, allocations: 26.44 kB / 414.8 MB, free: 8.461 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.0002731/0.5159, allocations: 177.3 kB / 415 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.516, allocations: 31.16 kB / 415 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.5173, allocations: 0.5633 MB / 415.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.284e-06/0.5173, allocations: 11.75 kB / 415.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5173, allocations: 0 / 415.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.683e-06/0.5173, allocations: 11.92 kB / 415.6 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.5193, allocations: 1.189 MB / 416.8 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-06/0.5193, allocations: 0 / 416.8 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.5198, allocations: 84.58 kB / 416.9 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/0.5201, allocations: 85.09 kB / 416.9 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.5202, allocations: 6.812 kB / 417 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.5218, allocations: 1.662 MB / 418.6 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5219, allocations: 0 / 418.6 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.5235, allocations: 0.8271 MB / 419.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.5238, allocations: 115.8 kB / 419.6 MB, free: 21.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.5239, allocations: 7.797 kB / 419.6 MB, free: 21.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.5242, allocations: 25.75 kB / 419.6 MB, free: 21.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.5243, allocations: 42.66 kB / 419.6 MB, free: 21.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.5243, allocations: 10.88 kB / 419.6 MB, free: 21.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.5245, allocations: 143.3 kB / 419.8 MB, free: 21.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.5245, allocations: 0 / 419.8 MB, free: 21.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006976/0.5252, allocations: 160.5 kB / 419.9 MB, free: 21.72 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.0002566/0.5255, allocations: 148.7 kB / 420.1 MB, free: 21.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.5268, allocations: 0.6089 MB / 420.7 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.959e-06/0.5268, allocations: 0 / 420.7 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.5275, allocations: 402.8 kB / 421.1 MB, free: 21.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.5278, allocations: 27.17 kB / 421.1 MB, free: 21.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.5318, allocations: 1.581 MB / 422.7 MB, free: 20.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.5324, allocations: 0.8225 MB / 423.5 MB, free: 19.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.5326, allocations: 41.86 kB / 423.6 MB, free: 19.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.682e-06/0.5326, allocations: 0 / 423.6 MB, free: 19.64 MB / 330.7 MB Notification: Performance of Templates: time 0.008971/0.5416, allocations: 6.454 MB / 430 MB, free: 16.39 MB / 330.7 MB