Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009229/0.0009228, allocations: 181.2 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 223.6 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000639/0.000639, allocations: 93.47 kB / 271.9 MB, free: 8.223 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002573, allocations: 12 kB / 328.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1669, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08108/0.248, allocations: 90.46 MB / 466.2 MB, free: 6.133 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.2482, allocations: 83.95 kB / 466.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1963/0.4445, allocations: 43.37 MB / 0.4977 GB, free: 95.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4445, allocations: 0 / 0.4977 GB, free: 95.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.4446, allocations: 16.78 kB / 0.4977 GB, free: 95.57 MB / 378.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.001488/0.4461, allocations: 1.279 MB / 0.499 GB, free: 94.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.4461, allocations: 9.688 kB / 0.499 GB, free: 94.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.4462, allocations: 120 kB / 0.4991 GB, free: 94.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.4469, allocations: 0.7638 MB / 0.4998 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.447, allocations: 19.53 kB / 0.4998 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.447, allocations: 24.28 kB / 0.4999 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.4475, allocations: 335.2 kB / 0.5002 GB, free: 94.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4475, allocations: 3.938 kB / 0.5002 GB, free: 94.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.4476, allocations: 8.75 kB / 0.5002 GB, free: 94.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4476, allocations: 13.77 kB / 0.5002 GB, free: 94.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.4481, allocations: 302.8 kB / 0.5005 GB, free: 94.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.4496, allocations: 1.4 MB / 0.5019 GB, free: 93.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.4501, allocations: 318.6 kB / 0.5022 GB, free: 93.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.4505, allocations: 251.1 kB / 0.5024 GB, free: 93.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/0.4536, allocations: 4.191 MB / 0.5065 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/0.4539, allocations: 202.3 kB / 0.5067 GB, free: 90.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.4539, allocations: 0 / 0.5067 GB, free: 90.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001217/0.4551, allocations: 0.757 MB / 0.5074 GB, free: 89.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.4551, allocations: 55.16 kB / 0.5075 GB, free: 89.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.4558, allocations: 0.8423 MB / 0.5083 GB, free: 89.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.4558, allocations: 29.45 kB / 0.5083 GB, free: 89.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.456, allocations: 448.1 kB / 0.5088 GB, free: 89.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.4561, allocations: 99.02 kB / 0.5089 GB, free: 89.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.4561, allocations: 6.688 kB / 0.5089 GB, free: 89.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.749e-05/0.4562, allocations: 317.9 kB / 0.5092 GB, free: 89.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.4564, allocations: 127.8 kB / 0.5093 GB, free: 89.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.4567, allocations: 240.3 kB / 0.5095 GB, free: 89.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.4571, allocations: 386.2 kB / 0.5099 GB, free: 88.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4571, allocations: 0 / 0.5099 GB, free: 88.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007138/0.4579, allocations: 0.542 MB / 0.5104 GB, free: 88.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4579, allocations: 7.562 kB / 0.5104 GB, free: 88.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/0.4579, allocations: 40.19 kB / 0.5105 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.4581, allocations: 54 kB / 0.5105 GB, free: 88.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.4584, allocations: 79.98 kB / 0.5106 GB, free: 88.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.4596, allocations: 2.647 MB / 0.5132 GB, free: 86.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.4599, allocations: 53.27 kB / 0.5132 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.4599, allocations: 18.97 kB / 0.5132 GB, free: 86.2 MB / 378.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.0002321/0.4601, allocations: 198.9 kB / 0.5134 GB, free: 86.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.4602, allocations: 109.6 kB / 0.5135 GB, free: 86.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009637/0.4612, allocations: 0.51 MB / 0.514 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4612, allocations: 3.594 kB / 0.514 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4612, allocations: 0 / 0.514 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4612, allocations: 3.703 kB / 0.514 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.4617, allocations: 0.565 MB / 0.5146 GB, free: 85.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-05/0.4617, allocations: 31.16 kB / 0.5146 GB, free: 85.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.4619, allocations: 57.91 kB / 0.5147 GB, free: 85.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.4621, allocations: 46 kB / 0.5147 GB, free: 85.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.4621, allocations: 19.17 kB / 0.5147 GB, free: 85.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.4632, allocations: 2.642 MB / 0.5173 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4632, allocations: 6.312 kB / 0.5173 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009107/0.4641, allocations: 0.6336 MB / 0.5179 GB, free: 83.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.4642, allocations: 182.3 kB / 0.5181 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.4643, allocations: 6.688 kB / 0.5181 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4645, allocations: 22.31 kB / 0.5182 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.4646, allocations: 36.19 kB / 0.5182 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.4646, allocations: 11.36 kB / 0.5182 GB, free: 82.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004704/0.4651, allocations: 0.5658 MB / 0.5187 GB, free: 82.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4651, allocations: 0 / 0.5187 GB, free: 82.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006125/0.4657, allocations: 287.8 kB / 0.519 GB, free: 82.71 MB / 378.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.0004817/0.4662, allocations: 442 kB / 0.5194 GB, free: 82.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007588/0.467, allocations: 0.5958 MB / 0.52 GB, free: 82.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.467, allocations: 0 / 0.52 GB, free: 82.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.4674, allocations: 455.5 kB / 0.5205 GB, free: 81.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.4679, allocations: 102.2 kB / 0.5206 GB, free: 81.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.4696, allocations: 1.765 MB / 0.5223 GB, free: 80.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.4699, allocations: 0.9561 MB / 0.5232 GB, free: 80.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.449e-05/0.47, allocations: 50.94 kB / 0.5233 GB, free: 80.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.47, allocations: 0 / 0.5233 GB, free: 80.17 MB / 378.7 MB Notification: Performance of Templates: time 0.01354/0.4835, allocations: 18.16 MB / 0.541 GB, free: 70.19 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)