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.001209/0.001209, allocations: 100 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.001491/0.001491, 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.295/1.295, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1688/0.1688, allocations: 14.18 MB / 305.2 MB, free: 1.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 8 kB / 369.7 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.09973, allocations: 53.92 MB / 423.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0007335/0.1005, allocations: 391.4 kB / 424 MB, free: 304 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000157/0.1007, allocations: 55.83 kB / 424 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.1007, allocations: 0 / 424 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.009e-05/0.1007, allocations: 0 / 424 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.1008, allocations: 4 kB / 424.1 MB, free: 244 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.1009, allocations: 15.91 kB / 424.1 MB, free: 228 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.101, allocations: 11.94 kB / 424.1 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.1011, allocations: 15.98 kB / 424.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.1011, allocations: 11.98 kB / 424.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.1011, allocations: 11.92 kB / 424.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1012, allocations: 0 / 424.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-06/0.1012, allocations: 0 / 424.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.1012, allocations: 4 kB / 424.1 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.1012, allocations: 29.7 kB / 424.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.917e-05/0.1013, allocations: 7.969 kB / 424.2 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1013, allocations: 4 kB / 424.2 MB, free: 124 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1013, allocations: 3.938 kB / 424.2 MB, free: 120 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.1013, allocations: 0 / 424.2 MB, free: 120 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.165/0.2663, allocations: 338 kB / 424.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2663, allocations: 10.84 kB / 424.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.2664, allocations: 30.56 kB / 424.5 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.2664, allocations: 0 / 424.5 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.2666, allocations: 173.1 kB / 424.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2666, allocations: 1.469 kB / 424.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.2666, allocations: 2.844 kB / 424.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.2669, allocations: 75.73 kB / 424.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2669, allocations: 0.9375 kB / 424.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2669, allocations: 1.625 kB / 424.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.2669, allocations: 7.047 kB / 424.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.2672, allocations: 46.8 kB / 424.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.2676, allocations: 271.5 kB / 425.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.2678, allocations: 78.94 kB / 425.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.2678, allocations: 3.125 kB / 425.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.2678, allocations: 32.06 kB / 425.2 MB, free: 36.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.2679, allocations: 0 / 425.2 MB, free: 36.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004541/0.2683, allocations: 109.2 kB / 425.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2684, allocations: 109.3 kB / 425.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.383e-05/0.2684, allocations: 98.16 kB / 425.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.2684, allocations: 27.83 kB / 425.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.2685, allocations: 84.61 kB / 425.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.2685, allocations: 17.47 kB / 425.7 MB, free: 36.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.2685, allocations: 2.562 kB / 425.7 MB, free: 36.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.2686, allocations: 314.3 kB / 426 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.2687, allocations: 18.66 kB / 426 MB, free: 36.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.2688, allocations: 46.36 kB / 426 MB, free: 36.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.2689, allocations: 23.36 kB / 426 MB, free: 36.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.269, allocations: 0 / 426 MB, free: 36.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002666/0.2692, allocations: 82.64 kB / 426.1 MB, free: 36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.2693, allocations: 185.5 kB / 426.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2693, allocations: 1.781 kB / 426.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2693, allocations: 0.875 kB / 426.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.2694, allocations: 14.64 kB / 426.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2695, allocations: 1.828 kB / 426.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.2695, allocations: 11.73 kB / 426.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2696, allocations: 0.8438 kB / 426.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/0.2696, allocations: 7.031 kB / 426.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001156/0.2697, allocations: 24.8 kB / 426.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.2697, allocations: 0.8125 kB / 426.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-06/0.2697, allocations: 3.281 kB / 426.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/0.2698, allocations: 9.531 kB / 426.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.2698, allocations: 5.016 kB / 426.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.2698, allocations: 7.859 kB / 426.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.2699, allocations: 7.359 kB / 426.4 MB, free: 35.81 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.561e-05/0.2699, allocations: 183.1 kB / 426.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.27, allocations: 5.078 kB / 426.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.27, allocations: 6.688 kB / 426.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.27, allocations: 2 kB / 426.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.27, allocations: 7.172 kB / 426.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.27, allocations: 0.75 kB / 426.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2702, allocations: 159.8 kB / 426.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2702, allocations: 1.5 kB / 426.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.2703, allocations: 18.08 kB / 426.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.2703, allocations: 0 / 426.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2703, allocations: 0.6094 kB / 426.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2703, allocations: 6.031 kB / 426.8 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2703, allocations: 3.828 kB / 426.8 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.2706, allocations: 193.4 kB / 427 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.2706, allocations: 80.8 kB / 427.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.2706, allocations: 1.453 kB / 427.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2708, allocations: 13.45 kB / 427.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.2708, allocations: 12.08 kB / 427.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2708, allocations: 2.062 kB / 427.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.377e-05/0.2709, allocations: 81.11 kB / 427.2 MB, free: 35.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2709, allocations: 0 / 427.2 MB, free: 35.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004052/0.2713, allocations: 8.312 kB / 427.2 MB, free: 35.09 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.0004334/0.2717, allocations: 0.7924 MB / 428 MB, free: 34.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.2721, allocations: 66.81 kB / 428 MB, free: 34.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2721, allocations: 0 / 428 MB, free: 34.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.2722, allocations: 27.62 kB / 428.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.2724, allocations: 9.203 kB / 428.1 MB, free: 34.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009488/0.2734, allocations: 0.5647 MB / 428.6 MB, free: 33.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.776e-05/0.2735, allocations: 0.6784 MB / 429.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.2735, allocations: 8.078 kB / 429.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.2736, allocations: 14.73 kB / 429.3 MB, free: 33.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2736, allocations: 0 / 429.3 MB, free: 33.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.2849, allocations: 1.151 MB / 430.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.285, allocations: 184.7 kB / 430.7 MB, free: 32.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.33/1.615, allocations: 0 / 430.7 MB, free: 32.78 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)