Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1867/0.1867, allocations: 14.21 MB / 305.2 MB, free: 1.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 12 kB / 369.6 MB, free: 6.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 53.91 MB / 423.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001046/0.1325, allocations: 395.4 kB / 423.9 MB, free: 388 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002567/0.1328, allocations: 59.78 kB / 424 MB, free: 328 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.1328, allocations: 0 / 424 MB, free: 328 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.1329, allocations: 0 / 424 MB, free: 328 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.133, allocations: 4 kB / 424 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.1332, allocations: 11.98 kB / 424 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1333, allocations: 15.97 kB / 424 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1334, allocations: 7.984 kB / 424 MB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.1334, allocations: 3.938 kB / 424 MB, free: 284 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.1335, allocations: 11.98 kB / 424 MB, free: 272 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1335, allocations: 4 kB / 424 MB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.1335, allocations: 4 kB / 424 MB, free: 264 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.1336, allocations: 7.922 kB / 424.1 MB, free: 256 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.1336, allocations: 29.7 kB / 424.1 MB, free: 220 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.193e-05/0.1337, allocations: 15.97 kB / 424.1 MB, free: 204 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1337, allocations: 0 / 424.1 MB, free: 204 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1337, allocations: 0 / 424.1 MB, free: 204 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1337, allocations: 0 / 424.1 MB, free: 204 kB / 350.1 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.2238/0.3575, allocations: 323.2 kB / 424.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.3576, allocations: 13.06 kB / 424.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.3577, allocations: 1.875 kB / 424.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.3579, allocations: 173.4 kB / 424.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3579, allocations: 2.188 kB / 424.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3579, allocations: 2 kB / 424.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.3582, allocations: 83.83 kB / 424.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3582, allocations: 2.25 kB / 424.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3582, allocations: 1.281 kB / 424.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3582, allocations: 0.875 kB / 424.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.3584, allocations: 48.27 kB / 424.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.3588, allocations: 274 kB / 425 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.359, allocations: 77.64 kB / 425.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.359, allocations: 0.9375 kB / 425.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.359, allocations: 39.31 kB / 425.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.359, allocations: 0.7188 kB / 425.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003567/0.3594, allocations: 107.2 kB / 425.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3595, allocations: 103.9 kB / 425.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/0.3595, allocations: 99.19 kB / 425.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.3595, allocations: 25.7 kB / 425.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.3596, allocations: 81.89 kB / 425.5 MB, free: 36.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.3596, allocations: 20.7 kB / 425.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.3596, allocations: 0 / 425.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.973e-05/0.3597, allocations: 322.1 kB / 425.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.3598, allocations: 17.39 kB / 425.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.584e-05/0.3599, allocations: 38.53 kB / 425.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.975e-05/0.3599, allocations: 26.67 kB / 425.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.36, allocations: 1.969 kB / 425.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001994/0.3602, allocations: 81.84 kB / 426 MB, free: 36.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.3602, allocations: 186.4 kB / 426.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3602, allocations: 3.375 kB / 426.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3603, allocations: 2.719 kB / 426.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.3604, allocations: 10.5 kB / 426.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3604, allocations: 5.156 kB / 426.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.3604, allocations: 9.531 kB / 426.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3604, allocations: 1.453 kB / 426.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.3605, allocations: 3.938 kB / 426.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.547e-05/0.3605, allocations: 30.66 kB / 426.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-06/0.3606, allocations: 0 / 426.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.3606, allocations: 1.125 kB / 426.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.104e-05/0.3606, allocations: 5.688 kB / 426.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-06/0.3606, allocations: 1.484 kB / 426.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.3606, allocations: 9.344 kB / 426.3 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-06/0.3607, allocations: 2.375 kB / 426.3 MB, free: 35.83 MB / 350.1 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 6.382e-05/0.3607, allocations: 192.8 kB / 426.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.3608, allocations: 3.688 kB / 426.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.3608, allocations: 5.984 kB / 426.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3608, allocations: 2.562 kB / 426.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3608, allocations: 0.5 kB / 426.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3608, allocations: 8.266 kB / 426.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.3609, allocations: 163.7 kB / 426.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.361, allocations: 2.547 kB / 426.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.361, allocations: 14.12 kB / 426.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.361, allocations: 6.281 kB / 426.7 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.361, allocations: 0 / 426.7 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.361, allocations: 0 / 426.7 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3611, allocations: 3.469 kB / 426.7 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.3613, allocations: 193.6 kB / 426.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.3613, allocations: 81.58 kB / 427 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3613, allocations: 0 / 427 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.3614, allocations: 9.141 kB / 427 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.3615, allocations: 15.33 kB / 427 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3615, allocations: 0 / 427 MB, free: 35.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.715e-05/0.3615, allocations: 85.38 kB / 427.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3615, allocations: 2.297 kB / 427.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3618, allocations: 9.688 kB / 427.1 MB, free: 35.11 MB / 350.1 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 9.638e-05/0.3619, allocations: 97.44 kB / 427.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.3622, allocations: 70.38 kB / 427.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3622, allocations: 0 / 427.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.3623, allocations: 28.22 kB / 427.3 MB, free: 35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3625, allocations: 7.156 kB / 427.3 MB, free: 35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.3628, allocations: 127 kB / 427.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3629, allocations: 0.6785 MB / 428.1 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.165e-05/0.363, allocations: 8.766 kB / 428.1 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.363, allocations: 8.031 kB / 428.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.363, allocations: 3.828 kB / 428.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of Templates: time 0.002341/0.3653, allocations: 498.7 kB / 428.6 MB, free: 34.14 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1)