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.001059/0.001059, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008393/0.008393, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.376/1.376, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.0007166/0.0007165, allocations: 16 kB / 279.4 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2644, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004889/0.2693, allocations: 4.625 MB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.2824, allocations: 10.51 MB / 342.2 MB, free: 4.234 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009983/0.2834, allocations: 12 kB / 342.2 MB, free: 4.223 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.2855, allocations: 0.6223 MB / 342.8 MB, free: 3.598 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.2897, allocations: 0.8013 MB / 343.6 MB, free: 2.789 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.2914, allocations: 435.8 kB / 344 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.2937, allocations: 1.299 MB / 345.3 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.294, allocations: 157.8 kB / 345.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.2944, allocations: 246.6 kB / 345.7 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.2947, allocations: 305.9 kB / 346 MB, free: 348 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.2947, allocations: 20 kB / 346 MB, free: 328 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.2963, allocations: 0.6557 MB / 346.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.2964, allocations: 91.27 kB / 346.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.2967, allocations: 411.1 kB / 347.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.298, allocations: 1.222 MB / 348.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2981, allocations: 0 / 348.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2981, allocations: 4 kB / 348.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.2981, allocations: 0 / 348.4 MB, free: 13.93 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.001849/0.2999, allocations: 1.191 MB / 349.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3, allocations: 8.031 kB / 349.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.3001, allocations: 115.6 kB / 349.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/0.301, allocations: 0.762 MB / 350.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.3011, allocations: 16.56 kB / 350.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.3011, allocations: 28 kB / 350.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.3018, allocations: 333.3 kB / 350.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3018, allocations: 0 / 350.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.3019, allocations: 8 kB / 350.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3019, allocations: 11.98 kB / 350.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.3026, allocations: 298.2 kB / 351.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.3044, allocations: 1.357 MB / 352.5 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.3052, allocations: 326.4 kB / 352.8 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.3057, allocations: 257.9 kB / 353.1 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004224/0.3099, allocations: 3.608 MB / 356.7 MB, free: 4.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004415/0.3104, allocations: 199.3 kB / 356.9 MB, free: 4.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.305e-06/0.3104, allocations: 0 / 356.9 MB, free: 4.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.00176/0.3121, allocations: 0.7662 MB / 357.7 MB, free: 3.863 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.3122, allocations: 59.41 kB / 357.7 MB, free: 3.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009168/0.3131, allocations: 0.8153 MB / 358.5 MB, free: 2.961 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.3132, allocations: 29.7 kB / 358.6 MB, free: 2.926 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.3136, allocations: 448.5 kB / 359 MB, free: 2.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.555e-05/0.3137, allocations: 98.56 kB / 359.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.3137, allocations: 33.7 kB / 359.1 MB, free: 2.344 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3138, allocations: 326 kB / 359.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.3141, allocations: 124.7 kB / 359.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.3145, allocations: 240 kB / 359.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.3152, allocations: 380.9 kB / 360.2 MB, free: 1.199 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3152, allocations: 0 / 360.2 MB, free: 1.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009909/0.3162, allocations: 0.5444 MB / 360.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3162, allocations: 7.938 kB / 360.7 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.948e-05/0.3163, allocations: 32 kB / 360.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.3165, allocations: 50.09 kB / 360.8 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.3169, allocations: 87.89 kB / 360.9 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.3188, allocations: 2.646 MB / 363.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.3191, allocations: 51.7 kB / 363.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.3192, allocations: 20 kB / 363.6 MB, free: 13.48 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.0003363/0.3195, allocations: 209.7 kB / 363.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3197, allocations: 106.8 kB / 363.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3208, allocations: 0.5049 MB / 364.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3208, allocations: 0 / 364.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.3209, allocations: 11.88 kB / 364.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3209, allocations: 0 / 364.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006286/0.3215, allocations: 0.5623 MB / 365 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.12e-05/0.3215, allocations: 32 kB / 365 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.3218, allocations: 47.95 kB / 365.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.322, allocations: 49.73 kB / 365.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.322, allocations: 11.98 kB / 365.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.324, allocations: 2.647 MB / 367.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.324, allocations: 0 / 367.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.3252, allocations: 0.6346 MB / 368.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.3255, allocations: 191.8 kB / 368.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/0.3255, allocations: 7.938 kB / 368.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.3258, allocations: 15.98 kB / 368.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.326, allocations: 32.03 kB / 368.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.326, allocations: 15.98 kB / 368.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009671/0.327, allocations: 0.5467 MB / 369.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.327, allocations: 0 / 369.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000715/0.3277, allocations: 239.6 kB / 369.4 MB, free: 7.234 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.0006272/0.3284, allocations: 360.1 kB / 369.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3296, allocations: 0.6014 MB / 370.4 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3296, allocations: 3.938 kB / 370.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006153/0.3302, allocations: 451 kB / 370.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.3307, allocations: 96.38 kB / 370.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.3334, allocations: 1.828 MB / 372.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.334, allocations: 0.9522 MB / 373.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000299/0.3343, allocations: 93.06 kB / 373.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.3344, allocations: 39.44 kB / 373.8 MB, free: 2.695 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3344, allocations: 0 / 373.8 MB, free: 2.695 MB / 302.1 MB Notification: Performance of Templates: time 0.01626/0.3507, allocations: 7.948 MB / 381.8 MB, free: 10.74 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)