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.006918/0.006918, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.295/1.295, allocations: 170.8 MB / 186.6 MB, free: 0.9609 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.001599/0.001599, allocations: 110.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003479, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1995, allocations: 38.77 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09576/0.2953, allocations: 81.97 MB / 394.9 MB, free: 8.527 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.2956, allocations: 79.89 kB / 394.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2355/0.531, allocations: 44.18 MB / 439.1 MB, free: 77.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.558e-06/0.5311, allocations: 0 / 439.1 MB, free: 77.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.521e-05/0.5311, allocations: 16.06 kB / 439.1 MB, free: 77.5 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002417/0.5336, allocations: 1.293 MB / 440.4 MB, free: 76.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.5336, allocations: 11.56 kB / 440.4 MB, free: 76.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.5338, allocations: 117.8 kB / 440.6 MB, free: 76.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.5348, allocations: 0.7236 MB / 441.3 MB, free: 76.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5348, allocations: 16.62 kB / 441.3 MB, free: 76.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.5348, allocations: 27.66 kB / 441.3 MB, free: 76.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.5354, allocations: 336.2 kB / 441.6 MB, free: 76.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5354, allocations: 0 / 441.6 MB, free: 76.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.5355, allocations: 10.75 kB / 441.7 MB, free: 76.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.5355, allocations: 6.719 kB / 441.7 MB, free: 76.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.536, allocations: 297.4 kB / 442 MB, free: 76.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.5378, allocations: 1.405 MB / 443.4 MB, free: 75.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.5384, allocations: 311.8 kB / 443.7 MB, free: 75.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004297/0.5427, allocations: 4.201 MB / 447.9 MB, free: 71.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/0.5431, allocations: 204.5 kB / 448.1 MB, free: 71.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.477e-06/0.5431, allocations: 0 / 448.1 MB, free: 71.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001542/0.5447, allocations: 0.8358 MB / 448.9 MB, free: 70.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.5447, allocations: 55.58 kB / 449 MB, free: 70.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008643/0.5456, allocations: 0.7262 MB / 449.7 MB, free: 70.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.5456, allocations: 29.7 kB / 449.7 MB, free: 70.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.5459, allocations: 445.6 kB / 450.1 MB, free: 69.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.546, allocations: 99.91 kB / 450.2 MB, free: 69.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.546, allocations: 8 kB / 450.2 MB, free: 69.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.731e-05/0.5461, allocations: 321 kB / 450.6 MB, free: 69.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.5464, allocations: 127.2 kB / 450.7 MB, free: 69.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.5467, allocations: 238.9 kB / 450.9 MB, free: 69.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.547, allocations: 158.8 kB / 451.1 MB, free: 69.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.547, allocations: 0 / 451.1 MB, free: 69.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008968/0.5479, allocations: 0.5345 MB / 451.6 MB, free: 69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.5479, allocations: 8.547 kB / 451.6 MB, free: 68.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.921e-05/0.548, allocations: 36.88 kB / 451.7 MB, free: 68.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.5482, allocations: 58.44 kB / 451.7 MB, free: 68.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.5485, allocations: 84.69 kB / 451.8 MB, free: 68.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.5499, allocations: 2.664 MB / 454.5 MB, free: 66.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.5503, allocations: 54.09 kB / 454.5 MB, free: 66.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.5504, allocations: 22.47 kB / 454.5 MB, free: 66.23 MB / 314.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.0003685/0.5508, allocations: 196.2 kB / 454.7 MB, free: 66.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5509, allocations: 108 kB / 454.8 MB, free: 66.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.552, allocations: 0.5154 MB / 455.3 MB, free: 65.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.552, allocations: 0 / 455.3 MB, free: 65.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.552, allocations: 7.312 kB / 455.4 MB, free: 65.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.552, allocations: 3.953 kB / 455.4 MB, free: 65.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.5526, allocations: 0.5657 MB / 455.9 MB, free: 65.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-05/0.5526, allocations: 26.41 kB / 455.9 MB, free: 65.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.5529, allocations: 53.2 kB / 456 MB, free: 65.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.5531, allocations: 47.25 kB / 456 MB, free: 65.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.5531, allocations: 19.02 kB / 456.1 MB, free: 65.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.5543, allocations: 2.66 MB / 458.7 MB, free: 62.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5543, allocations: 4.031 kB / 458.7 MB, free: 62.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.5554, allocations: 0.6278 MB / 459.4 MB, free: 61.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.5556, allocations: 199.7 kB / 459.6 MB, free: 61.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/0.5557, allocations: 0 / 459.6 MB, free: 61.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.556, allocations: 27.98 kB / 459.6 MB, free: 61.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.5561, allocations: 31.95 kB / 459.6 MB, free: 61.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.5561, allocations: 8 kB / 459.6 MB, free: 61.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005549/0.5566, allocations: 0.5662 MB / 460.2 MB, free: 60.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5567, allocations: 0 / 460.2 MB, free: 60.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008/0.5575, allocations: 279.6 kB / 460.5 MB, free: 60.68 MB / 314.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.0006742/0.5581, allocations: 441.5 kB / 460.9 MB, free: 60.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009141/0.5591, allocations: 0.6011 MB / 461.5 MB, free: 59.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5591, allocations: 0 / 461.5 MB, free: 59.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.5596, allocations: 446.2 kB / 461.9 MB, free: 59.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.56, allocations: 106.5 kB / 462 MB, free: 59.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.5624, allocations: 1.739 MB / 463.8 MB, free: 57.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.5627, allocations: 0.9719 MB / 464.7 MB, free: 56.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.5631, allocations: 93.73 kB / 464.8 MB, free: 56.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.5631, allocations: 47.42 kB / 464.9 MB, free: 56.13 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5632, allocations: 0 / 464.9 MB, free: 56.13 MB / 314.7 MB Notification: Performance of Templates: time 0.01569/0.5788, allocations: 9.468 MB / 474.3 MB, free: 46.69 MB / 314.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)