Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.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.TestDeadBand,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestDeadBand",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.001362/0.001362, allocations: 97.97 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.001479/0.001478, 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.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1536/0.1536, allocations: 14.17 MB / 305.1 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.000285, allocations: 8 kB / 369.7 MB, free: 6.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09038, allocations: 53.92 MB / 423.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0008307/0.09126, allocations: 399.4 kB / 424 MB, free: 316 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001978/0.09147, allocations: 67.81 kB / 424.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.09151, allocations: 0 / 424.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.09153, allocations: 0 / 424.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.09161, allocations: 0 / 424.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.09174, allocations: 15.92 kB / 424.1 MB, free: 232 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.552e-05/0.09182, allocations: 23.91 kB / 424.1 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.09191, allocations: 8 kB / 424.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.09194, allocations: 3.984 kB / 424.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.092, allocations: 15.92 kB / 424.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.09202, allocations: 4 kB / 424.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.09204, allocations: 0 / 424.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.09205, allocations: 0 / 424.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.09208, allocations: 33.7 kB / 424.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.347e-05/0.09213, allocations: 11.91 kB / 424.2 MB, free: 124 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.09214, allocations: 4 kB / 424.2 MB, free: 120 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.09215, allocations: 0 / 424.2 MB, free: 120 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.09216, allocations: 4 kB / 424.2 MB, free: 116 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.1807/0.2728, allocations: 334.6 kB / 424.5 MB, free: 37.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.2729, allocations: 8.969 kB / 424.5 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.273, allocations: 33.31 kB / 424.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.273, allocations: 2.344 kB / 424.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.2732, allocations: 171.3 kB / 424.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2733, allocations: 1.156 kB / 424.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.2733, allocations: 7.062 kB / 424.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.2736, allocations: 73.84 kB / 424.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2736, allocations: 0.9375 kB / 424.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2736, allocations: 0.8438 kB / 424.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2736, allocations: 5.266 kB / 424.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.2738, allocations: 48.39 kB / 424.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.2743, allocations: 271.2 kB / 425.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.2745, allocations: 80.05 kB / 425.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.2745, allocations: 3.438 kB / 425.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.2745, allocations: 38.09 kB / 425.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.2745, allocations: 2.406 kB / 425.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004142/0.275, allocations: 107.3 kB / 425.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.275, allocations: 104.3 kB / 425.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.2751, allocations: 100.6 kB / 425.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.2751, allocations: 26.2 kB / 425.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.2752, allocations: 83.61 kB / 425.7 MB, free: 36.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.2752, allocations: 18.16 kB / 425.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.2752, allocations: 0 / 425.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.2753, allocations: 315.6 kB / 426 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.08e-05/0.2754, allocations: 20.06 kB / 426 MB, free: 36.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.2755, allocations: 47.97 kB / 426 MB, free: 36.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.686e-05/0.2756, allocations: 24.44 kB / 426.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2756, allocations: 0 / 426.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002363/0.2759, allocations: 83.75 kB / 426.2 MB, free: 36.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.2759, allocations: 186.5 kB / 426.3 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.276, allocations: 0 / 426.3 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.276, allocations: 1.969 kB / 426.3 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2761, allocations: 12.02 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2761, allocations: 5.812 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.978e-05/0.2762, allocations: 12.33 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.2762, allocations: 0.8906 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2762, allocations: 2.781 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.558e-05/0.2763, allocations: 26.78 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.2763, allocations: 0 / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-06/0.2763, allocations: 0 / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.884e-05/0.2764, allocations: 8.594 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2764, allocations: 5.391 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.979e-05/0.2764, allocations: 5.969 kB / 426.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.2764, allocations: 7.344 kB / 426.4 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 7.594e-05/0.2765, allocations: 188.4 kB / 426.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.2765, allocations: 3.781 kB / 426.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.2766, allocations: 7.109 kB / 426.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2766, allocations: 0.5156 kB / 426.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2766, allocations: 5.891 kB / 426.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2766, allocations: 0 / 426.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.2768, allocations: 162.8 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2768, allocations: 3.625 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.2768, allocations: 16.88 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2769, allocations: 0.75 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2769, allocations: 7.625 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2769, allocations: 0 / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2769, allocations: 5.344 kB / 426.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.2771, allocations: 193.2 kB / 427 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.2772, allocations: 80.36 kB / 427.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2772, allocations: 1.734 kB / 427.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.2773, allocations: 17.78 kB / 427.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.2773, allocations: 9.688 kB / 427.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.2773, allocations: 1.656 kB / 427.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.047e-05/0.2774, allocations: 77.95 kB / 427.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2774, allocations: 0 / 427.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.2776, allocations: 13.19 kB / 427.2 MB, free: 35.14 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.0003868/0.278, allocations: 0.7904 MB / 428 MB, free: 34.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.2783, allocations: 67.38 kB / 428.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2783, allocations: 0 / 428.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/0.2784, allocations: 25.94 kB / 428.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.2786, allocations: 5.391 kB / 428.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.2794, allocations: 0.573 MB / 428.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.741e-05/0.2795, allocations: 0.679 MB / 429.3 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.2795, allocations: 7.391 kB / 429.3 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.2796, allocations: 14.34 kB / 429.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of SimCode: time 1.433e-06/0.2796, allocations: 1.312 kB / 429.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.2898, allocations: 1.151 MB / 430.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/0.2899, allocations: 186.3 kB / 430.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.385/1.675, allocations: 0 / 430.7 MB, free: 32.83 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1)