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.9016/0.9016, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00166/0.00166, allocations: 155.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.665e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04992/0.04996, allocations: 25.17 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05859/0.1086, allocations: 35.42 MB / 240.8 MB, free: 4.961 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.1089, allocations: 63.97 kB / 240.9 MB, free: 4.898 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01737/0.1263, allocations: 4.527 MB / 245.4 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1263, allocations: 0 / 245.4 MB, free: 360 kB / 186.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.1264, allocations: 8 kB / 245.4 MB, free: 352 kB / 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.1486/0.275, allocations: 0.529 MB / 245.9 MB, free: 40.97 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.275, allocations: 8.812 kB / 245.9 MB, free: 40.97 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.2752, allocations: 30.53 kB / 246 MB, free: 40.95 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.2756, allocations: 244 kB / 246.2 MB, free: 40.75 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.2757, allocations: 14.78 kB / 246.2 MB, free: 40.75 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.2758, allocations: 23.61 kB / 246.2 MB, free: 40.75 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.2765, allocations: 247.2 kB / 246.5 MB, free: 40.69 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2765, allocations: 6.984 kB / 246.5 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.2765, allocations: 7.938 kB / 246.5 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2766, allocations: 6 kB / 246.5 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.2771, allocations: 177.4 kB / 246.7 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.2794, allocations: 1.085 MB / 247.8 MB, free: 40.12 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.2812, allocations: 342.5 kB / 248.1 MB, free: 40.1 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.2815, allocations: 99.95 kB / 248.2 MB, free: 40.09 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.2815, allocations: 2.297 kB / 248.2 MB, free: 40.09 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2815, allocations: 37.28 kB / 248.2 MB, free: 40.05 MB / 186.7 MB Notification: Performance of pre-optimization done (n=14): time 3.657e-06/0.2816, allocations: 0 / 248.2 MB, free: 40.05 MB / 186.7 MB Notification: Performance of matching and sorting (n=14): time 0.003531/0.2851, allocations: 0.5287 MB / 248.8 MB, free: 40 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.2851, allocations: 52.62 kB / 248.8 MB, free: 39.93 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.2854, allocations: 191.2 kB / 249 MB, free: 39.83 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.2854, allocations: 29.55 kB / 249 MB, free: 39.8 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2856, allocations: 157.7 kB / 249.2 MB, free: 39.7 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.2856, allocations: 48.95 kB / 249.2 MB, free: 39.67 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.2857, allocations: 7.312 kB / 249.2 MB, free: 39.67 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.2857, allocations: 332.7 kB / 249.6 MB, free: 39.36 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.2859, allocations: 60.03 kB / 249.6 MB, free: 39.34 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.2861, allocations: 76.8 kB / 249.7 MB, free: 39.3 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.2863, allocations: 61.62 kB / 249.8 MB, free: 39.28 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2864, allocations: 0 / 249.8 MB, free: 39.28 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003372/0.2897, allocations: 0.5511 MB / 250.3 MB, free: 39.16 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2898, allocations: 4.688 kB / 250.3 MB, free: 39.16 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2898, allocations: 2.219 kB / 250.3 MB, free: 39.16 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.2903, allocations: 138 kB / 250.5 MB, free: 39.11 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2905, allocations: 39.95 kB / 250.5 MB, free: 39.11 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005869/0.2964, allocations: 2.157 MB / 252.6 MB, free: 37.52 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.2968, allocations: 47.92 kB / 252.7 MB, free: 37.5 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.2969, allocations: 10.48 kB / 252.7 MB, free: 37.5 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 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.0001088/0.297, allocations: 112.5 kB / 252.8 MB, free: 37.38 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.2971, allocations: 16.62 kB / 252.8 MB, free: 37.38 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.2972, allocations: 31.12 kB / 252.9 MB, free: 37.35 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2972, allocations: 1.781 kB / 252.9 MB, free: 37.35 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2972, allocations: 0 / 252.9 MB, free: 37.35 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2972, allocations: 3.938 kB / 252.9 MB, free: 37.35 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.2977, allocations: 330.5 kB / 253.2 MB, free: 37.1 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2977, allocations: 0 / 253.2 MB, free: 37.1 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.298, allocations: 30.12 kB / 253.2 MB, free: 37.09 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.2983, allocations: 136.3 kB / 253.4 MB, free: 37.05 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2984, allocations: 4.641 kB / 253.4 MB, free: 37.05 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005666/0.304, allocations: 2.15 MB / 255.5 MB, free: 35.45 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3041, allocations: 0.8594 kB / 255.5 MB, free: 35.45 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/0.3075, allocations: 0.7195 MB / 256.2 MB, free: 35.17 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3077, allocations: 117.4 kB / 256.3 MB, free: 35.05 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.3077, allocations: 1.469 kB / 256.3 MB, free: 35.05 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.3081, allocations: 42.45 kB / 256.4 MB, free: 35.04 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.3082, allocations: 8.672 kB / 256.4 MB, free: 35.04 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.3082, allocations: 6.703 kB / 256.4 MB, free: 35.04 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001782/0.3084, allocations: 158.3 kB / 256.6 MB, free: 34.95 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3084, allocations: 0 / 256.6 MB, free: 34.95 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006949/0.3091, allocations: 81.44 kB / 256.6 MB, free: 34.93 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.000147/0.3093, allocations: 110.6 kB / 256.7 MB, free: 34.83 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3106, allocations: 370.4 kB / 257.1 MB, free: 34.66 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3107, allocations: 0 / 257.1 MB, free: 34.66 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.3117, allocations: 306.2 kB / 257.4 MB, free: 34.5 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.3123, allocations: 43.48 kB / 257.4 MB, free: 34.5 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.3132, allocations: 341.7 kB / 257.8 MB, free: 34.28 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3135, allocations: 0.7513 MB / 258.5 MB, free: 33.58 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3136, allocations: 12.16 kB / 258.5 MB, free: 33.58 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.3136, allocations: 19.19 kB / 258.6 MB, free: 33.57 MB / 186.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3137, allocations: 0 / 258.6 MB, free: 33.57 MB / 186.7 MB Notification: Performance of Templates: time 0.009797/0.3235, allocations: 4.615 MB / 263.2 MB, free: 30.68 MB / 186.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)