Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 192.1 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2502, allocations: 46.62 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005014/0.2552, allocations: 5.006 MB / 329.7 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.2671, allocations: 10.67 MB / 340.3 MB, free: 4.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008161/0.2681, allocations: 11.94 kB / 340.4 MB, free: 4.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.2701, allocations: 0.6222 MB / 341 MB, free: 3.805 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.2736, allocations: 0.7935 MB / 341.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.2751, allocations: 439.7 kB / 342.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.2773, allocations: 1.299 MB / 343.5 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.2776, allocations: 161.8 kB / 343.7 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.2779, allocations: 254.6 kB / 343.9 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.2782, allocations: 313.9 kB / 344.2 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.2782, allocations: 20 kB / 344.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.2797, allocations: 0.6674 MB / 344.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.2798, allocations: 91.33 kB / 345 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.2801, allocations: 393.4 kB / 345.4 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.2815, allocations: 1.246 MB / 346.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2816, allocations: 4 kB / 346.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2816, allocations: 0 / 346.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.2816, allocations: 0 / 346.6 MB, free: 14.11 MB / 286.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.002052/0.2836, allocations: 1.311 MB / 347.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2837, allocations: 12.03 kB / 347.9 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.2839, allocations: 119.5 kB / 348.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.2849, allocations: 0.7582 MB / 348.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.2849, allocations: 16.56 kB / 348.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.285, allocations: 32 kB / 348.9 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.2856, allocations: 313.3 kB / 349.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2856, allocations: 0 / 349.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.2857, allocations: 12 kB / 349.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2857, allocations: 8 kB / 349.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.2863, allocations: 278.1 kB / 349.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.2882, allocations: 1.369 MB / 350.8 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.2889, allocations: 295 kB / 351.1 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.2894, allocations: 249.9 kB / 351.4 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003955/0.2933, allocations: 3.596 MB / 355 MB, free: 5.016 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/0.2937, allocations: 191.2 kB / 355.2 MB, free: 4.816 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.2938, allocations: 0 / 355.2 MB, free: 4.816 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001553/0.2953, allocations: 0.738 MB / 355.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.2954, allocations: 55.41 kB / 355.9 MB, free: 3.961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/0.2962, allocations: 0.8153 MB / 356.8 MB, free: 3.129 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2963, allocations: 33.7 kB / 356.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.2966, allocations: 448.4 kB / 357.2 MB, free: 2.645 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.233e-05/0.2967, allocations: 106.6 kB / 357.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2968, allocations: 69.94 kB / 357.4 MB, free: 2.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.2969, allocations: 326 kB / 357.7 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.2972, allocations: 116.7 kB / 357.8 MB, free: 2.027 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.2976, allocations: 216.1 kB / 358 MB, free: 1.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.2982, allocations: 368.9 kB / 358.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2982, allocations: 0 / 358.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008914/0.2991, allocations: 0.517 MB / 358.9 MB, free: 0.832 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2991, allocations: 8 kB / 358.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/0.2992, allocations: 36.44 kB / 359 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.2994, allocations: 57.62 kB / 359 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.2997, allocations: 75.88 kB / 359.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.3015, allocations: 2.646 MB / 361.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.3018, allocations: 47.8 kB / 361.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.3019, allocations: 16 kB / 361.8 MB, free: 13.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002556/0.3021, allocations: 201.7 kB / 362 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3022, allocations: 106.8 kB / 362.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.3033, allocations: 489.1 kB / 362.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3033, allocations: 11.97 kB / 362.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3034, allocations: 7.938 kB / 362.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3034, allocations: 0 / 362.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.304, allocations: 0.5545 MB / 363.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.264e-05/0.304, allocations: 31.98 kB / 363.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.3043, allocations: 39.91 kB / 363.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/0.3044, allocations: 49.69 kB / 363.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.3045, allocations: 11.98 kB / 363.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.3062, allocations: 2.65 MB / 365.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3062, allocations: 0 / 365.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3073, allocations: 0.6119 MB / 366.5 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.3075, allocations: 187.7 kB / 366.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.3076, allocations: 4 kB / 366.7 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.3079, allocations: 20.03 kB / 366.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.308, allocations: 23.97 kB / 366.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.308, allocations: 16 kB / 366.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006457/0.3087, allocations: 0.5428 MB / 367.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3087, allocations: 0 / 367.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006879/0.3094, allocations: 235.8 kB / 367.6 MB, free: 7.516 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * 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 (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0005919/0.31, allocations: 356.2 kB / 367.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.311, allocations: 0.5818 MB / 368.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.311, allocations: 4.062 kB / 368.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.3116, allocations: 438.9 kB / 368.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.3121, allocations: 100.3 kB / 369 MB, free: 5.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.3148, allocations: 1.772 MB / 370.8 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.3153, allocations: 0.9522 MB / 371.8 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.3157, allocations: 81.2 kB / 371.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.3157, allocations: 43.44 kB / 371.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3158, allocations: 0 / 371.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01647/0.3322, allocations: 7.988 MB / 379.9 MB, free: 11.08 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)