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.0009786/0.0009787, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000901/0.000901, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004277/0.0004278, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006217/0.2595, allocations: 4.084 MB / 330.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.2752, allocations: 9.056 MB / 339.6 MB, free: 6.355 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.2764, allocations: 11.94 kB / 339.6 MB, free: 6.344 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.279, allocations: 0.599 MB / 340.2 MB, free: 5.742 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.2835, allocations: 0.8411 MB / 341 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.2854, allocations: 415.3 kB / 341.4 MB, free: 4.488 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002934/0.2884, allocations: 1.249 MB / 342.7 MB, free: 3.238 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.2888, allocations: 147.8 kB / 342.8 MB, free: 3.082 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005838/0.2894, allocations: 238.8 kB / 343.1 MB, free: 2.848 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006162/0.2901, allocations: 278.2 kB / 343.3 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.2902, allocations: 16 kB / 343.4 MB, free: 2.559 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.292, allocations: 0.6674 MB / 344 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.2922, allocations: 83.45 kB / 344.1 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.2925, allocations: 193.1 kB / 344.3 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.2936, allocations: 0.8778 MB / 345.2 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2936, allocations: 0 / 345.2 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2937, allocations: 0 / 345.2 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.568e-05/0.2937, allocations: 3.938 kB / 345.2 MB, free: 0.7305 MB / 270.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.002259/0.296, allocations: 1.203 MB / 346.4 MB, free: 15.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.296, allocations: 12.03 kB / 346.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.2963, allocations: 122.5 kB / 346.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.2977, allocations: 0.6962 MB / 347.2 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.2977, allocations: 20.56 kB / 347.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.2978, allocations: 27.98 kB / 347.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.2985, allocations: 333.3 kB / 347.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2985, allocations: 0 / 347.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.2985, allocations: 12 kB / 347.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.2986, allocations: 15.94 kB / 347.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.2992, allocations: 294.2 kB / 347.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.3011, allocations: 1.368 MB / 349.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.3018, allocations: 318.8 kB / 349.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004177/0.306, allocations: 3.629 MB / 353.2 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.3064, allocations: 200.3 kB / 353.4 MB, free: 7.742 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.3064, allocations: 0 / 353.4 MB, free: 7.742 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001684/0.3081, allocations: 0.8449 MB / 354.2 MB, free: 6.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.3081, allocations: 63.39 kB / 354.3 MB, free: 6.754 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000906/0.3091, allocations: 0.8037 MB / 355.1 MB, free: 5.934 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3091, allocations: 29.7 kB / 355.1 MB, free: 5.898 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.3094, allocations: 448.4 kB / 355.6 MB, free: 5.453 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/0.3095, allocations: 98.64 kB / 355.7 MB, free: 5.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.3096, allocations: 8 kB / 355.7 MB, free: 5.348 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3097, allocations: 322 kB / 356 MB, free: 5.027 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.31, allocations: 128.7 kB / 356.1 MB, free: 4.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.3104, allocations: 232 kB / 356.3 MB, free: 4.629 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.3107, allocations: 148 kB / 356.5 MB, free: 4.484 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3108, allocations: 4 kB / 356.5 MB, free: 4.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009178/0.3117, allocations: 0.5292 MB / 357 MB, free: 3.938 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3117, allocations: 12 kB / 357 MB, free: 3.926 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-05/0.3118, allocations: 35.98 kB / 357.1 MB, free: 3.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.312, allocations: 49.69 kB / 357.1 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.3123, allocations: 87.73 kB / 357.2 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.3142, allocations: 2.654 MB / 359.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.3145, allocations: 51.55 kB / 359.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.3146, allocations: 20.47 kB / 359.9 MB, free: 0.7539 MB / 286.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 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.3148, allocations: 205.8 kB / 360.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/0.3149, allocations: 106.7 kB / 360.2 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.3161, allocations: 0.5203 MB / 360.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3161, allocations: 3.938 kB / 360.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.3161, allocations: 4 kB / 360.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3161, allocations: 3.984 kB / 360.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.3167, allocations: 0.5428 MB / 361.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.254e-05/0.3167, allocations: 31.98 kB / 361.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.317, allocations: 47.91 kB / 361.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.3171, allocations: 57.62 kB / 361.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.3172, allocations: 12 kB / 361.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.3189, allocations: 2.654 MB / 364.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3189, allocations: 0 / 364.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.32, allocations: 0.6321 MB / 364.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.3203, allocations: 179.8 kB / 364.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.3204, allocations: 8 kB / 364.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.3206, allocations: 19.98 kB / 364.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3207, allocations: 32.02 kB / 365 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.3208, allocations: 19.94 kB / 365 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006731/0.3214, allocations: 0.5389 MB / 365.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3215, allocations: 0 / 365.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008185/0.3223, allocations: 243.6 kB / 365.8 MB, free: 10.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008156/0.3231, allocations: 340.1 kB / 366.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.3242, allocations: 0.6049 MB / 366.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3243, allocations: 0 / 366.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005846/0.3249, allocations: 450.9 kB / 367.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.3253, allocations: 92.33 kB / 367.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.3279, allocations: 1.726 MB / 369 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.3286, allocations: 0.9717 MB / 369.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.3289, allocations: 89.2 kB / 370 MB, free: 6.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.634e-05/0.329, allocations: 39.44 kB / 370.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.329, allocations: 0 / 370.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of Templates: time 0.01588/0.3449, allocations: 7.63 MB / 377.7 MB, free: 14.45 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: