Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.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.0008541/0.0008544, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005267/0.005267, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0004535/0.0004536, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 47.58 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004678/0.2383, allocations: 4.63 MB / 331.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.2498, allocations: 10.5 MB / 342.2 MB, free: 4.203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007014/0.2505, allocations: 7.938 kB / 342.2 MB, free: 4.195 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.2526, allocations: 0.634 MB / 342.8 MB, free: 3.559 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.2559, allocations: 0.7935 MB / 343.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2571, allocations: 439.7 kB / 344 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.259, allocations: 1.291 MB / 345.3 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.2593, allocations: 161.8 kB / 345.5 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.2597, allocations: 250.6 kB / 345.7 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.26, allocations: 301.9 kB / 346 MB, free: 316 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.2601, allocations: 16 kB / 346 MB, free: 300 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.2615, allocations: 0.6674 MB / 346.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.2616, allocations: 87.33 kB / 346.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.262, allocations: 411.1 kB / 347.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.2633, allocations: 1.226 MB / 348.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2633, allocations: 0 / 348.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2633, allocations: 0 / 348.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.2633, allocations: 0 / 348.4 MB, free: 13.9 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.001989/0.2653, allocations: 1.195 MB / 349.6 MB, free: 12.65 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2653, allocations: 8.031 kB / 349.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.2656, allocations: 115.6 kB / 349.7 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2666, allocations: 0.762 MB / 350.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.2666, allocations: 20.56 kB / 350.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.2667, allocations: 24 kB / 350.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.2674, allocations: 329.3 kB / 350.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2674, allocations: 4 kB / 350.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.2674, allocations: 8 kB / 350.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.2675, allocations: 8 kB / 350.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006806/0.2682, allocations: 298.2 kB / 351.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.2703, allocations: 1.361 MB / 352.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.271, allocations: 322.4 kB / 352.8 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.2715, allocations: 261.9 kB / 353.1 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004241/0.2757, allocations: 3.612 MB / 356.7 MB, free: 4.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004588/0.2762, allocations: 199.3 kB / 356.9 MB, free: 4.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.384e-06/0.2762, allocations: 0 / 356.9 MB, free: 4.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001694/0.2779, allocations: 0.7616 MB / 357.7 MB, free: 3.824 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.278, allocations: 55.34 kB / 357.7 MB, free: 3.758 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009523/0.2789, allocations: 0.8192 MB / 358.5 MB, free: 2.922 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.279, allocations: 37.7 kB / 358.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.2794, allocations: 448.5 kB / 359 MB, free: 2.434 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.2795, allocations: 94.56 kB / 359.1 MB, free: 2.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.2795, allocations: 37.7 kB / 359.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2797, allocations: 326 kB / 359.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.28, allocations: 124.7 kB / 359.6 MB, free: 1.852 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.2803, allocations: 232.1 kB / 359.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.281, allocations: 384.9 kB / 360.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.281, allocations: 0 / 360.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009562/0.282, allocations: 0.5407 MB / 360.7 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.282, allocations: 11.94 kB / 360.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-05/0.2821, allocations: 36 kB / 360.8 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.2823, allocations: 49.69 kB / 360.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.2826, allocations: 79.83 kB / 360.9 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.2846, allocations: 2.651 MB / 363.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.2849, allocations: 51.58 kB / 363.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.285, allocations: 19.94 kB / 363.6 MB, free: 13.43 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.0002433/0.2852, allocations: 209.8 kB / 363.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2853, allocations: 110.8 kB / 363.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.2864, allocations: 0.5049 MB / 364.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2865, allocations: 96 / 364.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2865, allocations: 7.938 kB / 364.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2865, allocations: 3.984 kB / 364.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.287, allocations: 0.5583 MB / 365 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-05/0.2871, allocations: 32 kB / 365 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.2873, allocations: 47.95 kB / 365.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001313/0.2875, allocations: 49.62 kB / 365.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.2875, allocations: 8 kB / 365.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.2894, allocations: 2.65 MB / 367.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2894, allocations: 0 / 367.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.2906, allocations: 0.6346 MB / 368.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.2908, allocations: 183.8 kB / 368.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.2909, allocations: 7.984 kB / 368.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.2911, allocations: 19.98 kB / 368.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.2912, allocations: 27.91 kB / 368.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.2912, allocations: 12 kB / 368.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006378/0.2919, allocations: 0.5467 MB / 369.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2919, allocations: 4.062 kB / 369.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005917/0.2925, allocations: 247.6 kB / 369.5 MB, free: 7.191 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.0005543/0.293, allocations: 349 kB / 369.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.2941, allocations: 0.6091 MB / 370.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2941, allocations: 0 / 370.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.2947, allocations: 454.9 kB / 370.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.2952, allocations: 92.33 kB / 370.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.2976, allocations: 1.828 MB / 372.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.2981, allocations: 0.9522 MB / 373.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002643/0.2984, allocations: 85.2 kB / 373.8 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.2985, allocations: 43.44 kB / 373.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2985, allocations: 0 / 373.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of Templates: time 0.01525/0.3137, allocations: 7.952 MB / 381.8 MB, free: 10.7 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)