Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09775, allocations: 44.5 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.5552, allocations: 86.11 MB / 395.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.5555, allocations: 80.89 kB / 395.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1528/0.7084, allocations: 43.74 MB / 439 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.7085, allocations: 7.938 kB / 439 MB, free: 14.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.27e-05/0.7086, allocations: 12 kB / 439 MB, free: 14.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004926/0.7135, allocations: 1.293 MB / 440.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.7136, allocations: 8.031 kB / 440.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/0.714, allocations: 114.6 kB / 440.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.7165, allocations: 0.7202 MB / 441.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.7166, allocations: 20.25 kB / 441.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.7167, allocations: 27.67 kB / 441.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.7182, allocations: 327.3 kB / 441.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.7182, allocations: 0 / 441.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.7183, allocations: 15.56 kB / 441.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.7184, allocations: 15.94 kB / 441.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.72, allocations: 294.7 kB / 441.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.7245, allocations: 1.401 MB / 443.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.7263, allocations: 322.3 kB / 443.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.7378, allocations: 4.189 MB / 447.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.7389, allocations: 204.2 kB / 447.9 MB, free: 5.492 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 5.24e-06/0.7389, allocations: 0 / 447.9 MB, free: 5.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.003895/0.7429, allocations: 0.8424 MB / 448.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.743, allocations: 58.83 kB / 448.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.7453, allocations: 0.83 MB / 449.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/0.7454, allocations: 36.95 kB / 449.7 MB, free: 3.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006979/0.7462, allocations: 451.7 kB / 450.1 MB, free: 3.719 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.7464, allocations: 99.83 kB / 450.2 MB, free: 3.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.7465, allocations: 11.19 kB / 450.2 MB, free: 3.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.7467, allocations: 320.7 kB / 450.5 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008056/0.7475, allocations: 125.2 kB / 450.7 MB, free: 3.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008825/0.7484, allocations: 230.2 kB / 450.9 MB, free: 3.004 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008703/0.7493, allocations: 151.6 kB / 451 MB, free: 2.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.7493, allocations: 4 kB / 451 MB, free: 2.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002674/0.752, allocations: 0.5474 MB / 451.6 MB, free: 2.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.7521, allocations: 4 kB / 451.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/0.7523, allocations: 35.94 kB / 451.6 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.7527, allocations: 54.94 kB / 451.7 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/0.7537, allocations: 84.03 kB / 451.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005954/0.7596, allocations: 2.658 MB / 454.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.7608, allocations: 54.06 kB / 454.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.5e-05/0.7609, allocations: 16 kB / 454.5 MB, free: 15.42 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006764/0.7616, allocations: 200.5 kB / 454.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.7618, allocations: 106.7 kB / 454.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.7646, allocations: 0.5204 MB / 455.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.7647, allocations: 4 kB / 455.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7647, allocations: 4 kB / 455.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.7647, allocations: 3.984 kB / 455.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.766, allocations: 0.572 MB / 455.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001042/0.7662, allocations: 31.95 kB / 455.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.7668, allocations: 47.95 kB / 456 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.7671, allocations: 47.25 kB / 456 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.7672, allocations: 19.42 kB / 456 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/0.7709, allocations: 2.646 MB / 458.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.771, allocations: 0 / 458.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.774, allocations: 0.6322 MB / 459.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.7746, allocations: 189.1 kB / 459.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.7748, allocations: 8.484 kB / 459.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/0.7755, allocations: 26.38 kB / 459.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.7757, allocations: 27.41 kB / 459.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.7757, allocations: 12.8 kB / 459.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001625/0.7774, allocations: 0.5646 MB / 460.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7774, allocations: 0 / 460.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005706/0.7831, allocations: 280.8 kB / 460.4 MB, free: 9.879 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002912/0.7861, allocations: 445 kB / 460.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002256/0.7883, allocations: 0.6055 MB / 461.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7884, allocations: 7.938 kB / 461.5 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.7897, allocations: 449 kB / 461.9 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006369/0.7961, allocations: 87.7 kB / 462 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.8089, allocations: 1.749 MB / 463.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004401/0.8134, allocations: 0.9719 MB / 464.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007548/0.8142, allocations: 93.73 kB / 464.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.8144, allocations: 43.44 kB / 464.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8144, allocations: 4 kB / 464.8 MB, free: 5.605 MB / 346.7 MB Notification: Performance of Templates: time 0.05192/0.8663, allocations: 9.549 MB / 474.4 MB, free: 12.07 MB / 362.7 MB