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.001049/0.001049, allocations: 185.2 kB / 8.359 MB, free: 0.6953 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.368/1.368, allocations: 194.3 MB / 203.1 MB, free: 9.328 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001774/0.001774, allocations: 116.7 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.266e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09358, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3248/0.4184, allocations: 85.35 MB / 427.9 MB, free: 10.72 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4187, allocations: 78 kB / 428 MB, free: 10.69 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07804/0.4967, allocations: 41.06 MB / 469.1 MB, free: 9.133 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4968, allocations: 4 kB / 469.1 MB, free: 9.129 MB / 347.1 MB Notification: Performance of Transformations before backend: time 6.72e-05/0.4969, allocations: 12 kB / 469.1 MB, free: 9.117 MB / 347.1 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.002561/0.4994, allocations: 1.101 MB / 470.2 MB, free: 7.969 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4995, allocations: 12.03 kB / 470.2 MB, free: 7.957 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.4997, allocations: 110.7 kB / 470.3 MB, free: 7.848 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.5011, allocations: 0.7243 MB / 471 MB, free: 7.066 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.5011, allocations: 8 kB / 471 MB, free: 7.059 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.5012, allocations: 17.38 kB / 471 MB, free: 7.043 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004359/0.5016, allocations: 215.2 kB / 471.3 MB, free: 6.836 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.5021, allocations: 249.1 kB / 471.5 MB, free: 6.586 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5021, allocations: 0 / 471.5 MB, free: 6.586 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.5021, allocations: 3.953 kB / 471.5 MB, free: 6.582 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.5022, allocations: 12.88 kB / 471.5 MB, free: 6.57 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.5044, allocations: 1.33 MB / 472.8 MB, free: 5.164 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.5048, allocations: 239 kB / 473.1 MB, free: 4.922 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.5051, allocations: 214.1 kB / 473.3 MB, free: 4.711 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005242/0.5104, allocations: 4.227 MB / 477.5 MB, free: 15.82 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.5107, allocations: 157.9 kB / 477.7 MB, free: 15.66 MB / 363.1 MB Notification: Performance of pre-optimization done (n=29): time 2.615e-06/0.5107, allocations: 0 / 477.7 MB, free: 15.66 MB / 363.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009174/0.5116, allocations: 436.1 kB / 478.1 MB, free: 15.23 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.5117, allocations: 59.58 kB / 478.1 MB, free: 15.16 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/0.5126, allocations: 0.6453 MB / 478.8 MB, free: 14.5 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.5126, allocations: 25.7 kB / 478.8 MB, free: 14.46 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.513, allocations: 452.6 kB / 479.3 MB, free: 14.02 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.5131, allocations: 94.56 kB / 479.4 MB, free: 13.93 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.5132, allocations: 0 / 479.4 MB, free: 13.93 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5133, allocations: 326 kB / 479.7 MB, free: 13.6 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.5135, allocations: 84.77 kB / 479.8 MB, free: 13.52 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.5138, allocations: 187.8 kB / 479.9 MB, free: 13.29 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.5142, allocations: 184.8 kB / 480.1 MB, free: 13.11 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5142, allocations: 0 / 480.1 MB, free: 13.11 MB / 363.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009077/0.5151, allocations: 0.4902 MB / 480.6 MB, free: 12.61 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5151, allocations: 4 kB / 480.6 MB, free: 12.61 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-05/0.5152, allocations: 32 kB / 480.6 MB, free: 12.57 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.5154, allocations: 53.69 kB / 480.7 MB, free: 12.52 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.5158, allocations: 83.81 kB / 480.8 MB, free: 12.43 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.5178, allocations: 2.557 MB / 483.3 MB, free: 9.641 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.5182, allocations: 39.7 kB / 483.4 MB, free: 9.602 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.5182, allocations: 16 kB / 483.4 MB, free: 9.586 MB / 363.1 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.0001484/0.5184, allocations: 124.7 kB / 483.5 MB, free: 9.457 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5185, allocations: 102.8 kB / 483.6 MB, free: 9.355 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.5197, allocations: 499.3 kB / 484.1 MB, free: 8.863 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5197, allocations: 0 / 484.1 MB, free: 8.863 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5197, allocations: 7.953 kB / 484.1 MB, free: 8.855 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5197, allocations: 3.984 kB / 484.1 MB, free: 8.852 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.5204, allocations: 0.5226 MB / 484.6 MB, free: 8.297 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.416e-05/0.5205, allocations: 31.98 kB / 484.7 MB, free: 8.266 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.5207, allocations: 47.89 kB / 484.7 MB, free: 8.219 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.5209, allocations: 49.69 kB / 484.8 MB, free: 8.164 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.521, allocations: 7.984 kB / 484.8 MB, free: 8.156 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.5228, allocations: 2.556 MB / 487.3 MB, free: 5.375 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5228, allocations: 3.953 kB / 487.3 MB, free: 5.371 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.5239, allocations: 0.5799 MB / 487.9 MB, free: 4.766 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.5241, allocations: 179.9 kB / 488.1 MB, free: 4.57 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5243, allocations: 4 kB / 488.1 MB, free: 4.566 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.5245, allocations: 19.97 kB / 488.1 MB, free: 4.547 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.5246, allocations: 27.97 kB / 488.1 MB, free: 4.52 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.5247, allocations: 11.98 kB / 488.1 MB, free: 4.508 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0006845/0.5254, allocations: 0.4997 MB / 488.6 MB, free: 4 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5254, allocations: 0 / 488.6 MB, free: 4 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0008506/0.5262, allocations: 263.5 kB / 488.9 MB, free: 3.742 MB / 363.1 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.000974/0.5272, allocations: 0.4934 MB / 489.4 MB, free: 3.242 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0007696/0.528, allocations: 0.501 MB / 489.9 MB, free: 2.715 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.528, allocations: 0 / 489.9 MB, free: 2.715 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.5284, allocations: 398.9 kB / 490.3 MB, free: 2.301 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.5289, allocations: 92.75 kB / 490.4 MB, free: 2.211 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.531, allocations: 1.101 MB / 491.5 MB, free: 1.082 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.5316, allocations: 0.9797 MB / 492.5 MB, free: 76 kB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.5319, allocations: 93.64 kB / 492.5 MB, free: 15.98 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/0.532, allocations: 47.44 kB / 492.6 MB, free: 15.93 MB / 379.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5321, allocations: 0 / 492.6 MB, free: 15.93 MB / 379.1 MB Notification: Performance of Templates: time 0.01669/0.5488, allocations: 7.337 MB / 499.9 MB, free: 8.637 MB / 379.1 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)