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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001547/0.001547, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.343/1.343, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001528/0.001528, allocations: 103.5 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.484e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06249/0.06253, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2511/0.3136, allocations: 81.88 MB / 389.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.3139, allocations: 74.03 kB / 389.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08984/0.4038, allocations: 44.06 MB / 433.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4038, allocations: 0 / 433.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.825e-05/0.4039, allocations: 12 kB / 433.7 MB, free: 3.875 MB / 314.7 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.002333/0.4062, allocations: 1.11 MB / 434.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4063, allocations: 8.031 kB / 434.8 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.4065, allocations: 120 kB / 434.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.4077, allocations: 0.7191 MB / 435.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.4078, allocations: 23 kB / 435.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.4078, allocations: 29.22 kB / 435.7 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.4083, allocations: 289.2 kB / 435.9 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4084, allocations: 0 / 435.9 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.4084, allocations: 12.94 kB / 436 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.4084, allocations: 11.81 kB / 436 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.4088, allocations: 219.5 kB / 436.2 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.4109, allocations: 1.385 MB / 437.6 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.4114, allocations: 243 kB / 437.8 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.4117, allocations: 236.7 kB / 438 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005499/0.4172, allocations: 4.235 MB / 442.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.4175, allocations: 169.2 kB / 442.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.617e-06/0.4176, allocations: 0 / 442.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007726/0.4183, allocations: 383.5 kB / 442.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.4184, allocations: 55.59 kB / 442.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009316/0.4193, allocations: 0.7131 MB / 443.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.4194, allocations: 33.69 kB / 443.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.4197, allocations: 452.5 kB / 444 MB, free: 8.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/0.4198, allocations: 98.5 kB / 444.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.4198, allocations: 4 kB / 444.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.42, allocations: 325.9 kB / 444.5 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.4201, allocations: 88.77 kB / 444.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.4204, allocations: 196.7 kB / 444.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.4206, allocations: 123.8 kB / 444.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4206, allocations: 0 / 444.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007846/0.4214, allocations: 477.9 kB / 445.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4214, allocations: 15.38 kB / 445.3 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/0.4214, allocations: 32 kB / 445.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.4217, allocations: 49.69 kB / 445.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.422, allocations: 75.89 kB / 445.5 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.4238, allocations: 2.647 MB / 448.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.4242, allocations: 51.52 kB / 448.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.4243, allocations: 20 kB / 448.2 MB, free: 4.422 MB / 330.7 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 () * 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.000119/0.4244, allocations: 136.9 kB / 448.4 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.4245, allocations: 102.8 kB / 448.5 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009447/0.4255, allocations: 450.1 kB / 448.9 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4255, allocations: 0 / 448.9 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4255, allocations: 11.94 kB / 448.9 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4255, allocations: 0 / 448.9 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.4261, allocations: 0.5739 MB / 449.5 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/0.4262, allocations: 28 kB / 449.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.4265, allocations: 51.89 kB / 449.6 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.4266, allocations: 49.69 kB / 449.6 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.4266, allocations: 8 kB / 449.6 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.4283, allocations: 2.646 MB / 452.3 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4284, allocations: 0 / 452.3 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.4293, allocations: 0.5296 MB / 452.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.4295, allocations: 191.7 kB / 453 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.846e-05/0.4296, allocations: 7.984 kB / 453 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.4299, allocations: 19.98 kB / 453 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.43, allocations: 23.97 kB / 453 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.43, allocations: 19.92 kB / 453 MB, free: 15.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006746/0.4307, allocations: 0.5594 MB / 453.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4307, allocations: 0 / 453.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007751/0.4315, allocations: 275.6 kB / 453.9 MB, free: 14.36 MB / 346.7 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) * 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.0007248/0.4322, allocations: 445.3 kB / 454.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.433, allocations: 0.5222 MB / 454.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4331, allocations: 3.938 kB / 454.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.4335, allocations: 411.8 kB / 455.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.4339, allocations: 97 kB / 455.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.4361, allocations: 1.146 MB / 456.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.4366, allocations: 0.9758 MB / 457.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.437, allocations: 93.72 kB / 457.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.4371, allocations: 47.44 kB / 457.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4371, allocations: 0 / 457.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of Templates: time 0.01772/0.4548, allocations: 10.25 MB / 467.8 MB, free: 264 kB / 346.7 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)