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.0008483/0.0008484, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008791/0.0008791, allocations: 168.7 kB / 15.95 MB, free: 204 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.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0006935/0.0006935, allocations: 15.98 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2683, allocations: 47.59 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004851/0.2733, allocations: 4.335 MB / 330.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2866, allocations: 9.516 MB / 340.3 MB, free: 5.602 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.2877, allocations: 7.938 kB / 340.3 MB, free: 5.594 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.2898, allocations: 0.5711 MB / 340.9 MB, free: 5.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.2937, allocations: 0.7414 MB / 341.7 MB, free: 4.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2951, allocations: 399 kB / 342 MB, free: 3.879 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.2973, allocations: 1.238 MB / 343.3 MB, free: 2.637 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.2976, allocations: 155.8 kB / 343.4 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.2979, allocations: 242.8 kB / 343.7 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.2982, allocations: 282.2 kB / 343.9 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.2983, allocations: 16 kB / 344 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.2997, allocations: 0.6206 MB / 344.6 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.618e-05/0.2998, allocations: 83.44 kB / 344.7 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.2999, allocations: 197.1 kB / 344.9 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008948/0.3008, allocations: 0.8959 MB / 345.8 MB, free: 144 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3009, allocations: 0 / 345.8 MB, free: 144 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3009, allocations: 0 / 345.8 MB, free: 144 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3009, allocations: 0 / 345.8 MB, free: 144 kB / 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.001775/0.3027, allocations: 1.203 MB / 347 MB, free: 14.89 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3027, allocations: 8.031 kB / 347 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.3029, allocations: 126.5 kB / 347.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009502/0.3038, allocations: 0.6923 MB / 347.8 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.3039, allocations: 20.55 kB / 347.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.3039, allocations: 28 kB / 347.8 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.3046, allocations: 325.3 kB / 348.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3046, allocations: 0 / 348.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.3046, allocations: 12 kB / 348.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.3046, allocations: 12 kB / 348.2 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.3053, allocations: 294.2 kB / 348.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.3072, allocations: 1.376 MB / 349.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.308, allocations: 318.9 kB / 350.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.3084, allocations: 257.8 kB / 350.4 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00444/0.3128, allocations: 3.612 MB / 354 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004666/0.3133, allocations: 200.4 kB / 354.2 MB, free: 6.922 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.826e-06/0.3134, allocations: 7.938 kB / 354.2 MB, free: 6.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001651/0.315, allocations: 0.7659 MB / 355 MB, free: 6.098 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3151, allocations: 55.41 kB / 355 MB, free: 6.031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.316, allocations: 0.7998 MB / 355.8 MB, free: 5.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.3161, allocations: 33.7 kB / 355.9 MB, free: 5.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.3164, allocations: 452.3 kB / 356.3 MB, free: 4.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.3165, allocations: 98.62 kB / 356.4 MB, free: 4.629 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.3165, allocations: 8 kB / 356.4 MB, free: 4.621 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.3166, allocations: 326 kB / 356.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.3169, allocations: 120.7 kB / 356.8 MB, free: 4.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.3173, allocations: 228.1 kB / 357.1 MB, free: 3.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.3176, allocations: 163.9 kB / 357.2 MB, free: 3.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3176, allocations: 0 / 357.2 MB, free: 3.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009676/0.3186, allocations: 0.5443 MB / 357.8 MB, free: 3.191 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3186, allocations: 4 kB / 357.8 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.822e-05/0.3187, allocations: 32 kB / 357.8 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.3189, allocations: 53.69 kB / 357.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.3192, allocations: 80.3 kB / 357.9 MB, free: 3.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.3213, allocations: 2.643 MB / 360.6 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.3216, allocations: 47.8 kB / 360.6 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.3217, allocations: 23.94 kB / 360.7 MB, free: 36 kB / 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.0002939/0.322, allocations: 201.7 kB / 360.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3221, allocations: 106.7 kB / 361 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.3232, allocations: 0.5125 MB / 361.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3232, allocations: 4 kB / 361.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3232, allocations: 4 kB / 361.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3232, allocations: 0 / 361.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.3239, allocations: 0.5545 MB / 362 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/0.3239, allocations: 28 kB / 362.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.3242, allocations: 55.84 kB / 362.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.3243, allocations: 49.69 kB / 362.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.3244, allocations: 4 kB / 362.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.3264, allocations: 2.643 MB / 364.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3264, allocations: 0 / 364.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.3276, allocations: 0.6309 MB / 365.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.3278, allocations: 180 kB / 365.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.3279, allocations: 11.98 kB / 365.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.3281, allocations: 19.97 kB / 365.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3283, allocations: 27.92 kB / 365.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.3283, allocations: 24.05 kB / 365.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006927/0.329, allocations: 0.5389 MB / 366.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.329, allocations: 0 / 366.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007521/0.3298, allocations: 247.5 kB / 366.5 MB, free: 9.82 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.0005684/0.3304, allocations: 332.8 kB / 366.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3315, allocations: 0.6014 MB / 367.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3315, allocations: 0 / 367.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.3321, allocations: 450.9 kB / 367.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.3326, allocations: 96.38 kB / 367.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.3351, allocations: 1.722 MB / 369.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.3357, allocations: 0.96 MB / 370.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002932/0.336, allocations: 81.22 kB / 370.7 MB, free: 5.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.336, allocations: 39.44 kB / 370.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.336, allocations: 4 kB / 370.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of Templates: time 0.01605/0.3521, allocations: 7.791 MB / 378.5 MB, free: 13.62 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)