Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002698/0.002698, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.493/2.493, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.397, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.01035/0.4075, allocations: 5.081 MB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02352/0.431, allocations: 10.79 MB / 425.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.4325, allocations: 27.75 kB / 425.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00366/0.4362, allocations: 0.6981 MB / 426.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006285/0.4426, allocations: 1.004 MB / 427.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.446, allocations: 0.6076 MB / 428.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004181/0.4503, allocations: 1.381 MB / 429.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005303/0.4508, allocations: 181.2 kB / 429.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006767/0.4515, allocations: 286.5 kB / 430 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006164/0.4522, allocations: 322 kB / 430.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.823e-05/0.4523, allocations: 32 kB / 430.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.4552, allocations: 0.7531 MB / 431.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.4554, allocations: 107.3 kB / 431.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006716/0.4561, allocations: 401.4 kB / 431.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.4591, allocations: 1.273 MB / 432.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.4591, allocations: 0 / 432.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4592, allocations: 4 kB / 432.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.4592, allocations: 0 / 432.8 MB, free: 10.55 MB / 350.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.003281/0.4625, allocations: 1.319 MB / 434.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4625, allocations: 8.031 kB / 434.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.4628, allocations: 115.5 kB / 434.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.4647, allocations: 0.7471 MB / 435 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.4648, allocations: 24.48 kB / 435.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4649, allocations: 32 kB / 435.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.4661, allocations: 321.3 kB / 435.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.4661, allocations: 0 / 435.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/0.4662, allocations: 8 kB / 435.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.4662, allocations: 12 kB / 435.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.4684, allocations: 274.2 kB / 435.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.472, allocations: 1.361 MB / 437 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.4734, allocations: 302.5 kB / 437.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008091/0.4742, allocations: 244.7 kB / 437.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006251/0.4805, allocations: 2.809 MB / 440.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006128/0.4811, allocations: 199.8 kB / 440.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.987e-06/0.4812, allocations: 0 / 440.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002061/0.4832, allocations: 0.6348 MB / 441.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.4833, allocations: 55.41 kB / 441.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.485, allocations: 0.8072 MB / 442.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.4851, allocations: 29.7 kB / 442.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/0.4857, allocations: 452.5 kB / 442.6 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.4859, allocations: 102.5 kB / 442.7 MB, free: 60 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.4862, allocations: 77.92 kB / 442.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4863, allocations: 321.9 kB / 443 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.4869, allocations: 120.7 kB / 443.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.4876, allocations: 226.5 kB / 443.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.4906, allocations: 0.7117 MB / 444.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4907, allocations: 0 / 444.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001638/0.4923, allocations: 0.502 MB / 444.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.4924, allocations: 4 kB / 444.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.77e-05/0.4925, allocations: 44.36 kB / 444.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.4927, allocations: 36.78 kB / 444.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.4933, allocations: 83.88 kB / 444.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.4949, allocations: 1.441 MB / 446.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.4957, allocations: 43.58 kB / 446.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.4958, allocations: 19.98 kB / 446.3 MB, free: 12.2 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005613/0.4964, allocations: 209.8 kB / 446.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.4966, allocations: 106.8 kB / 446.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.4986, allocations: 496.1 kB / 447.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4986, allocations: 4 kB / 447.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4986, allocations: 0 / 447.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4987, allocations: 3.938 kB / 447.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4998, allocations: 0.5736 MB / 447.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.611e-05/0.4999, allocations: 36 kB / 447.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.5006, allocations: 59.88 kB / 447.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.5008, allocations: 32.84 kB / 447.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.5009, allocations: 4 kB / 447.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.5026, allocations: 1.441 MB / 449.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5026, allocations: 0 / 449.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.5048, allocations: 0.6181 MB / 449.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.5053, allocations: 183.8 kB / 450 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.5054, allocations: 4 kB / 450 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.5059, allocations: 15.98 kB / 450 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.5061, allocations: 31.95 kB / 450.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.5061, allocations: 8 kB / 450.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001204/0.5074, allocations: 0.5465 MB / 450.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5074, allocations: 0 / 450.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001167/0.5086, allocations: 243.7 kB / 450.8 MB, free: 7.352 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009989/0.5096, allocations: 356.3 kB / 451.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.5114, allocations: 496.8 kB / 451.7 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5114, allocations: 0 / 451.7 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008774/0.5123, allocations: 336.2 kB / 452 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.5135, allocations: 132.5 kB / 452.1 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.5187, allocations: 1.689 MB / 453.8 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/0.5194, allocations: 0.9567 MB / 454.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.5197, allocations: 47.42 kB / 454.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5197, allocations: 0 / 454.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of Templates: time 0.03423/0.5539, allocations: 14.2 MB / 469 MB, free: 5.062 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)