Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001146/0.001146, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.203/1.203, allocations: 170.7 MB / 178.7 MB, free: 6.973 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001588/0.001587, allocations: 97.89 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.02e-05, allocations: 4 kB / 262.2 MB, free: 3.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2049, allocations: 38.76 MB / 301 MB, free: 39.08 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09276/0.2977, allocations: 81.22 MB / 382.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.298, allocations: 73.97 kB / 382.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08597/0.384, allocations: 41.5 MB / 423.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.384, allocations: 0 / 423.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.756e-05/0.3841, allocations: 12 kB / 423.8 MB, free: 4.855 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.002166/0.3863, allocations: 1.104 MB / 424.9 MB, free: 3.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3863, allocations: 8.031 kB / 424.9 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.3866, allocations: 120.1 kB / 425 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3878, allocations: 0.7176 MB / 425.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3879, allocations: 8 kB / 425.7 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.388, allocations: 19.98 kB / 425.8 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004093/0.3884, allocations: 209.3 kB / 426 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.3888, allocations: 257 kB / 426.2 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3889, allocations: 0 / 426.2 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.3889, allocations: 0 / 426.2 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3889, allocations: 4 kB / 426.2 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.3909, allocations: 1.341 MB / 427.6 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.3913, allocations: 227 kB / 427.8 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.3916, allocations: 217.7 kB / 428 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1683/0.56, allocations: 4.22 MB / 432.2 MB, free: 80.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.5603, allocations: 160.8 kB / 432.4 MB, free: 80.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.717e-06/0.5604, allocations: 1.125 kB / 432.4 MB, free: 80.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001009/0.5614, allocations: 430.2 kB / 432.8 MB, free: 80.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.5614, allocations: 55.66 kB / 432.8 MB, free: 80.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/0.5623, allocations: 0.6505 MB / 433.5 MB, free: 80.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.5623, allocations: 32.59 kB / 433.5 MB, free: 80.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.5627, allocations: 450.9 kB / 434 MB, free: 80.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.5628, allocations: 92.33 kB / 434.1 MB, free: 80.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.5628, allocations: 0 / 434.1 MB, free: 80.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.962e-05/0.5628, allocations: 323.2 kB / 434.4 MB, free: 79.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.563, allocations: 82.8 kB / 434.5 MB, free: 79.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.5632, allocations: 186.2 kB / 434.6 MB, free: 79.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.5636, allocations: 171.9 kB / 434.8 MB, free: 79.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.5636, allocations: 3.953 kB / 434.8 MB, free: 79.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008594/0.5645, allocations: 0.4905 MB / 435.3 MB, free: 79.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5645, allocations: 9.844 kB / 435.3 MB, free: 79.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-05/0.5646, allocations: 34.97 kB / 435.3 MB, free: 79.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.5648, allocations: 54.56 kB / 435.4 MB, free: 79.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.5651, allocations: 80.58 kB / 435.5 MB, free: 79.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.5666, allocations: 2.558 MB / 438 MB, free: 77.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.5669, allocations: 39.31 kB / 438.1 MB, free: 77.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.567, allocations: 19.81 kB / 438.1 MB, free: 77.09 MB / 330.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.0001087/0.5671, allocations: 115.6 kB / 438.2 MB, free: 76.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5672, allocations: 108.7 kB / 438.3 MB, free: 76.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.5684, allocations: 0.4903 MB / 438.8 MB, free: 76.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5684, allocations: 1.375 kB / 438.8 MB, free: 76.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5684, allocations: 1.812 kB / 438.8 MB, free: 76.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.5684, allocations: 2.531 kB / 438.8 MB, free: 76.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.5692, allocations: 0.5264 MB / 439.3 MB, free: 76.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-05/0.5692, allocations: 30.39 kB / 439.4 MB, free: 76.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.5695, allocations: 52.17 kB / 439.4 MB, free: 76.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.5697, allocations: 46.34 kB / 439.5 MB, free: 76.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.5697, allocations: 7.547 kB / 439.5 MB, free: 76.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.5709, allocations: 2.553 MB / 442 MB, free: 74.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.571, allocations: 3.453 kB / 442 MB, free: 74.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009399/0.5719, allocations: 0.5721 MB / 442.6 MB, free: 74.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.5721, allocations: 185.3 kB / 442.8 MB, free: 73.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.5722, allocations: 6.328 kB / 442.8 MB, free: 73.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.5725, allocations: 16.69 kB / 442.8 MB, free: 73.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.5726, allocations: 31.39 kB / 442.8 MB, free: 73.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.5726, allocations: 11.81 kB / 442.8 MB, free: 73.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005968/0.5732, allocations: 0.4964 MB / 443.3 MB, free: 73.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5732, allocations: 1.312 kB / 443.3 MB, free: 73.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007495/0.574, allocations: 264.3 kB / 443.6 MB, free: 73.86 MB / 330.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.000759/0.5747, allocations: 0.4976 MB / 444.1 MB, free: 73.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006469/0.5754, allocations: 0.5006 MB / 444.6 MB, free: 73.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5754, allocations: 0 / 444.6 MB, free: 73.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.5758, allocations: 399.2 kB / 445 MB, free: 73.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.5762, allocations: 90.92 kB / 445.1 MB, free: 73.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.578, allocations: 1.112 MB / 446.2 MB, free: 72.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.5784, allocations: 0.9745 MB / 447.2 MB, free: 72.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.5787, allocations: 91.19 kB / 447.3 MB, free: 72.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.5788, allocations: 46.75 kB / 447.3 MB, free: 72.23 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5788, allocations: 0 / 447.3 MB, free: 72.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01307/0.5919, allocations: 7.324 MB / 454.6 MB, free: 71.68 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)