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.001102/0.001102, allocations: 110.9 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 215.9 kB / 19.42 MB, free: 3.66 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.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2081, allocations: 50.53 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005347/0.2135, allocations: 5.092 MB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.2243, allocations: 10.8 MB / 425.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004737/0.2248, allocations: 27.75 kB / 425.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.2263, allocations: 0.6981 MB / 426.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.2284, allocations: 1.014 MB / 427.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.2296, allocations: 0.6076 MB / 428.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.2314, allocations: 1.389 MB / 429.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.2317, allocations: 173.2 kB / 429.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.232, allocations: 286.5 kB / 430 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.2323, allocations: 318 kB / 430.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.2324, allocations: 36 kB / 430.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.2337, allocations: 0.7453 MB / 431.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.2338, allocations: 119.2 kB / 431.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.2341, allocations: 397.4 kB / 431.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.2356, allocations: 1.28 MB / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2356, allocations: 4 kB / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2356, allocations: 0 / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2356, allocations: 0 / 432.9 MB, free: 10.52 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.001717/0.2374, allocations: 1.353 MB / 434.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2374, allocations: 8.031 kB / 434.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.2375, allocations: 124.2 kB / 434.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.2385, allocations: 0.7559 MB / 435.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2385, allocations: 20.5 kB / 435.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.2386, allocations: 31.98 kB / 435.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.2392, allocations: 313.4 kB / 435.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2392, allocations: 4 kB / 435.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.2392, allocations: 15.98 kB / 435.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.2393, allocations: 8 kB / 435.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006321/0.2399, allocations: 270.2 kB / 435.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.2417, allocations: 1.373 MB / 437.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.2424, allocations: 298.5 kB / 437.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.2428, allocations: 248.6 kB / 437.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003154/0.246, allocations: 2.802 MB / 440.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/0.2464, allocations: 203.8 kB / 440.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.2464, allocations: 0 / 440.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001419/0.2479, allocations: 0.6393 MB / 441.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.2479, allocations: 55.41 kB / 441.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.2488, allocations: 0.8073 MB / 442.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2488, allocations: 29.7 kB / 442.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.2491, allocations: 452.8 kB / 442.7 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/0.2492, allocations: 107.1 kB / 442.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.2494, allocations: 81.97 kB / 442.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2495, allocations: 321.9 kB / 443.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.2498, allocations: 120.7 kB / 443.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.2501, allocations: 222.5 kB / 443.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.2517, allocations: 0.7156 MB / 444.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2517, allocations: 0 / 444.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009048/0.2526, allocations: 0.5142 MB / 444.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2527, allocations: 4 kB / 444.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-05/0.2527, allocations: 36 kB / 444.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.2529, allocations: 41.14 kB / 444.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.2532, allocations: 79.89 kB / 444.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.2543, allocations: 1.453 MB / 446.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.2546, allocations: 43.77 kB / 446.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.2546, allocations: 12 kB / 446.4 MB, free: 12.11 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.0002632/0.2549, allocations: 201.7 kB / 446.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.255, allocations: 115.4 kB / 446.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.2561, allocations: 496.2 kB / 447.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.2561, allocations: 3.984 kB / 447.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/0.2562, allocations: 32 kB / 447.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.2563, allocations: 192.3 kB / 447.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.2564, allocations: 7.922 kB / 447.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.2567, allocations: 15.98 kB / 447.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.2568, allocations: 27.97 kB / 447.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001107/0.2579, allocations: 478 kB / 447.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001141/0.259, allocations: 0.734 MB / 448.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003063/0.2594, allocations: 147.9 kB / 448.8 MB, free: 9.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000601/0.26, allocations: 0.5426 MB / 449.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of Backend: time 8.82e-07/0.26, allocations: 4 kB / 449.3 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.2617, allocations: 0.8282 MB / 450.2 MB, free: 8.207 MB / 366.1 MB Notification: Performance of SimCode: time 0.002207/0.2639, allocations: 2.005 MB / 452.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of Templates: time 0.01669/0.2806, allocations: 10.18 MB / 462.4 MB, free: 11.98 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)