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.001441/0.001441, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 65.23 kB / 307.6 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08421/0.08547, allocations: 50.54 MB / 358.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00619/0.09169, allocations: 5.075 MB / 363.2 MB, free: 9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1565/0.2482, allocations: 10.8 MB / 374 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006727/0.2489, allocations: 11.12 kB / 374 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.2508, allocations: 0.6872 MB / 374.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.2536, allocations: 1.013 MB / 375.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.2554, allocations: 0.604 MB / 376.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.2577, allocations: 1.376 MB / 377.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.258, allocations: 178.5 kB / 377.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003597/0.2584, allocations: 286.2 kB / 378.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.2587, allocations: 313.6 kB / 378.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.2587, allocations: 31.91 kB / 378.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.2606, allocations: 0.7553 MB / 379.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.2607, allocations: 107.3 kB / 379.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.2611, allocations: 404.3 kB / 379.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.2628, allocations: 1.261 MB / 381 MB, free: 7.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2628, allocations: 1.984 kB / 381 MB, free: 7.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2628, allocations: 0 / 381 MB, free: 7.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.2628, allocations: 0 / 381 MB, free: 7.957 MB / 302.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.001917/0.2648, allocations: 1.318 MB / 382.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2648, allocations: 10.98 kB / 382.4 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.265, allocations: 116.2 kB / 382.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008777/0.2658, allocations: 0.7463 MB / 383.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2659, allocations: 18.78 kB / 383.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.2659, allocations: 30.91 kB / 383.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.2665, allocations: 315.3 kB / 383.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2666, allocations: 0 / 383.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.2666, allocations: 11.86 kB / 383.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.2666, allocations: 12.08 kB / 383.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006431/0.2673, allocations: 280.6 kB / 383.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.269, allocations: 1.373 MB / 385.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.2697, allocations: 307.7 kB / 385.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.2701, allocations: 238.6 kB / 385.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00318/0.2733, allocations: 2.798 MB / 388.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.2738, allocations: 210.6 kB / 388.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.765e-06/0.2738, allocations: 4 kB / 388.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001419/0.2752, allocations: 0.626 MB / 389.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.2753, allocations: 58.58 kB / 389.5 MB, free: 2.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008473/0.2761, allocations: 0.8076 MB / 390.3 MB, free: 2.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2761, allocations: 32.02 kB / 390.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.2764, allocations: 445.2 kB / 390.7 MB, free: 1.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.2765, allocations: 100 kB / 390.8 MB, free: 1.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2766, allocations: 77.06 kB / 390.9 MB, free: 1.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.2766, allocations: 320.9 kB / 391.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.2769, allocations: 125.5 kB / 391.3 MB, free: 1.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.2773, allocations: 222.5 kB / 391.6 MB, free: 1.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.2788, allocations: 0.7186 MB / 392.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2788, allocations: 1.25 kB / 392.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009259/0.2797, allocations: 0.5115 MB / 392.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2798, allocations: 6.938 kB / 392.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-05/0.2798, allocations: 40.69 kB / 392.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.28, allocations: 26.94 kB / 392.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.2803, allocations: 87.45 kB / 393 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.2814, allocations: 1.457 MB / 394.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.2818, allocations: 43.39 kB / 394.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.2818, allocations: 18.19 kB / 394.5 MB, free: 15.04 MB / 318.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.0003471/0.2822, allocations: 197.7 kB / 394.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2823, allocations: 107.7 kB / 394.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.2834, allocations: 498.1 kB / 395.3 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.2835, allocations: 7.562 kB / 395.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2835, allocations: 0 / 395.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2835, allocations: 1.891 kB / 395.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.2841, allocations: 0.5654 MB / 395.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-05/0.2842, allocations: 31.34 kB / 395.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.2845, allocations: 62.05 kB / 395.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.051e-05/0.2846, allocations: 27.83 kB / 395.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.2847, allocations: 9.5 kB / 396 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00092/0.2856, allocations: 1.444 MB / 397.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2856, allocations: 1.375 kB / 397.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.2868, allocations: 0.6141 MB / 398 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.287, allocations: 182 kB / 398.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-05/0.2871, allocations: 6.469 kB / 398.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.2874, allocations: 19.77 kB / 398.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.2875, allocations: 28.56 kB / 398.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.2875, allocations: 14.14 kB / 398.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006385/0.2882, allocations: 0.5434 MB / 398.8 MB, free: 11.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2882, allocations: 1.125 kB / 398.8 MB, free: 11.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000734/0.2889, allocations: 242.1 kB / 399 MB, free: 11.75 MB / 318.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.0005772/0.2895, allocations: 361 kB / 399.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.2905, allocations: 0.5004 MB / 399.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2905, allocations: 0 / 399.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.2911, allocations: 331.5 kB / 400.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.2917, allocations: 115.8 kB / 400.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.2945, allocations: 1.706 MB / 402 MB, free: 9.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.2949, allocations: 0.9641 MB / 403 MB, free: 9.168 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2951, allocations: 46.97 kB / 403 MB, free: 9.16 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2951, allocations: 0 / 403 MB, free: 9.16 MB / 318.1 MB Notification: Performance of Templates: time 0.01744/0.3125, allocations: 13.98 MB / 417 MB, free: 12.11 MB / 334.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)