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: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008369, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008995/0.0008995, allocations: 172.7 kB / 15.95 MB, free: 208 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.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1742/0.1742, allocations: 14.18 MB / 305.3 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002665/0.0002667, allocations: 8.219 kB / 369.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09219, allocations: 53.93 MB / 423.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0008179/0.09304, allocations: 395.4 kB / 424.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001945/0.09326, allocations: 55.78 kB / 424.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.09331, allocations: 4 kB / 424.2 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.09333, allocations: 0 / 424.2 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.09341, allocations: 3.984 kB / 424.2 MB, free: 148 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.09355, allocations: 8 kB / 424.2 MB, free: 140 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.09365, allocations: 23.92 kB / 424.2 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.09374, allocations: 7.984 kB / 424.2 MB, free: 108 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.09378, allocations: 15.92 kB / 424.2 MB, free: 92 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.09384, allocations: 7.984 kB / 424.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.09385, allocations: 0 / 424.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-06/0.09387, allocations: 0 / 424.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.09389, allocations: 7.938 kB / 424.2 MB, free: 76 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.09392, allocations: 29.7 kB / 424.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.446e-05/0.09396, allocations: 7.984 kB / 424.3 MB, free: 32 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09397, allocations: 0 / 424.3 MB, free: 32 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09398, allocations: 0 / 424.3 MB, free: 32 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.09399, allocations: 0 / 424.3 MB, free: 32 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.167/0.2609, allocations: 336.7 kB / 424.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.261, allocations: 8.875 kB / 424.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.261, allocations: 38.95 kB / 424.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.2611, allocations: 0 / 424.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2612, allocations: 170.1 kB / 424.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2612, allocations: 1.312 kB / 424.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.2612, allocations: 5.125 kB / 424.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.2614, allocations: 79.33 kB / 424.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2614, allocations: 0 / 424.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2614, allocations: 4.312 kB / 424.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.2615, allocations: 3.953 kB / 424.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.2616, allocations: 43.67 kB / 425 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.2619, allocations: 275.5 kB / 425.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.2621, allocations: 74.67 kB / 425.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.2622, allocations: 40.44 kB / 425.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.2622, allocations: 7.422 kB / 425.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.2622, allocations: 31.47 kB / 425.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.2622, allocations: 0.6562 kB / 425.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003168/0.2625, allocations: 106.5 kB / 425.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.2626, allocations: 109.8 kB / 425.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.2626, allocations: 98.22 kB / 425.7 MB, free: 36.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.2626, allocations: 25.7 kB / 425.7 MB, free: 36.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.2627, allocations: 82.67 kB / 425.8 MB, free: 36.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2627, allocations: 16.02 kB / 425.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.2627, allocations: 3.219 kB / 425.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.2627, allocations: 313.2 kB / 426.1 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.2628, allocations: 21.84 kB / 426.1 MB, free: 36.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.2629, allocations: 42.05 kB / 426.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.263, allocations: 28.2 kB / 426.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.263, allocations: 0 / 426.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000174/0.2632, allocations: 80.73 kB / 426.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.2632, allocations: 105.2 kB / 426.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2632, allocations: 0 / 426.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2632, allocations: 2.094 kB / 426.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.2633, allocations: 17.05 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2633, allocations: 2.625 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.2634, allocations: 8 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2634, allocations: 2.5 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.2634, allocations: 3.719 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.52e-05/0.2635, allocations: 28.53 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-06/0.2635, allocations: 4.062 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-06/0.2635, allocations: 1.688 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.743e-05/0.2635, allocations: 5.094 kB / 426.5 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.2635, allocations: 1.781 kB / 426.5 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.2636, allocations: 3.344 kB / 426.5 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2636, allocations: 7.016 kB / 426.5 MB, free: 35.86 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 5.059e-05/0.2636, allocations: 192.5 kB / 426.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.2637, allocations: 2.547 kB / 426.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.2637, allocations: 10.47 kB / 426.7 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2637, allocations: 0 / 426.7 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2637, allocations: 0.5938 kB / 426.7 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2637, allocations: 1.578 kB / 426.7 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.2638, allocations: 169.2 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2638, allocations: 0.5625 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.2639, allocations: 14.27 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2639, allocations: 0.5 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2639, allocations: 3.844 kB / 426.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2639, allocations: 7.188 kB / 426.9 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2639, allocations: 4.75 kB / 426.9 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.2641, allocations: 177.3 kB / 427 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.2641, allocations: 82.7 kB / 427.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2641, allocations: 4.094 kB / 427.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.2642, allocations: 11.02 kB / 427.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.2643, allocations: 1.938 kB / 427.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.2643, allocations: 6.906 kB / 427.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.824e-05/0.2643, allocations: 79.05 kB / 427.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2643, allocations: 3.531 kB / 427.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.2645, allocations: 4.219 kB / 427.2 MB, free: 35.16 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 0.0003028/0.2649, allocations: 0.7214 MB / 427.9 MB, free: 34.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2651, allocations: 60.89 kB / 428 MB, free: 34.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2651, allocations: 0 / 428 MB, free: 34.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.2652, allocations: 31.2 kB / 428 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2654, allocations: 4.031 kB / 428 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.266, allocations: 429.1 kB / 428.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.631e-05/0.2661, allocations: 0.6823 MB / 429.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.2662, allocations: 1.844 kB / 429.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.2662, allocations: 9.281 kB / 429.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2662, allocations: 2.219 kB / 429.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01035/0.2766, allocations: 1.176 MB / 430.3 MB, free: 33.31 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001276/0.2767, allocations: 189.3 kB / 430.5 MB, free: 33.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.408/1.685, allocations: 0 / 430.5 MB, free: 33.07 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestDiscontinuousDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Controls_Test_TestDiscontinuousDeadBand.fmu > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1)