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.001357/0.001357, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.324/1.324, allocations: 194.3 MB / 203.1 MB, free: 9.258 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001427/0.001427, allocations: 118.2 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.619e-05/1.621e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0814/0.08143, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2722/0.3537, allocations: 72.46 MB / 415 MB, free: 23.35 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.3539, allocations: 70.91 kB / 415.1 MB, free: 23.32 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0117/0.3657, allocations: 4.656 MB / 419.8 MB, free: 19.41 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3657, allocations: 4 kB / 419.8 MB, free: 19.4 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.3657, allocations: 4 kB / 419.8 MB, free: 19.4 MB / 315.1 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.0008644/0.3666, allocations: 0.5267 MB / 420.3 MB, free: 18.84 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3666, allocations: 12.03 kB / 420.3 MB, free: 18.83 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.3667, allocations: 28.56 kB / 420.3 MB, free: 18.8 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.3669, allocations: 259.2 kB / 420.6 MB, free: 18.53 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.367, allocations: 4 kB / 420.6 MB, free: 18.53 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.367, allocations: 12 kB / 420.6 MB, free: 18.52 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002826/0.3673, allocations: 169 kB / 420.8 MB, free: 18.41 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.3676, allocations: 238.5 kB / 421 MB, free: 18.21 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3676, allocations: 0.6562 kB / 421 MB, free: 18.21 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.3677, allocations: 0 / 421 MB, free: 18.21 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3677, allocations: 4 kB / 421 MB, free: 18.21 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.3692, allocations: 1.209 MB / 422.2 MB, free: 17.09 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.3703, allocations: 335.2 kB / 422.5 MB, free: 16.82 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3704, allocations: 98.31 kB / 422.6 MB, free: 16.76 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3705, allocations: 4 kB / 422.6 MB, free: 16.75 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.3705, allocations: 37.56 kB / 422.7 MB, free: 16.71 MB / 315.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.3705, allocations: 0 / 422.7 MB, free: 16.71 MB / 315.1 MB Notification: Performance of matching and sorting (n=14): time 0.002191/0.3727, allocations: 0.5183 MB / 423.2 MB, free: 16.24 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.731e-05/0.3727, allocations: 55.41 kB / 423.2 MB, free: 16.17 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3729, allocations: 170 kB / 423.4 MB, free: 16.02 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3729, allocations: 31.77 kB / 423.4 MB, free: 15.99 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.3729, allocations: 173.3 kB / 423.6 MB, free: 15.84 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.373, allocations: 45.23 kB / 423.7 MB, free: 15.8 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.373, allocations: 0 / 423.7 MB, free: 15.8 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.3731, allocations: 333.1 kB / 424 MB, free: 15.48 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.3732, allocations: 55.86 kB / 424 MB, free: 15.45 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.3733, allocations: 88.02 kB / 424.1 MB, free: 15.38 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.3734, allocations: 74.81 kB / 424.2 MB, free: 15.33 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3734, allocations: 0 / 424.2 MB, free: 15.33 MB / 315.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002136/0.3755, allocations: 0.5445 MB / 424.7 MB, free: 14.84 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3755, allocations: 8 kB / 424.7 MB, free: 14.83 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3756, allocations: 0 / 424.7 MB, free: 14.83 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.3758, allocations: 139.2 kB / 424.9 MB, free: 14.72 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.376, allocations: 35.98 kB / 424.9 MB, free: 14.69 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.3798, allocations: 2.107 MB / 427 MB, free: 12.7 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.3801, allocations: 35.86 kB / 427.1 MB, free: 12.66 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.3801, allocations: 7.984 kB / 427.1 MB, free: 12.66 MB / 315.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: zDiode.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: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001376/0.3803, allocations: 116.7 kB / 427.2 MB, free: 12.54 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.3803, allocations: 23.72 kB / 427.2 MB, free: 12.51 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.3804, allocations: 25.39 kB / 427.2 MB, free: 12.5 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3804, allocations: 4 kB / 427.2 MB, free: 12.5 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3804, allocations: 0 / 427.2 MB, free: 12.5 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3804, allocations: 0.6562 kB / 427.2 MB, free: 12.5 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3807, allocations: 294.8 kB / 427.5 MB, free: 12.22 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3807, allocations: 1.688 kB / 427.5 MB, free: 12.22 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.3808, allocations: 27.98 kB / 427.6 MB, free: 12.19 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/0.381, allocations: 139.2 kB / 427.7 MB, free: 12.09 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.3811, allocations: 3.984 kB / 427.7 MB, free: 12.08 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/0.3851, allocations: 2.121 MB / 429.8 MB, free: 10.07 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3851, allocations: 0.8438 kB / 429.8 MB, free: 10.07 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.3874, allocations: 0.7081 MB / 430.5 MB, free: 9.449 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.3875, allocations: 92.89 kB / 430.6 MB, free: 9.34 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.3875, allocations: 0 / 430.6 MB, free: 9.34 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.3878, allocations: 37.16 kB / 430.6 MB, free: 9.305 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.3879, allocations: 15.94 kB / 430.7 MB, free: 9.289 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3879, allocations: 11.67 kB / 430.7 MB, free: 9.281 MB / 315.1 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.388, allocations: 139.9 kB / 430.8 MB, free: 9.164 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.388, allocations: 0 / 430.8 MB, free: 9.164 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.3885, allocations: 80.59 kB / 430.9 MB, free: 9.086 MB / 315.1 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.0001567/0.3886, allocations: 103.2 kB / 431 MB, free: 8.973 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0009675/0.3896, allocations: 369.2 kB / 431.4 MB, free: 8.66 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3896, allocations: 0 / 431.4 MB, free: 8.66 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008176/0.3904, allocations: 300.7 kB / 431.6 MB, free: 8.387 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3907, allocations: 19.92 kB / 431.7 MB, free: 8.375 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008137/0.3916, allocations: 357.6 kB / 432 MB, free: 8.043 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.3917, allocations: 0.7475 MB / 432.8 MB, free: 7.266 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 8.88e-05/0.3918, allocations: 21.27 kB / 432.8 MB, free: 7.246 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.3919, allocations: 15.44 kB / 432.8 MB, free: 7.23 MB / 315.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3919, allocations: 0 / 432.8 MB, free: 7.23 MB / 315.1 MB Notification: Performance of Templates: time 0.006309/0.3982, allocations: 3.924 MB / 436.7 MB, free: 3.367 MB / 315.1 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)