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.001198/0.001198, allocations: 180.9 kB / 16.38 MB, free: 5.762 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.158/1.158, allocations: 194.5 MB / 211.6 MB, free: 3.066 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.001568/0.001569, allocations: 117.8 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 15.98 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08563, allocations: 44.5 MB / 355.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2493/0.335, allocations: 86.1 MB / 441.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.3352, allocations: 74.58 kB / 441.2 MB, free: 3.637 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08074/0.4159, allocations: 43.73 MB / 485 MB, free: 10.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.416, allocations: 0 / 485 MB, free: 10.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.909e-05/0.4161, allocations: 19.94 kB / 485 MB, free: 10.24 MB / 362.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.0025/0.4186, allocations: 1.285 MB / 486.3 MB, free: 8.906 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4186, allocations: 15.97 kB / 486.3 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.4188, allocations: 118.6 kB / 486.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.4201, allocations: 0.7157 MB / 487.1 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.4201, allocations: 24.5 kB / 487.1 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.4202, allocations: 25.62 kB / 487.2 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.4208, allocations: 325.3 kB / 487.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4208, allocations: 0 / 487.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.4209, allocations: 15.98 kB / 487.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4209, allocations: 19.88 kB / 487.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006171/0.4215, allocations: 294.2 kB / 487.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.4236, allocations: 1.402 MB / 489.2 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.4243, allocations: 322.6 kB / 489.5 MB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004946/0.4293, allocations: 4.196 MB / 493.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.4297, allocations: 192.4 kB / 493.9 MB, free: 460 kB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/0.4297, allocations: 0 / 493.9 MB, free: 460 kB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001676/0.4314, allocations: 0.8483 MB / 494.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.4315, allocations: 55.59 kB / 494.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.4325, allocations: 0.7162 MB / 495.5 MB, free: 14.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.4325, allocations: 33.7 kB / 495.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.4329, allocations: 448.4 kB / 496 MB, free: 14.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/0.433, allocations: 98.64 kB / 496.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.433, allocations: 8 kB / 496.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4332, allocations: 326 kB / 496.4 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.4335, allocations: 124.7 kB / 496.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.4338, allocations: 228.8 kB / 496.8 MB, free: 13.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.4341, allocations: 159.7 kB / 496.9 MB, free: 13.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4342, allocations: 4 kB / 496.9 MB, free: 13.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001002/0.4352, allocations: 0.5334 MB / 497.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4352, allocations: 16.38 kB / 497.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.634e-05/0.4353, allocations: 35.98 kB / 497.5 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.4355, allocations: 54.03 kB / 497.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.4358, allocations: 83.89 kB / 497.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.4378, allocations: 2.66 MB / 0.4886 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.4382, allocations: 51.8 kB / 0.4886 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.4383, allocations: 19.95 kB / 0.4886 GB, free: 9.547 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.0003677/0.4386, allocations: 202.2 kB / 0.4888 GB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4388, allocations: 102.8 kB / 0.4889 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.44, allocations: 0.5302 MB / 0.4895 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.44, allocations: 4 kB / 0.4895 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.44, allocations: 0 / 0.4895 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.44, allocations: 0 / 0.4895 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.4408, allocations: 0.5661 MB / 0.49 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.397e-05/0.4408, allocations: 35.98 kB / 0.49 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.4411, allocations: 47.86 kB / 0.4901 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.4412, allocations: 57.67 kB / 0.4901 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.4413, allocations: 4 kB / 0.4901 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.4432, allocations: 2.653 MB / 0.4927 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4432, allocations: 0 / 0.4927 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.4444, allocations: 0.6387 MB / 0.4934 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.4448, allocations: 191.8 kB / 0.4935 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4449, allocations: 8.531 kB / 0.4936 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.4451, allocations: 19.98 kB / 0.4936 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.4452, allocations: 31.91 kB / 0.4936 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.4453, allocations: 12 kB / 0.4936 GB, free: 4.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000673/0.4459, allocations: 0.5623 MB / 0.4942 GB, free: 3.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4459, allocations: 0 / 0.4942 GB, free: 3.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008186/0.4468, allocations: 283.6 kB / 0.4944 GB, free: 3.223 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.0008544/0.4476, allocations: 435.5 kB / 0.4948 GB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.4487, allocations: 0.6136 MB / 0.4954 GB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4487, allocations: 0 / 0.4954 GB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.4493, allocations: 451.1 kB / 0.4959 GB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.4498, allocations: 89 kB / 0.496 GB, free: 1.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.4524, allocations: 1.743 MB / 0.4977 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.4529, allocations: 0.9758 MB / 0.4986 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.4532, allocations: 93.72 kB / 0.4987 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.4533, allocations: 47.44 kB / 0.4988 GB, free: 14.68 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.4533, allocations: 0 / 0.4988 GB, free: 14.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01686/0.4702, allocations: 9.464 MB / 0.508 GB, free: 5.27 MB / 394.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)