Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_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: 114.8 kB / 17.06 MB, free: 5.812 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.001133/0.001133, allocations: 200 kB / 18 MB, free: 4.949 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.442/1.442, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.00136/0.00136, allocations: 51.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2531/0.3616, allocations: 5.011 MB / 379.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.3729, allocations: 10.44 MB / 389.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.374, allocations: 31.12 kB / 390 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.3761, allocations: 0.6762 MB / 390.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.3797, allocations: 0.9831 MB / 391.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.3815, allocations: 0.5983 MB / 392.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.3836, allocations: 1.343 MB / 393.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.3839, allocations: 176.4 kB / 393.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.3842, allocations: 281.7 kB / 394 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.3846, allocations: 313.1 kB / 394.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.3847, allocations: 35.47 kB / 394.3 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.3863, allocations: 0.6741 MB / 395 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.904e-05/0.3864, allocations: 106.1 kB / 395.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.3867, allocations: 407.8 kB / 395.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.3883, allocations: 1.268 MB / 396.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.3883, allocations: 2.141 kB / 396.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3883, allocations: 0 / 396.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3883, allocations: 0 / 396.8 MB, free: 0.9844 MB / 318.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.001821/0.3902, allocations: 1.319 MB / 398.1 MB, free: 40 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3902, allocations: 14.19 kB / 398.1 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3904, allocations: 117.2 kB / 398.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.3915, allocations: 0.7433 MB / 399 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.3916, allocations: 21.2 kB / 399 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.3916, allocations: 26.39 kB / 399 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.3924, allocations: 320.6 kB / 399.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3924, allocations: 0 / 399.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.3924, allocations: 15.45 kB / 399.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3925, allocations: 11.64 kB / 399.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.3932, allocations: 273.9 kB / 399.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.3953, allocations: 1.364 MB / 401 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/0.396, allocations: 295 kB / 401.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.3965, allocations: 248.6 kB / 401.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004494/0.401, allocations: 3.601 MB / 405.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.4014, allocations: 192.4 kB / 405.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.4014, allocations: 0 / 405.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001768/0.4032, allocations: 0.7227 MB / 406 MB, free: 10.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.4033, allocations: 54.31 kB / 406.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.4046, allocations: 0.8213 MB / 406.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.4047, allocations: 30.95 kB / 406.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.4051, allocations: 458.5 kB / 407.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.4052, allocations: 95.22 kB / 407.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.4053, allocations: 77.48 kB / 407.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4054, allocations: 320.4 kB / 407.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.4057, allocations: 112.9 kB / 408 MB, free: 8.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.4061, allocations: 225.3 kB / 408.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.4068, allocations: 361.3 kB / 408.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4068, allocations: 4.969 kB / 408.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001014/0.4078, allocations: 0.5238 MB / 409.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4078, allocations: 6.656 kB / 409.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.979e-05/0.4079, allocations: 35.5 kB / 409.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.4082, allocations: 51.94 kB / 409.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4085, allocations: 71.05 kB / 409.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.4104, allocations: 2.846 MB / 412.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.4108, allocations: 46.27 kB / 412.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.4108, allocations: 19.53 kB / 412.2 MB, free: 5.184 MB / 334.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.000282/0.4111, allocations: 204 kB / 412.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.4113, allocations: 102.8 kB / 412.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4124, allocations: 0.4957 MB / 413 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4124, allocations: 2.719 kB / 413 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4124, allocations: 1.156 kB / 413 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4125, allocations: 4 kB / 413 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.4132, allocations: 0.5659 MB / 413.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.787e-05/0.4132, allocations: 33.59 kB / 413.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.4135, allocations: 39.95 kB / 413.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.4136, allocations: 46.2 kB / 413.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.4137, allocations: 10.09 kB / 413.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.4156, allocations: 2.846 MB / 416.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4156, allocations: 0 / 416.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.4169, allocations: 0.6113 MB / 417.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.4171, allocations: 180.2 kB / 417.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.4172, allocations: 10.47 kB / 417.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.4175, allocations: 18.91 kB / 417.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/0.4176, allocations: 26.19 kB / 417.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.4176, allocations: 9.594 kB / 417.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006993/0.4183, allocations: 0.554 MB / 417.9 MB, free: 328 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4183, allocations: 0 / 417.9 MB, free: 328 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008664/0.4192, allocations: 239.6 kB / 418.1 MB, free: 276 kB / 334.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.0006295/0.4198, allocations: 364.5 kB / 418.5 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.4209, allocations: 0.587 MB / 419.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4209, allocations: 0 / 419.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00061/0.4215, allocations: 436.4 kB / 419.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.422, allocations: 97.83 kB / 419.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.4245, allocations: 1.518 MB / 421.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.425, allocations: 0.9561 MB / 422.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002275/0.4252, allocations: 85.64 kB / 422.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.4253, allocations: 42.75 kB / 422.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4253, allocations: 3.938 kB / 422.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Templates: time 0.01587/0.4412, allocations: 8.57 MB / 430.8 MB, free: 5.43 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)