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-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/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: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0008095/0.0008095, allocations: 95.55 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06247/0.06247, allocations: 14.04 MB / 323.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.63e-05, allocations: 0 / 380.8 MB, free: 73.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09062, allocations: 51.11 MB / 431.9 MB, free: 22.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4435, allocations: 75.98 MB / 0.496 GB, free: 11.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001573/0.4437, allocations: 66.16 kB / 0.4961 GB, free: 11.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001801/0.4455, allocations: 0.7007 MB / 0.4967 GB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4455, allocations: 0 / 0.4967 GB, free: 10.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4455, allocations: 0 / 0.4967 GB, free: 10.77 MB / 330.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.0002631/0.4458, allocations: 334.9 kB / 0.4971 GB, free: 10.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4459, allocations: 13.67 kB / 0.4971 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.4459, allocations: 0.7812 kB / 0.4971 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.4461, allocations: 169.8 kB / 0.4972 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.4461, allocations: 3.938 kB / 0.4972 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.4461, allocations: 3.953 kB / 0.4972 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.646e-05/0.4462, allocations: 14.56 kB / 0.4973 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.589e-05/0.4463, allocations: 58.22 kB / 0.4973 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4463, allocations: 6.797 kB / 0.4973 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4463, allocations: 0 / 0.4973 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4463, allocations: 0 / 0.4973 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.4466, allocations: 321.8 kB / 0.4976 GB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.4467, allocations: 51.67 kB / 0.4977 GB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.4467, allocations: 20.62 kB / 0.4977 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.4467, allocations: 3.984 kB / 0.4977 GB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.4468, allocations: 34.5 kB / 0.4977 GB, free: 9.719 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4468, allocations: 2.078 kB / 0.4977 GB, free: 9.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001788/0.447, allocations: 51 kB / 0.4978 GB, free: 9.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.447, allocations: 102.8 kB / 0.4979 GB, free: 9.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.206e-05/0.4471, allocations: 95.08 kB / 0.498 GB, free: 9.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/0.4471, allocations: 26.55 kB / 0.498 GB, free: 9.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.4471, allocations: 80.14 kB / 0.4981 GB, free: 9.355 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.4471, allocations: 15.16 kB / 0.4981 GB, free: 9.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.4471, allocations: 0 / 0.4981 GB, free: 9.348 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.14e-05/0.4472, allocations: 313.8 kB / 0.4984 GB, free: 9.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.4472, allocations: 11.41 kB / 0.4984 GB, free: 9.031 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.4473, allocations: 25.64 kB / 0.4984 GB, free: 9.004 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/0.4473, allocations: 7.531 kB / 0.4984 GB, free: 9.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4473, allocations: 0 / 0.4984 GB, free: 9.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.653e-05/0.4474, allocations: 57.23 kB / 0.4985 GB, free: 8.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.4474, allocations: 184.3 kB / 0.4987 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4474, allocations: 0 / 0.4987 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4475, allocations: 0 / 0.4987 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.4476, allocations: 18.97 kB / 0.4987 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4476, allocations: 0 / 0.4987 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.4476, allocations: 11.25 kB / 0.4987 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.4477, allocations: 7.312 kB / 0.4987 GB, free: 8.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.4477, allocations: 3.906 kB / 0.4987 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.144e-05/0.4477, allocations: 9.906 kB / 0.4987 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.4477, allocations: 7.859 kB / 0.4987 GB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-06/0.4477, allocations: 0 / 0.4987 GB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.779e-05/0.4478, allocations: 9.625 kB / 0.4987 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.4478, allocations: 0 / 0.4987 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.4478, allocations: 10.78 kB / 0.4987 GB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-06/0.4478, allocations: 3.906 kB / 0.4987 GB, free: 8.762 MB / 330.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 () * 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 4.403e-05/0.4479, allocations: 105 kB / 0.4988 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.109e-05/0.448, allocations: 46.02 kB / 0.4989 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.448, allocations: 10.62 kB / 0.4989 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.448, allocations: 11.14 kB / 0.4989 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.4481, allocations: 0 / 0.4989 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.4481, allocations: 3.906 kB / 0.4989 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4481, allocations: 0 / 0.4989 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.4483, allocations: 138 kB / 0.499 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4483, allocations: 4.062 kB / 0.499 GB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.636e-05/0.4483, allocations: 17.09 kB / 0.4991 GB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4484, allocations: 0 / 0.4991 GB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4484, allocations: 3.953 kB / 0.4991 GB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4484, allocations: 0 / 0.4991 GB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4484, allocations: 3.906 kB / 0.4991 GB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.975e-05/0.4485, allocations: 229.8 kB / 0.4993 GB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.4485, allocations: 81.06 kB / 0.4994 GB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.4485, allocations: 3.781 kB / 0.4994 GB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4487, allocations: 10.25 kB / 0.4994 GB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.4487, allocations: 12.16 kB / 0.4994 GB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4487, allocations: 0 / 0.4994 GB, free: 8.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.081e-05/0.4487, allocations: 83.12 kB / 0.4995 GB, free: 8.035 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4487, allocations: 4 kB / 0.4995 GB, free: 8.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002847/0.449, allocations: 11.56 kB / 0.4995 GB, free: 8.027 MB / 330.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 () * 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.0002732/0.4493, allocations: 0.8199 MB / 0.5003 GB, free: 7.215 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.4494, allocations: 38.19 kB / 0.5003 GB, free: 7.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4494, allocations: 0 / 0.5003 GB, free: 7.207 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.4495, allocations: 7.844 kB / 0.5003 GB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.4496, allocations: 6.812 kB / 0.5003 GB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.4501, allocations: 108.8 kB / 0.5004 GB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.4502, allocations: 0.6815 MB / 0.5011 GB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.4502, allocations: 7.984 kB / 0.5011 GB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.4503, allocations: 16.97 kB / 0.5011 GB, free: 6.371 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4503, allocations: 0 / 0.5011 GB, free: 6.371 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.4699, allocations: 0.8629 MB / 0.502 GB, free: 6.324 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.4701, allocations: 119.7 kB / 0.5021 GB, free: 6.137 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.406/1.876, allocations: 4 kB / 0.5021 GB, free: 6.133 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1)