Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001514/0.001514, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.163/1.163, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001586/0.001586, allocations: 103.5 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.408e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07554/0.07559, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.289/0.3647, allocations: 68.01 MB / 375.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.3649, allocations: 65.03 kB / 375.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.014/0.3789, allocations: 4.772 MB / 380.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3789, allocations: 0 / 380.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.3789, allocations: 6.516 kB / 380.5 MB, free: 4.117 MB / 266.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.001029/0.38, allocations: 0.5368 MB / 381 MB, free: 3.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.38, allocations: 12.03 kB / 381 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.3801, allocations: 27.62 kB / 381.1 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.3805, allocations: 260.6 kB / 381.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3805, allocations: 16.12 kB / 381.3 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.3806, allocations: 18.56 kB / 381.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.381, allocations: 262.9 kB / 381.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.381, allocations: 7.938 kB / 381.6 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3811, allocations: 6.5 kB / 381.6 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3811, allocations: 7.984 kB / 381.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.3815, allocations: 189.6 kB / 381.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.3833, allocations: 1.266 MB / 383.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.3847, allocations: 331.2 kB / 383.4 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.3849, allocations: 104.3 kB / 383.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.3849, allocations: 3.984 kB / 383.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.385, allocations: 34.56 kB / 383.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.385, allocations: 0 / 383.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.002555/0.3875, allocations: 0.5179 MB / 384.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3876, allocations: 55.41 kB / 384.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3878, allocations: 203.5 kB / 384.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.3879, allocations: 28.64 kB / 384.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.388, allocations: 166.6 kB / 384.5 MB, free: 436 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.3881, allocations: 51.17 kB / 384.5 MB, free: 392 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.3881, allocations: 3.75 kB / 384.5 MB, free: 392 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3882, allocations: 330.4 kB / 384.9 MB, free: 60 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3884, allocations: 66.3 kB / 384.9 MB, free: 20 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3885, allocations: 99.59 kB / 385 MB, free: 15.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.3887, allocations: 66.22 kB / 385.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3887, allocations: 0 / 385.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002418/0.3911, allocations: 0.5567 MB / 385.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3912, allocations: 19.95 kB / 385.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3912, allocations: 0 / 385.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.3916, allocations: 135.4 kB / 385.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.3918, allocations: 35.98 kB / 385.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/0.3968, allocations: 2.199 MB / 388 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.3972, allocations: 39.77 kB / 388.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.3972, allocations: 7.984 kB / 388.1 MB, free: 13.09 MB / 282.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 () * 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.0001329/0.3973, allocations: 116.8 kB / 388.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.3974, allocations: 19.88 kB / 388.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.3975, allocations: 29.52 kB / 388.3 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3975, allocations: 3.938 kB / 388.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.3975, allocations: 0 / 388.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3975, allocations: 0 / 388.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.3979, allocations: 334.9 kB / 388.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3979, allocations: 0 / 388.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.3981, allocations: 27.98 kB / 388.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.3984, allocations: 135.4 kB / 388.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.3984, allocations: 11.67 kB / 388.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004731/0.4031, allocations: 2.172 MB / 390.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4032, allocations: 0 / 390.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.4057, allocations: 0.7191 MB / 391.6 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.4059, allocations: 115 kB / 391.8 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.4059, allocations: 4 kB / 391.8 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.4062, allocations: 43.11 kB / 391.8 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.4063, allocations: 12.05 kB / 391.8 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.4063, allocations: 7.438 kB / 391.8 MB, free: 9.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.4065, allocations: 160.9 kB / 392 MB, free: 9.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4065, allocations: 7.875 kB / 392 MB, free: 9.434 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.407, allocations: 82.28 kB / 392.1 MB, free: 9.359 MB / 282.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.0001837/0.4072, allocations: 103.5 kB / 392.2 MB, free: 9.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.4084, allocations: 395.6 kB / 392.6 MB, free: 8.906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4084, allocations: 0 / 392.6 MB, free: 8.906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.4093, allocations: 319.2 kB / 392.9 MB, free: 8.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.4096, allocations: 27.52 kB / 392.9 MB, free: 8.594 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.4105, allocations: 375 kB / 393.3 MB, free: 8.246 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.4109, allocations: 0.7519 MB / 394 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.275e-05/0.411, allocations: 13.55 kB / 394 MB, free: 7.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.411, allocations: 15.44 kB / 394 MB, free: 7.438 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.411, allocations: 0 / 394 MB, free: 7.438 MB / 282.7 MB Notification: Performance of Templates: time 0.008114/0.4191, allocations: 4.518 MB / 398.6 MB, free: 2.941 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1)