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.001087/0.00109, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2215, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005324/0.2269, allocations: 5.096 MB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.2376, allocations: 10.8 MB / 425.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.2381, allocations: 27.75 kB / 425.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.2397, allocations: 0.7059 MB / 426.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.2418, allocations: 0.9958 MB / 427.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.243, allocations: 0.6076 MB / 428.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.2448, allocations: 1.381 MB / 429.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.2451, allocations: 177.2 kB / 429.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.2454, allocations: 290.5 kB / 430 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.2457, allocations: 318 kB / 430.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.2458, allocations: 32 kB / 430.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.247, allocations: 0.7453 MB / 431.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2471, allocations: 115.2 kB / 431.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.2475, allocations: 405.4 kB / 431.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2488, allocations: 1.269 MB / 432.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2488, allocations: 3.984 kB / 432.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2488, allocations: 0 / 432.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.2489, allocations: 4 kB / 432.9 MB, free: 10.54 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.001768/0.2506, allocations: 1.311 MB / 434.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2507, allocations: 8.031 kB / 434.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.2508, allocations: 115.5 kB / 434.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2519, allocations: 0.7471 MB / 435 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.252, allocations: 20.5 kB / 435.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.2521, allocations: 28 kB / 435.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.2527, allocations: 317.3 kB / 435.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2527, allocations: 0 / 435.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.2527, allocations: 12 kB / 435.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.2528, allocations: 15.98 kB / 435.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.2534, allocations: 274.1 kB / 435.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.2553, allocations: 1.365 MB / 437.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.2559, allocations: 302.5 kB / 437.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.2563, allocations: 244.7 kB / 437.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003082/0.2594, allocations: 2.801 MB / 440.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.2598, allocations: 207.8 kB / 440.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.2598, allocations: 0 / 440.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001383/0.2612, allocations: 0.6309 MB / 441.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2613, allocations: 59.41 kB / 441.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008881/0.2622, allocations: 0.8033 MB / 442.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.2622, allocations: 33.69 kB / 442.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.2626, allocations: 452.5 kB / 442.6 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.721e-05/0.2627, allocations: 102.5 kB / 442.7 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.2628, allocations: 73.92 kB / 442.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2629, allocations: 325.9 kB / 443.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.2632, allocations: 116.7 kB / 443.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.2636, allocations: 222.5 kB / 443.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.2651, allocations: 0.7156 MB / 444.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2651, allocations: 0 / 444.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008891/0.266, allocations: 0.502 MB / 444.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.266, allocations: 8 kB / 444.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.519e-05/0.2661, allocations: 40 kB / 444.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.2662, allocations: 33.16 kB / 444.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.2666, allocations: 87.88 kB / 444.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.2676, allocations: 1.449 MB / 446.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.2679, allocations: 47.56 kB / 446.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.268, allocations: 16 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.0002685/0.2683, allocations: 205.8 kB / 446.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2684, allocations: 102.8 kB / 446.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.2694, allocations: 492.1 kB / 447.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2694, allocations: 3.984 kB / 447.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.762e-05/0.2695, allocations: 36 kB / 447.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.2697, allocations: 179.8 kB / 447.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.2698, allocations: 7.938 kB / 447.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.27, allocations: 19.97 kB / 447.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.2701, allocations: 23.97 kB / 447.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001062/0.2712, allocations: 486 kB / 447.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001101/0.2723, allocations: 0.7217 MB / 448.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003054/0.2726, allocations: 151.2 kB / 448.7 MB, free: 9.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006003/0.2732, allocations: 0.5504 MB / 449.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of Backend: time 5.31e-07/0.2732, allocations: 0 / 449.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.2749, allocations: 0.8233 MB / 450 MB, free: 8.332 MB / 366.1 MB Notification: Performance of SimCode: time 0.002178/0.2771, allocations: 1.991 MB / 452 MB, free: 6.281 MB / 366.1 MB Notification: Performance of Templates: time 0.01677/0.2939, allocations: 10.17 MB / 462.2 MB, free: 12.12 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)