Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.0971, allocations: 44.51 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4021/0.4992, allocations: 77.01 MB / 386 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.4996, allocations: 85.45 kB / 386.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06028/0.5599, allocations: 16.02 MB / 402.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5599, allocations: 0 / 402.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.56, allocations: 7.75 kB / 402.1 MB, free: 12.55 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.002294/0.5623, allocations: 0.7839 MB / 402.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5623, allocations: 7.688 kB / 402.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004226/0.5666, allocations: 428.4 kB / 403.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.5672, allocations: 310.5 kB / 403.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.5672, allocations: 42.09 kB / 403.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5674, allocations: 62.88 kB / 403.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.5689, allocations: 0.56 MB / 404.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.569, allocations: 0 / 404.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.5691, allocations: 22.16 kB / 404.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.5691, allocations: 15.62 kB / 404.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.5709, allocations: 0.6423 MB / 405 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004891/0.5758, allocations: 2.07 MB / 407 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/0.5791, allocations: 3.005 MB / 410 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.5794, allocations: 89.25 kB / 410.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.5794, allocations: 38.56 kB / 410.2 MB, free: 6.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.617e-06/0.5794, allocations: 0 / 410.2 MB, free: 6.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.003193/0.5826, allocations: 0.8053 MB / 411 MB, free: 6.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.5827, allocations: 55.72 kB / 411 MB, free: 6.629 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.583, allocations: 207.4 kB / 411.2 MB, free: 6.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/0.5831, allocations: 36.17 kB / 411.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.5832, allocations: 305.2 kB / 411.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.5834, allocations: 168.9 kB / 411.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.5835, allocations: 6.5 kB / 411.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.5835, allocations: 340.4 kB / 412.1 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.5841, allocations: 157.1 kB / 412.2 MB, free: 5.746 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.5846, allocations: 282.5 kB / 412.5 MB, free: 5.594 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.5853, allocations: 191.6 kB / 412.7 MB, free: 5.578 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.5853, allocations: 0 / 412.7 MB, free: 5.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001696/0.587, allocations: 0.5912 MB / 413.3 MB, free: 5.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.5871, allocations: 11.8 kB / 413.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5871, allocations: 3.844 kB / 413.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.5877, allocations: 88.84 kB / 413.4 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/0.5885, allocations: 108.6 kB / 413.5 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.5912, allocations: 1.881 MB / 415.4 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.5918, allocations: 51.83 kB / 415.4 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.5919, allocations: 23.12 kB / 415.4 MB, free: 3.891 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 (58): * Single equations (assignments): 57 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003226/0.5922, allocations: 174.1 kB / 415.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5923, allocations: 31.09 kB / 415.6 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.594, allocations: 0.5568 MB / 416.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5941, allocations: 15.77 kB / 416.2 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5941, allocations: 0 / 416.2 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5941, allocations: 3.984 kB / 416.2 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.5968, allocations: 1.145 MB / 417.4 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5969, allocations: 0 / 417.4 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.5975, allocations: 81.27 kB / 417.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/0.598, allocations: 87.19 kB / 417.5 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.598, allocations: 5.688 kB / 417.5 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.6006, allocations: 1.87 MB / 419.4 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6007, allocations: 12.02 kB / 419.4 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.6028, allocations: 0.8061 MB / 420.2 MB, free: 17.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.603, allocations: 115.2 kB / 420.3 MB, free: 17.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/0.6031, allocations: 10.31 kB / 420.3 MB, free: 17.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.6035, allocations: 23.27 kB / 420.4 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.6036, allocations: 35.11 kB / 420.4 MB, free: 17.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.6037, allocations: 23.45 kB / 420.4 MB, free: 17.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.6039, allocations: 137.5 kB / 420.5 MB, free: 17.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6039, allocations: 0 / 420.5 MB, free: 17.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008561/0.6048, allocations: 166.3 kB / 420.7 MB, free: 17.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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 (44): * Single equations (assignments): 43 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003132/0.6051, allocations: 152.7 kB / 420.9 MB, free: 16.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.6067, allocations: 0.5981 MB / 421.5 MB, free: 16.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6068, allocations: 0 / 421.5 MB, free: 16.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008614/0.6077, allocations: 392.2 kB / 421.8 MB, free: 16.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.6081, allocations: 23.17 kB / 421.9 MB, free: 16.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.6127, allocations: 1.583 MB / 423.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.6132, allocations: 0.8257 MB / 424.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.6135, allocations: 42.2 kB / 424.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6135, allocations: 0 / 424.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of Templates: time 0.01353/0.627, allocations: 6.354 MB / 430.7 MB, free: 11.76 MB / 330.7 MB