Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009333/0.0009333, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.145/1.145, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001346/0.001346, allocations: 108.1 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 19.98 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07086/0.07115, allocations: 44.49 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.2781, allocations: 73.21 MB / 428.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.2783, allocations: 73.66 kB / 428.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.2898, allocations: 4.701 MB / 433 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2898, allocations: 0 / 433 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.2898, allocations: 4 kB / 433 MB, free: 12.3 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007807/0.2906, allocations: 0.5637 MB / 433.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2907, allocations: 8.031 kB / 433.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.2907, allocations: 31.67 kB / 433.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.291, allocations: 252 kB / 433.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.291, allocations: 19.25 kB / 433.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.291, allocations: 19 kB / 433.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.2916, allocations: 323.7 kB / 434.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2916, allocations: 0 / 434.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.2916, allocations: 7.688 kB / 434.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2916, allocations: 4 kB / 434.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006607/0.2923, allocations: 299.5 kB / 434.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.2936, allocations: 1.263 MB / 435.8 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.2954, allocations: 479.3 kB / 436.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2955, allocations: 0 / 436.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.2955, allocations: 41.69 kB / 436.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.2955, allocations: 0.5156 kB / 436.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.004964/0.3005, allocations: 1.146 MB / 437.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.3005, allocations: 55.41 kB / 437.5 MB, free: 8.094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3006, allocations: 209.5 kB / 437.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3007, allocations: 32.95 kB / 437.8 MB, free: 7.875 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.3007, allocations: 156.5 kB / 437.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.3008, allocations: 51.11 kB / 438 MB, free: 7.703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.3008, allocations: 5.688 kB / 438 MB, free: 7.703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.3009, allocations: 329 kB / 438.3 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.3012, allocations: 122.4 kB / 438.4 MB, free: 7.285 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.3015, allocations: 147.4 kB / 438.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.3018, allocations: 122.8 kB / 438.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3018, allocations: 0 / 438.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002833/0.3046, allocations: 0.7166 MB / 439.4 MB, free: 6.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3046, allocations: 4 kB / 439.4 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3047, allocations: 4 kB / 439.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.3053, allocations: 234 kB / 439.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3055, allocations: 39.97 kB / 439.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/0.3116, allocations: 2.689 MB / 442.3 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.312, allocations: 43.59 kB / 442.4 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.312, allocations: 7.984 kB / 442.4 MB, free: 3.555 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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.0001461/0.3121, allocations: 135.9 kB / 442.5 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.3122, allocations: 15.81 kB / 442.5 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.3123, allocations: 28.95 kB / 442.6 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3123, allocations: 0 / 442.6 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3123, allocations: 6.375 kB / 442.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.3123, allocations: 0 / 442.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.3126, allocations: 331.5 kB / 442.9 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3126, allocations: 0 / 442.9 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.3127, allocations: 38.55 kB / 442.9 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005653/0.3133, allocations: 231.1 kB / 443.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3133, allocations: 11.73 kB / 443.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005915/0.3193, allocations: 2.684 MB / 445.9 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3193, allocations: 0 / 445.9 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.3227, allocations: 0.9193 MB / 446.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.3228, allocations: 92.86 kB / 446.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.3228, allocations: 3.062 kB / 446.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.3231, allocations: 40.03 kB / 446.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.3232, allocations: 11.36 kB / 446.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.3232, allocations: 7.984 kB / 446.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3233, allocations: 166.5 kB / 447.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3233, allocations: 0 / 447.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004829/0.3238, allocations: 83.28 kB / 447.2 MB, free: 15.05 MB / 330.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.0001446/0.324, allocations: 106.5 kB / 447.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.3256, allocations: 496.7 kB / 447.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3257, allocations: 0 / 447.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.3268, allocations: 369.3 kB / 448.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.3271, allocations: 28.11 kB / 448.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3285, allocations: 0.6874 MB / 448.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3288, allocations: 0.7518 MB / 449.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.599e-05/0.3289, allocations: 13.55 kB / 449.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.329, allocations: 15.44 kB / 449.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.329, allocations: 0 / 449.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of Templates: time 0.007999/0.337, allocations: 4.514 MB / 454.1 MB, free: 8.223 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1)