Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 172.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 222.3 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008951/0.000895, allocations: 90.98 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05983/0.05983, allocations: 14.2 MB / 333.1 MB, free: 9.648 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005541/0.0005542, allocations: 19.98 kB / 394.9 MB, free: 64.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1291, allocations: 51.11 MB / 446 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3473/0.4764, allocations: 76.74 MB / 0.5105 GB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.4768, allocations: 62.47 kB / 0.5105 GB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001993/0.4788, allocations: 0.6804 MB / 0.5112 GB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.237e-06/0.4788, allocations: 0 / 0.5112 GB, free: 12.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.4788, allocations: 0 / 0.5112 GB, free: 12.86 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003561/0.4792, allocations: 338.8 kB / 0.5115 GB, free: 12.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4792, allocations: 7.719 kB / 0.5115 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.4793, allocations: 9.484 kB / 0.5115 GB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.4795, allocations: 171.7 kB / 0.5117 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4795, allocations: 384 / 0.5117 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.4795, allocations: 384 / 0.5117 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.4797, allocations: 81.94 kB / 0.5118 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4798, allocations: 4.125 kB / 0.5118 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.4798, allocations: 3.938 kB / 0.5118 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4798, allocations: 11.61 kB / 0.5118 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.4799, allocations: 45.83 kB / 0.5118 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.4803, allocations: 336.3 kB / 0.5122 GB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.4804, allocations: 79.19 kB / 0.5122 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.4805, allocations: 36.84 kB / 0.5123 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4806, allocations: 0 / 0.5123 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.4806, allocations: 42.31 kB / 0.5123 GB, free: 11.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.476e-06/0.4807, allocations: 0 / 0.5123 GB, free: 11.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003762/0.481, allocations: 97.77 kB / 0.5124 GB, free: 11.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.4811, allocations: 110.3 kB / 0.5125 GB, free: 11.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.4811, allocations: 101.7 kB / 0.5126 GB, free: 11.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.4812, allocations: 25.7 kB / 0.5126 GB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.4812, allocations: 90.84 kB / 0.5127 GB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.4812, allocations: 3.906 kB / 0.5127 GB, free: 11.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-06/0.4812, allocations: 0 / 0.5127 GB, free: 11.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.4813, allocations: 318 kB / 0.513 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.4814, allocations: 19.48 kB / 0.513 GB, free: 10.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.4814, allocations: 41.45 kB / 0.5131 GB, free: 10.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.4816, allocations: 62.69 kB / 0.5131 GB, free: 10.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4816, allocations: 0 / 0.5131 GB, free: 10.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001694/0.4818, allocations: 88.03 kB / 0.5132 GB, free: 10.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.4818, allocations: 97.3 kB / 0.5133 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4818, allocations: 0 / 0.5133 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4818, allocations: 0 / 0.5133 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.4819, allocations: 19.42 kB / 0.5133 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4819, allocations: 4.031 kB / 0.5133 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.482, allocations: 7.719 kB / 0.5134 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.482, allocations: 0 / 0.5134 GB, free: 10.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-06/0.482, allocations: 3.719 kB / 0.5134 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.426e-05/0.4821, allocations: 29.02 kB / 0.5134 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-06/0.4821, allocations: 3.938 kB / 0.5134 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-06/0.4821, allocations: 0 / 0.5134 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.956e-05/0.4821, allocations: 7.703 kB / 0.5134 GB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.4822, allocations: 15.58 kB / 0.5134 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.4822, allocations: 0 / 0.5134 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-06/0.4822, allocations: 3.719 kB / 0.5134 GB, free: 10.73 MB / 330.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.4823, allocations: 188.3 kB / 0.5136 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.4823, allocations: 11.5 kB / 0.5136 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.4823, allocations: 11.06 kB / 0.5136 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4823, allocations: 0 / 0.5136 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4823, allocations: 7.781 kB / 0.5136 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4824, allocations: 4 kB / 0.5136 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.4825, allocations: 156.5 kB / 0.5138 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4825, allocations: 0 / 0.5138 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.4826, allocations: 19.45 kB / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4826, allocations: 0 / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.4826, allocations: 0 / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4826, allocations: 3.781 kB / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4826, allocations: 0 / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.4828, allocations: 252.3 kB / 0.514 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.4829, allocations: 84.98 kB / 0.5141 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.4829, allocations: 7.859 kB / 0.5141 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.483, allocations: 11.75 kB / 0.5141 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.483, allocations: 7.891 kB / 0.5141 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.483, allocations: 0 / 0.5141 GB, free: 9.984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.245e-05/0.4831, allocations: 82.28 kB / 0.5142 GB, free: 9.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4831, allocations: 0 / 0.5142 GB, free: 9.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000284/0.4834, allocations: 7.719 kB / 0.5142 GB, free: 9.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.397e-05/0.4834, allocations: 94.75 kB / 0.5143 GB, free: 9.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.4837, allocations: 65.2 kB / 0.5144 GB, free: 9.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4837, allocations: 0 / 0.5144 GB, free: 9.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.4838, allocations: 38.88 kB / 0.5144 GB, free: 9.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.4841, allocations: 3.938 kB / 0.5144 GB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.4844, allocations: 128.3 kB / 0.5145 GB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.4845, allocations: 0.677 MB / 0.5152 GB, free: 8.957 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.63e-05/0.4846, allocations: 7.938 kB / 0.5152 GB, free: 8.953 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.4846, allocations: 7.438 kB / 0.5152 GB, free: 8.945 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4846, allocations: 0 / 0.5152 GB, free: 8.945 MB / 330.7 MB Notification: Performance of Templates: time 0.002473/0.4871, allocations: 0.5043 MB / 0.5157 GB, free: 8.707 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1)