Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6392/0.6392, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001601/0.001601, allocations: 147.3 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002392/0.0002392, allocations: 8 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.11, allocations: 25.15 MB / 210 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03798/0.148, allocations: 35.52 MB / 245.6 MB, free: 14.32 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.1482, allocations: 68.72 kB / 245.6 MB, free: 14.25 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.1612, allocations: 4.516 MB / 250.1 MB, free: 9.75 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1612, allocations: 0 / 250.1 MB, free: 9.75 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1613, allocations: 4 kB / 250.2 MB, free: 9.746 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009762/0.1622, allocations: 0.5651 MB / 250.7 MB, free: 9.133 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.1623, allocations: 8.031 kB / 250.7 MB, free: 9.125 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.1623, allocations: 31.62 kB / 250.8 MB, free: 9.094 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1626, allocations: 251.5 kB / 251 MB, free: 8.805 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1627, allocations: 20.42 kB / 251 MB, free: 8.785 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.1627, allocations: 20 kB / 251 MB, free: 8.766 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.1633, allocations: 302.6 kB / 251.3 MB, free: 8.457 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1634, allocations: 8.891 kB / 251.3 MB, free: 8.449 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.1634, allocations: 8 kB / 251.4 MB, free: 8.441 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1634, allocations: 4.547 kB / 251.4 MB, free: 8.438 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/0.1642, allocations: 285.5 kB / 251.6 MB, free: 8.16 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.1657, allocations: 1.077 MB / 252.7 MB, free: 7 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.1676, allocations: 482.3 kB / 253.2 MB, free: 6.52 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1677, allocations: 4 kB / 253.2 MB, free: 6.516 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.1677, allocations: 38.56 kB / 253.2 MB, free: 6.469 MB / 186.7 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1677, allocations: 0 / 253.2 MB, free: 6.469 MB / 186.7 MB Notification: Performance of matching and sorting (n=14): time 0.005409/0.1731, allocations: 1.155 MB / 254.4 MB, free: 5.285 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1732, allocations: 58.22 kB / 254.4 MB, free: 5.219 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1733, allocations: 200.2 kB / 254.6 MB, free: 5.02 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1734, allocations: 25.7 kB / 254.7 MB, free: 4.988 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.1735, allocations: 156.1 kB / 254.8 MB, free: 4.832 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1735, allocations: 51.3 kB / 254.9 MB, free: 4.781 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.1736, allocations: 4 kB / 254.9 MB, free: 4.777 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1737, allocations: 330.8 kB / 255.2 MB, free: 4.445 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.174, allocations: 111.9 kB / 255.3 MB, free: 4.336 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.1744, allocations: 131.5 kB / 255.4 MB, free: 4.203 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.1747, allocations: 115.9 kB / 255.5 MB, free: 4.09 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1747, allocations: 0 / 255.5 MB, free: 4.09 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003192/0.1779, allocations: 0.6988 MB / 256.2 MB, free: 3.383 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1779, allocations: 4 kB / 256.2 MB, free: 3.379 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1779, allocations: 0 / 256.2 MB, free: 3.379 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007033/0.1787, allocations: 236.6 kB / 256.5 MB, free: 3.145 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.1789, allocations: 35.97 kB / 256.5 MB, free: 3.109 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.1856, allocations: 2.685 MB / 259.2 MB, free: 304 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.1859, allocations: 43.81 kB / 259.2 MB, free: 260 kB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.186, allocations: 15.98 kB / 259.3 MB, free: 244 kB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: CL.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.1862, allocations: 141.4 kB / 259.4 MB, free: 96 kB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.1862, allocations: 19.72 kB / 259.4 MB, free: 76 kB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.1863, allocations: 25.83 kB / 259.4 MB, free: 48 kB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1863, allocations: 4 kB / 259.4 MB, free: 44 kB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1863, allocations: 0 / 259.4 MB, free: 44 kB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1863, allocations: 0 / 259.4 MB, free: 44 kB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.1867, allocations: 335.1 kB / 259.8 MB, free: 15.67 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1867, allocations: 0 / 259.8 MB, free: 15.67 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1869, allocations: 27.98 kB / 259.8 MB, free: 15.64 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006557/0.1876, allocations: 232.7 kB / 260 MB, free: 15.41 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.1876, allocations: 7.984 kB / 260 MB, free: 15.4 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006368/0.194, allocations: 2.675 MB / 262.7 MB, free: 12.59 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.194, allocations: 4.031 kB / 262.7 MB, free: 12.59 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.1974, allocations: 0.9155 MB / 263.6 MB, free: 11.66 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.1976, allocations: 120.9 kB / 263.7 MB, free: 11.52 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.1977, allocations: 3.984 kB / 263.7 MB, free: 11.52 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.198, allocations: 44.03 kB / 263.8 MB, free: 11.47 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.198, allocations: 7.984 kB / 263.8 MB, free: 11.46 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.198, allocations: 4 kB / 263.8 MB, free: 11.46 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1982, allocations: 160.5 kB / 264 MB, free: 11.3 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1982, allocations: 0 / 264 MB, free: 11.3 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.1986, allocations: 79.84 kB / 264 MB, free: 11.23 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001462/0.1988, allocations: 115.2 kB / 264.1 MB, free: 11.11 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.2003, allocations: 475.6 kB / 264.6 MB, free: 10.63 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2003, allocations: 0 / 264.6 MB, free: 10.63 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.2014, allocations: 356.2 kB / 265 MB, free: 10.27 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.2017, allocations: 44.62 kB / 265 MB, free: 10.23 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2027, allocations: 0.6352 MB / 265.6 MB, free: 9.566 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.2031, allocations: 0.7556 MB / 266.4 MB, free: 8.785 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 7.88e-05/0.2031, allocations: 17.55 kB / 266.4 MB, free: 8.77 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.2032, allocations: 19.44 kB / 266.4 MB, free: 8.75 MB / 202.7 MB Notification: Performance of SimCode: time 4.9e-07/0.2032, allocations: 0 / 266.4 MB, free: 8.75 MB / 202.7 MB Notification: Performance of Templates: time 0.007267/0.2105, allocations: 4.608 MB / 271 MB, free: 4.172 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1)