Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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.TestDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 183.3 kB / 15.98 MB, free: 5.77 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.37/1.37, allocations: 205.1 MB / 221.8 MB, free: 8.48 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.0009707/0.0009705, allocations: 110.2 kB / 269.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05687/0.05687, allocations: 14.18 MB / 330.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009536/0.0009536, allocations: 55.89 kB / 391.6 MB, free: 64.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08628, allocations: 50.15 MB / 441.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001659/0.08797, allocations: 0.7412 MB / 442.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001748/0.08816, allocations: 61.55 kB / 442.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.0882, allocations: 0 / 442.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.08824, allocations: 7.984 kB / 442.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.08831, allocations: 0 / 442.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.08844, allocations: 23.92 kB / 442.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.08851, allocations: 20 kB / 442.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.146e-05/0.08859, allocations: 7.984 kB / 442.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.025e-05/0.08862, allocations: 11.94 kB / 442.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.48e-05/0.08866, allocations: 15.97 kB / 442.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.08868, allocations: 0 / 442.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.0887, allocations: 4 kB / 442.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.08872, allocations: 11.92 kB / 442.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.08874, allocations: 7.938 kB / 442.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.394e-05/0.0888, allocations: 19.91 kB / 442.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.08881, allocations: 0 / 442.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.08881, allocations: 4 kB / 442.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.08882, allocations: 0 / 442.7 MB, free: 13.78 MB / 298.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.0002704/0.0891, allocations: 335.7 kB / 443 MB, free: 13.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.08913, allocations: 8.031 kB / 443 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.08916, allocations: 4.922 kB / 443 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.08926, allocations: 168.4 kB / 443.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.08927, allocations: 4.375 kB / 443.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-06/0.08929, allocations: 4.375 kB / 443.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.08944, allocations: 72.8 kB / 443.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.08945, allocations: 4.125 kB / 443.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.08947, allocations: 3.938 kB / 443.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.08947, allocations: 0 / 443.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.08964, allocations: 35.97 kB / 443.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.08996, allocations: 265.8 kB / 443.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.09015, allocations: 81.06 kB / 443.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.09025, allocations: 29.77 kB / 443.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.09028, allocations: 11.91 kB / 443.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.09031, allocations: 34.56 kB / 443.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.09031, allocations: 7.938 kB / 443.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003366/0.09066, allocations: 93.48 kB / 443.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.09071, allocations: 102.8 kB / 443.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.635e-05/0.09077, allocations: 101.8 kB / 444 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.09078, allocations: 29.95 kB / 444.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.09082, allocations: 88.08 kB / 444.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.09084, allocations: 3.906 kB / 444.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.09088, allocations: 17.72 kB / 444.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.09093, allocations: 314.8 kB / 444.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.09102, allocations: 24.84 kB / 444.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.09111, allocations: 38.56 kB / 444.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.09126, allocations: 45.67 kB / 444.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.09127, allocations: 4 kB / 444.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001857/0.09146, allocations: 73.58 kB / 444.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.09148, allocations: 8 kB / 444.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.09149, allocations: 0 / 444.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.09151, allocations: 0 / 444.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.0916, allocations: 11.98 kB / 444.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.09161, allocations: 3.984 kB / 444.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.586e-05/0.09167, allocations: 15.98 kB / 444.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.09169, allocations: 0 / 444.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.453e-05/0.09175, allocations: 92.19 kB / 444.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.262e-05/0.0918, allocations: 30.52 kB / 444.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.992e-05/0.09188, allocations: 25.7 kB / 444.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-07/0.09189, allocations: 0 / 444.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001072/0.092, allocations: 65.53 kB / 444.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-06/0.09201, allocations: 8 kB / 444.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-06/0.09202, allocations: 0 / 444.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-06/0.09203, allocations: 0 / 444.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.54e-05/0.09207, allocations: 4 kB / 444.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.09208, allocations: 11.98 kB / 444.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.09212, allocations: 0 / 444.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-06/0.09213, allocations: 4 kB / 444.9 MB, free: 11.23 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.09218, allocations: 192.9 kB / 445.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.09221, allocations: 11.97 kB / 445.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.09224, allocations: 11.08 kB / 445.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.09224, allocations: 0 / 445.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.09225, allocations: 0 / 445.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.09226, allocations: 7.984 kB / 445.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.09237, allocations: 157.6 kB / 445.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.09238, allocations: 0 / 445.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.09245, allocations: 15.92 kB / 445.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.09246, allocations: 3.938 kB / 445.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.09247, allocations: 4 kB / 445.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.09247, allocations: 4 kB / 445.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.09248, allocations: 0 / 445.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.09287, allocations: 0.7403 MB / 446.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.0929, allocations: 77.11 kB / 446.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.09292, allocations: 4 kB / 446.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.09301, allocations: 11.98 kB / 446.2 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.09306, allocations: 7.922 kB / 446.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.09307, allocations: 4.422 kB / 446.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.916e-05/0.09309, allocations: 79.27 kB / 446.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.0931, allocations: 0 / 446.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000456/0.09356, allocations: 12 kB / 446.3 MB, free: 9.762 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.735e-05/0.09363, allocations: 95.25 kB / 446.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.09387, allocations: 55.89 kB / 446.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.09389, allocations: 0 / 446.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.09402, allocations: 24.23 kB / 446.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.09427, allocations: 15.56 kB / 446.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.09466, allocations: 230.2 kB / 446.7 MB, free: 9.301 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.09479, allocations: 0.677 MB / 447.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.107e-05/0.09484, allocations: 8 kB / 447.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.09488, allocations: 7.438 kB / 447.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09488, allocations: 0 / 447.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of Templates: time 0.00211/0.097, allocations: 0.5513 MB / 447.9 MB, free: 8.031 MB / 298.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1)