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.7748/0.7748, allocations: 110.8 MB / 118.3 MB, free: 10.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001784/0.001784, allocations: 143.4 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.771e-05, allocations: 7.984 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04733/0.04738, allocations: 25.16 MB / 199 MB, free: 2.668 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.1852, allocations: 34.75 MB / 233.8 MB, free: 5.242 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.1854, allocations: 67.91 kB / 233.8 MB, free: 5.176 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01132/0.1967, allocations: 4.482 MB / 238.3 MB, free: 0.7344 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1968, allocations: 0 / 238.3 MB, free: 0.7344 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1968, allocations: 4 kB / 238.3 MB, free: 0.7305 MB / 170.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.0007683/0.1976, allocations: 0.5332 MB / 238.9 MB, free: 160 kB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1976, allocations: 13.78 kB / 238.9 MB, free: 148 kB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.1977, allocations: 28.5 kB / 238.9 MB, free: 120 kB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.198, allocations: 260 kB / 239.2 MB, free: 15.82 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.198, allocations: 4 kB / 239.2 MB, free: 15.82 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.1981, allocations: 16 kB / 239.2 MB, free: 15.8 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003474/0.1984, allocations: 168.8 kB / 239.3 MB, free: 15.64 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.1988, allocations: 221.8 kB / 239.6 MB, free: 15.41 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1988, allocations: 0 / 239.6 MB, free: 15.41 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.1989, allocations: 1.5 kB / 239.6 MB, free: 15.41 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1989, allocations: 4 kB / 239.6 MB, free: 15.4 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.2004, allocations: 1.026 MB / 240.6 MB, free: 14.31 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.2017, allocations: 326.5 kB / 240.9 MB, free: 13.98 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.2019, allocations: 100.8 kB / 241 MB, free: 13.88 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2019, allocations: 0 / 241 MB, free: 13.88 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.2019, allocations: 42.5 kB / 241 MB, free: 13.83 MB / 186.7 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.2019, allocations: 0 / 241 MB, free: 13.83 MB / 186.7 MB Notification: Performance of matching and sorting (n=14): time 0.00255/0.2045, allocations: 0.5115 MB / 241.6 MB, free: 13.31 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.2046, allocations: 55.41 kB / 241.6 MB, free: 13.25 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.2048, allocations: 175.2 kB / 241.8 MB, free: 13.07 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.2049, allocations: 25.7 kB / 241.8 MB, free: 13.04 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.205, allocations: 157.7 kB / 242 MB, free: 12.88 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.205, allocations: 55.19 kB / 242 MB, free: 12.83 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.2051, allocations: 4 kB / 242 MB, free: 12.82 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2052, allocations: 326.8 kB / 242.3 MB, free: 12.5 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2053, allocations: 55.98 kB / 242.4 MB, free: 12.44 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2055, allocations: 77.64 kB / 242.5 MB, free: 12.36 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.2056, allocations: 59.92 kB / 242.5 MB, free: 12.3 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2056, allocations: 0 / 242.5 MB, free: 12.3 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002323/0.2079, allocations: 0.5369 MB / 243.1 MB, free: 11.75 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.208, allocations: 10.66 kB / 243.1 MB, free: 11.75 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.208, allocations: 1.781 kB / 243.1 MB, free: 11.75 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.2083, allocations: 132.8 kB / 243.2 MB, free: 11.61 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.2085, allocations: 35.98 kB / 243.2 MB, free: 11.58 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004345/0.2129, allocations: 2.105 MB / 245.3 MB, free: 9.359 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.2132, allocations: 39.95 kB / 245.4 MB, free: 9.32 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.2132, allocations: 7.984 kB / 245.4 MB, free: 9.312 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: CL.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: zDiode_1.v:VARIABLE(unit = "V" ) "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 () * 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.0001647/0.2134, allocations: 108.9 kB / 245.5 MB, free: 9.199 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.2134, allocations: 15.81 kB / 245.5 MB, free: 9.184 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.2135, allocations: 21.95 kB / 245.5 MB, free: 9.168 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2135, allocations: 0 / 245.5 MB, free: 9.168 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2135, allocations: 4.875 kB / 245.5 MB, free: 9.164 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2135, allocations: 7.938 kB / 245.5 MB, free: 9.156 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.2139, allocations: 281.9 kB / 245.8 MB, free: 8.844 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2139, allocations: 3.984 kB / 245.8 MB, free: 8.84 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.214, allocations: 27.98 kB / 245.9 MB, free: 8.812 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/0.2143, allocations: 140.8 kB / 246 MB, free: 8.672 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.2143, allocations: 0.5 kB / 246 MB, free: 8.672 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/0.2185, allocations: 2.095 MB / 248.1 MB, free: 6.461 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2185, allocations: 1.125 kB / 248.1 MB, free: 6.461 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.2209, allocations: 0.6991 MB / 248.8 MB, free: 5.746 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.2211, allocations: 112.9 kB / 248.9 MB, free: 5.617 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.2211, allocations: 96 / 248.9 MB, free: 5.617 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.2214, allocations: 36.03 kB / 248.9 MB, free: 5.582 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.2215, allocations: 23.86 kB / 249 MB, free: 5.559 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.2215, allocations: 11.23 kB / 249 MB, free: 5.551 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.2217, allocations: 136.7 kB / 249.1 MB, free: 5.418 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2217, allocations: 3.938 kB / 249.1 MB, free: 5.414 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004749/0.2222, allocations: 87.78 kB / 249.2 MB, free: 5.328 MB / 186.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 () * 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.0001887/0.2224, allocations: 103.2 kB / 249.3 MB, free: 5.219 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.2234, allocations: 357.5 kB / 249.6 MB, free: 4.859 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2234, allocations: 0.8438 kB / 249.6 MB, free: 4.859 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.2242, allocations: 285.7 kB / 249.9 MB, free: 4.57 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.2246, allocations: 39.67 kB / 250 MB, free: 4.535 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.2255, allocations: 318.8 kB / 250.3 MB, free: 4.199 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.2259, allocations: 0.7553 MB / 251 MB, free: 3.418 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.226, allocations: 9.219 kB / 251 MB, free: 3.41 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.226, allocations: 19.42 kB / 251.1 MB, free: 3.391 MB / 186.7 MB Notification: Performance of SimCode: time 2.51e-07/0.226, allocations: 0 / 251.1 MB, free: 3.391 MB / 186.7 MB Notification: Performance of Templates: time 0.008438/0.2345, allocations: 3.964 MB / 255 MB, free: 15.47 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)