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.007636/0.007636, allocations: 165.3 kB / 15.11 MB, free: 5.969 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.24/1.24, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001862/0.001862, allocations: 114.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 38.76 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09154/0.3399, allocations: 68.1 MB / 381 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.3402, allocations: 71.95 kB / 381.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.3544, allocations: 4.773 MB / 385.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3544, allocations: 0 / 385.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.3545, allocations: 8 kB / 385.8 MB, free: 1.555 MB / 282.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.00103/0.3555, allocations: 0.5638 MB / 386.4 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3556, allocations: 8.031 kB / 386.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.3556, allocations: 35.56 kB / 386.4 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.356, allocations: 251.5 kB / 386.7 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.356, allocations: 16.44 kB / 386.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.356, allocations: 27.94 kB / 386.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/0.3568, allocations: 328.3 kB / 387 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3568, allocations: 0 / 387 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.3568, allocations: 4 kB / 387.1 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.3568, allocations: 8 kB / 387.1 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000796/0.3576, allocations: 289.5 kB / 387.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.3594, allocations: 1.265 MB / 388.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.3614, allocations: 486.3 kB / 389.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.3615, allocations: 4 kB / 389.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3615, allocations: 38.56 kB / 389.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3615, allocations: 0 / 389.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.005652/0.3672, allocations: 1.148 MB / 390.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3672, allocations: 55.41 kB / 390.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.3675, allocations: 204.1 kB / 390.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3675, allocations: 29.69 kB / 390.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3676, allocations: 160 kB / 390.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.3677, allocations: 51.36 kB / 390.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.3677, allocations: 4 kB / 390.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3679, allocations: 334.8 kB / 391.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.3682, allocations: 115.9 kB / 391.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.3686, allocations: 151.3 kB / 391.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.369, allocations: 126 kB / 391.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.369, allocations: 3.938 kB / 391.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.003307/0.3723, allocations: 0.7125 MB / 392.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.3723, allocations: 4 kB / 392.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3724, allocations: 3.953 kB / 392.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007829/0.3732, allocations: 236.7 kB / 392.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.3734, allocations: 39.97 kB / 392.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007424/0.3808, allocations: 2.685 MB / 395.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.3812, allocations: 47.8 kB / 395.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3812, allocations: 7.984 kB / 395.2 MB, free: 7.746 MB / 298.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.0002133/0.3815, allocations: 146.4 kB / 395.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.3815, allocations: 15.81 kB / 395.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.3816, allocations: 25.83 kB / 395.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3816, allocations: 4 kB / 395.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3816, allocations: 96 / 395.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3816, allocations: 3.984 kB / 395.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.382, allocations: 329.3 kB / 395.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.382, allocations: 0 / 395.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.3822, allocations: 35.97 kB / 395.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006593/0.3829, allocations: 232.6 kB / 396 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3829, allocations: 3.984 kB / 396 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/0.3903, allocations: 2.689 MB / 398.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3903, allocations: 0 / 398.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/0.3941, allocations: 0.9123 MB / 399.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3942, allocations: 120.8 kB / 399.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.3943, allocations: 4 kB / 399.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.3946, allocations: 35.92 kB / 399.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.3947, allocations: 20.05 kB / 399.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3947, allocations: 3.984 kB / 399.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.3949, allocations: 164.5 kB / 399.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.346e-06/0.3949, allocations: 0 / 399.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.3954, allocations: 91.78 kB / 400 MB, free: 2.691 MB / 298.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.0001951/0.3956, allocations: 95.25 kB / 400.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3974, allocations: 0.4958 MB / 400.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3974, allocations: 4 kB / 400.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.3986, allocations: 362.5 kB / 401 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.3989, allocations: 36.36 kB / 401 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.4003, allocations: 0.6752 MB / 401.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.4006, allocations: 0.7517 MB / 402.4 MB, free: 200 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.066e-05/0.4007, allocations: 17.55 kB / 402.4 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.4007, allocations: 15.44 kB / 402.5 MB, free: 168 kB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4007, allocations: 0 / 402.5 MB, free: 168 kB / 298.7 MB Notification: Performance of Templates: time 0.007954/0.4087, allocations: 4.511 MB / 407 MB, free: 11.68 MB / 314.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)