Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001239/0.001239, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.473/1.473, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001745/0.001745, allocations: 108.8 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.402e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08653, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4288, allocations: 86.03 MB / 435.5 MB, free: 7.965 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4291, allocations: 77.12 kB / 435.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07992/0.5091, allocations: 43.59 MB / 479.1 MB, free: 3.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.358e-06/0.5091, allocations: 0 / 479.1 MB, free: 3.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.243e-05/0.5092, allocations: 19.94 kB / 479.1 MB, free: 3.301 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.001985/0.5112, allocations: 1.104 MB / 480.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.5112, allocations: 12.03 kB / 480.3 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.5114, allocations: 114.6 kB / 480.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.5125, allocations: 0.7104 MB / 481.1 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.5125, allocations: 21.62 kB / 481.1 MB, free: 1.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.5126, allocations: 27.11 kB / 481.1 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.5131, allocations: 292.3 kB / 481.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5131, allocations: 0 / 481.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.5132, allocations: 15.61 kB / 481.4 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.5132, allocations: 15.95 kB / 481.4 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.5136, allocations: 227.9 kB / 481.7 MB, free: 1.027 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.5158, allocations: 1.396 MB / 483.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.5162, allocations: 255.4 kB / 483.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.5165, allocations: 215.2 kB / 483.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005504/0.522, allocations: 4.228 MB / 487.8 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003147/0.5224, allocations: 173.5 kB / 487.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.5224, allocations: 0 / 487.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007396/0.5232, allocations: 381.2 kB / 488.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.5232, allocations: 55.59 kB / 488.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009835/0.5242, allocations: 0.7128 MB / 489.1 MB, free: 9.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.5242, allocations: 33.08 kB / 489.1 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.5247, allocations: 459.6 kB / 489.5 MB, free: 9.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/0.5248, allocations: 90.84 kB / 489.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.5248, allocations: 5.875 kB / 489.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.525, allocations: 320 kB / 490 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.5251, allocations: 95.27 kB / 490 MB, free: 9.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.5254, allocations: 196.1 kB / 490.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.5256, allocations: 115.8 kB / 490.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5256, allocations: 4 kB / 490.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000756/0.5264, allocations: 485.5 kB / 490.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5264, allocations: 8.438 kB / 490.8 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.034e-05/0.5264, allocations: 35.98 kB / 490.9 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.5267, allocations: 53.69 kB / 490.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.527, allocations: 79.89 kB / 491 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.5289, allocations: 2.642 MB / 493.6 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.5293, allocations: 51.66 kB / 493.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.5294, allocations: 16 kB / 493.7 MB, free: 5.184 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 () * 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.0001322/0.5295, allocations: 132.9 kB / 493.8 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.5296, allocations: 102.8 kB / 493.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009876/0.5306, allocations: 470.8 kB / 494.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.5306, allocations: 0 / 494.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5306, allocations: 4 kB / 494.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.5307, allocations: 3.984 kB / 494.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006666/0.5313, allocations: 0.5777 MB / 495 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.5314, allocations: 31.95 kB / 495 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.5317, allocations: 55.95 kB / 495.1 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.5318, allocations: 45.69 kB / 495.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.5319, allocations: 8 kB / 495.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.5337, allocations: 2.635 MB / 497.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5337, allocations: 0 / 497.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.5345, allocations: 0.5254 MB / 498.3 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.5348, allocations: 191.8 kB / 498.5 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.047e-05/0.5349, allocations: 4.125 kB / 498.5 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.5351, allocations: 27.92 kB / 498.5 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5352, allocations: 27.97 kB / 498.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.5353, allocations: 15.98 kB / 498.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006816/0.536, allocations: 0.5516 MB / 499.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.536, allocations: 0 / 499.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009039/0.5369, allocations: 283.6 kB / 499.4 MB, free: 15.12 MB / 362.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) * 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.0007033/0.5376, allocations: 441.3 kB / 499.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008208/0.5384, allocations: 0.5342 MB / 0.4886 GB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5385, allocations: 0 / 0.4886 GB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004619/0.5389, allocations: 412.2 kB / 0.489 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.5393, allocations: 92.84 kB / 0.4891 GB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.5413, allocations: 1.134 MB / 0.4902 GB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.5419, allocations: 0.9719 MB / 0.4912 GB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003378/0.5422, allocations: 97.72 kB / 0.4912 GB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.5423, allocations: 47.44 kB / 0.4913 GB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5423, allocations: 0 / 0.4913 GB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.01947/0.5618, allocations: 10.25 MB / 0.5013 GB, free: 1.035 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)