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.001313/0.001313, allocations: 111.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 209.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2461, allocations: 50.55 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005636/0.2518, allocations: 5.084 MB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.2633, allocations: 10.81 MB / 425.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009195/0.2643, allocations: 27.75 kB / 425.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.266, allocations: 0.6942 MB / 426.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.2687, allocations: 1.011 MB / 427.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.2703, allocations: 0.6076 MB / 428.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00204/0.2723, allocations: 1.377 MB / 429.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.2726, allocations: 177.2 kB / 429.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.273, allocations: 282.6 kB / 430 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.2733, allocations: 329.8 kB / 430.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.2734, allocations: 32 kB / 430.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.2748, allocations: 0.7453 MB / 431.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.2749, allocations: 111.3 kB / 431.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.2752, allocations: 401.4 kB / 431.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.2767, allocations: 1.273 MB / 432.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2767, allocations: 0 / 432.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2767, allocations: 0 / 432.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.2767, allocations: 0 / 432.8 MB, free: 10.57 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.001812/0.2785, allocations: 1.319 MB / 434.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2786, allocations: 8.031 kB / 434.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.2787, allocations: 119.5 kB / 434.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/0.2797, allocations: 0.7471 MB / 435 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.2798, allocations: 20.5 kB / 435.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.2798, allocations: 31.98 kB / 435.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.2805, allocations: 309.4 kB / 435.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2805, allocations: 3.984 kB / 435.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.2805, allocations: 19.94 kB / 435.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.2805, allocations: 8 kB / 435.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.2812, allocations: 270.2 kB / 435.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.283, allocations: 1.361 MB / 437 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.2837, allocations: 298.5 kB / 437.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.2841, allocations: 248.6 kB / 437.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003191/0.2873, allocations: 2.805 MB / 440.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/0.2878, allocations: 203.8 kB / 440.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.2878, allocations: 0 / 440.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001461/0.2892, allocations: 0.6348 MB / 441.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.2893, allocations: 59.39 kB / 441.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008589/0.2902, allocations: 0.8111 MB / 442.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2902, allocations: 33.64 kB / 442.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.2905, allocations: 440.5 kB / 442.6 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.2906, allocations: 98.56 kB / 442.6 MB, free: 88 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2907, allocations: 81.92 kB / 442.7 MB, free: 0 / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2909, allocations: 325.9 kB / 443 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.2912, allocations: 116.7 kB / 443.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.2916, allocations: 222.5 kB / 443.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.2931, allocations: 0.7156 MB / 444.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2931, allocations: 0 / 444.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00091/0.2941, allocations: 0.506 MB / 444.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2941, allocations: 4 kB / 444.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.862e-05/0.2941, allocations: 39.98 kB / 444.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.2943, allocations: 32.84 kB / 444.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.2947, allocations: 92.14 kB / 444.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.2959, allocations: 1.449 MB / 446.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.2962, allocations: 47.58 kB / 446.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.2963, allocations: 12 kB / 446.3 MB, free: 12.22 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.0002938/0.2966, allocations: 205.7 kB / 446.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.2967, allocations: 102.8 kB / 446.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.2977, allocations: 0.4884 MB / 447.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2978, allocations: 11.94 kB / 447.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2978, allocations: 0 / 447.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2978, allocations: 0 / 447.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.2984, allocations: 0.5658 MB / 447.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.021e-05/0.2985, allocations: 32 kB / 447.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.2988, allocations: 51.95 kB / 447.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.439e-05/0.299, allocations: 36.77 kB / 447.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.299, allocations: 8 kB / 447.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.3, allocations: 1.437 MB / 449.2 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3, allocations: 3.938 kB / 449.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.3012, allocations: 0.6143 MB / 449.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.3014, allocations: 187.8 kB / 450 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.292e-05/0.3015, allocations: 8 kB / 450 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.3018, allocations: 11.98 kB / 450 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.3019, allocations: 27.97 kB / 450.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.3019, allocations: 19.92 kB / 450.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005728/0.3025, allocations: 0.5387 MB / 450.6 MB, free: 7.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3025, allocations: 0 / 450.6 MB, free: 7.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000613/0.3031, allocations: 243.7 kB / 450.8 MB, free: 7.379 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.0005569/0.3037, allocations: 363.5 kB / 451.2 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009312/0.3046, allocations: 0.4897 MB / 451.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3046, allocations: 0 / 451.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.3051, allocations: 340.1 kB / 452 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.3057, allocations: 122.5 kB / 452.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.3085, allocations: 1.686 MB / 453.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.3091, allocations: 0.9528 MB / 454.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3092, allocations: 51.44 kB / 454.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3092, allocations: 0 / 454.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of Templates: time 0.01747/0.3267, allocations: 14.06 MB / 468.9 MB, free: 5.223 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)