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.000797/0.000797, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008906/0.0008909, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002344/0.0002346, allocations: 8 kB / 308.4 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09111, allocations: 51.52 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004869/0.09602, allocations: 4.7 MB / 364.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1828/0.2788, allocations: 10.86 MB / 375.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006679/0.2795, allocations: 9.25 kB / 375.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.2814, allocations: 0.6434 MB / 376.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.2844, allocations: 0.8097 MB / 376.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.2862, allocations: 443.3 kB / 377.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.2885, allocations: 1.339 MB / 378.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.2888, allocations: 159.2 kB / 378.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.2891, allocations: 266.2 kB / 379.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.2894, allocations: 299.9 kB / 379.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.2895, allocations: 17.06 kB / 379.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.2912, allocations: 0.7386 MB / 380.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.2913, allocations: 92.67 kB / 380.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.2916, allocations: 413.9 kB / 380.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.2927, allocations: 0.8978 MB / 381.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2927, allocations: 1.469 kB / 381.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2927, allocations: 0 / 381.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.2927, allocations: 0 / 381.6 MB, free: 8.039 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.001646/0.2944, allocations: 1.197 MB / 382.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2944, allocations: 8.781 kB / 382.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2945, allocations: 118 kB / 382.9 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008394/0.2954, allocations: 0.7402 MB / 383.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.2954, allocations: 21.42 kB / 383.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.2955, allocations: 29.75 kB / 383.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.2961, allocations: 332.3 kB / 384 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2961, allocations: 3.938 kB / 384 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.2961, allocations: 10.56 kB / 384 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.2962, allocations: 7.578 kB / 384 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.2968, allocations: 300.2 kB / 384.3 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.2986, allocations: 1.378 MB / 385.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.2993, allocations: 327.5 kB / 386 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.2997, allocations: 249.7 kB / 386.3 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003159/0.3029, allocations: 2.804 MB / 389.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.3033, allocations: 222 kB / 389.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.3033, allocations: 0 / 389.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001406/0.3048, allocations: 0.6569 MB / 389.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.3048, allocations: 65.73 kB / 390 MB, free: 3.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/0.3057, allocations: 0.808 MB / 390.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3057, allocations: 31.05 kB / 390.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.306, allocations: 444.4 kB / 391.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.306, allocations: 109.4 kB / 391.4 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.3061, allocations: 33.61 kB / 391.4 MB, free: 2.316 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.3061, allocations: 323.1 kB / 391.7 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.3064, allocations: 138.3 kB / 391.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.3068, allocations: 224.2 kB / 392.1 MB, free: 1.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.3083, allocations: 0.7603 MB / 392.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3083, allocations: 1.406 kB / 392.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009212/0.3092, allocations: 0.5295 MB / 393.4 MB, free: 1.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3092, allocations: 6.391 kB / 393.4 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-05/0.3093, allocations: 40.53 kB / 393.4 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.3094, allocations: 27.94 kB / 393.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.3098, allocations: 90.22 kB / 393.5 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/0.3106, allocations: 1.349 MB / 394.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.3109, allocations: 52.19 kB / 394.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.311, allocations: 19.25 kB / 394.9 MB, free: 15.82 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.0003033/0.3113, allocations: 208 kB / 395.2 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3114, allocations: 108 kB / 395.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.3125, allocations: 0.505 MB / 395.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3125, allocations: 6.688 kB / 395.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3126, allocations: 1.375 kB / 395.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3126, allocations: 1.172 kB / 395.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.3132, allocations: 0.5709 MB / 396.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.004e-05/0.3133, allocations: 40.98 kB / 396.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.3136, allocations: 61.33 kB / 396.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-05/0.3137, allocations: 27.84 kB / 396.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.3137, allocations: 9.484 kB / 396.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009928/0.3147, allocations: 1.337 MB / 397.8 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3148, allocations: 0 / 397.8 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.316, allocations: 0.6446 MB / 398.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.3162, allocations: 180.2 kB / 398.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.3163, allocations: 6.719 kB / 398.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.3165, allocations: 21.08 kB / 398.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.3166, allocations: 37.14 kB / 398.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.3166, allocations: 12.06 kB / 398.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000646/0.3173, allocations: 0.5447 MB / 399.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3173, allocations: 0 / 399.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007569/0.3181, allocations: 242.1 kB / 399.5 MB, free: 12.57 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.0005875/0.3187, allocations: 357.5 kB / 399.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3197, allocations: 0.5023 MB / 400.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3197, allocations: 0 / 400.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.3202, allocations: 338.5 kB / 400.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.3208, allocations: 118 kB / 400.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.3237, allocations: 2.036 MB / 402.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.3242, allocations: 0.9615 MB / 403.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3243, allocations: 49.66 kB / 403.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3243, allocations: 0 / 403.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of Templates: time 0.02013/0.3445, allocations: 13.87 MB / 417.7 MB, free: 12.65 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)