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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009636/0.0009635, allocations: 98.77 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.001059/0.001059, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05828/0.05828, allocations: 14.17 MB / 284.5 MB, free: 7 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005097, allocations: 12.22 kB / 346.2 MB, free: 19.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1025, allocations: 51.11 MB / 397.3 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0009028/0.1034, allocations: 414.6 kB / 397.7 MB, free: 236 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002064/0.1036, allocations: 59.81 kB / 397.8 MB, free: 176 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.1037, allocations: 0 / 397.8 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.1037, allocations: 0 / 397.8 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.1038, allocations: 0 / 397.8 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.104, allocations: 15.92 kB / 397.8 MB, free: 160 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.844e-05/0.104, allocations: 15.98 kB / 397.8 MB, free: 144 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.1041, allocations: 7.984 kB / 397.8 MB, free: 136 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.012e-05/0.1042, allocations: 7.984 kB / 397.9 MB, free: 128 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.1042, allocations: 19.92 kB / 397.9 MB, free: 108 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1043, allocations: 0 / 397.9 MB, free: 108 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.1043, allocations: 0 / 397.9 MB, free: 108 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.1043, allocations: 8 kB / 397.9 MB, free: 100 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.1043, allocations: 25.7 kB / 397.9 MB, free: 68 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.212e-05/0.1044, allocations: 15.97 kB / 397.9 MB, free: 52 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1044, allocations: 0 / 397.9 MB, free: 52 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1044, allocations: 3.938 kB / 397.9 MB, free: 48 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1044, allocations: 0 / 397.9 MB, free: 48 kB / 286.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.000414/0.1048, allocations: 335.5 kB / 398.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1049, allocations: 16.02 kB / 398.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1049, allocations: 34.5 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.105, allocations: 4 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1051, allocations: 175 kB / 398.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1052, allocations: 0 / 398.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1052, allocations: 7.953 kB / 398.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1054, allocations: 76.23 kB / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1054, allocations: 0 / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1054, allocations: 4 kB / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1054, allocations: 0 / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.1056, allocations: 47.91 kB / 398.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.106, allocations: 273.8 kB / 398.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1062, allocations: 81.12 kB / 399 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1062, allocations: 0 / 399 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1062, allocations: 38.56 kB / 399 MB, free: 14.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1062, allocations: 0 / 399 MB, free: 14.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000359/0.1066, allocations: 105.6 kB / 399.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.1067, allocations: 103.1 kB / 399.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.1067, allocations: 105.8 kB / 399.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1068, allocations: 25.7 kB / 399.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.1068, allocations: 92.03 kB / 399.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.1068, allocations: 7.906 kB / 399.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.1068, allocations: 0 / 399.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.1069, allocations: 310.8 kB / 399.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.107, allocations: 27.98 kB / 399.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.144e-05/0.1071, allocations: 50.48 kB / 399.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.1072, allocations: 19.98 kB / 399.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1072, allocations: 4.031 kB / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000199/0.1074, allocations: 81.62 kB / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-05/0.1075, allocations: 186 kB / 400.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1075, allocations: 3.938 kB / 400.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1076, allocations: 7.938 kB / 400.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.1077, allocations: 8 kB / 400.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1077, allocations: 3.984 kB / 400.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.1077, allocations: 8 kB / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.1077, allocations: 3.953 kB / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.1078, allocations: 8 kB / 400.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.823e-05/0.1079, allocations: 27.92 kB / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/0.1079, allocations: 0 / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-06/0.1079, allocations: 0 / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.395e-05/0.1079, allocations: 7.984 kB / 400.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-06/0.1079, allocations: 0 / 400.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.108, allocations: 7.938 kB / 400.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.108, allocations: 4 kB / 400.2 MB, free: 13.51 MB / 302.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 9.071e-05/0.1081, allocations: 189.2 kB / 400.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.1081, allocations: 11.86 kB / 400.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.1081, allocations: 7.109 kB / 400.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1081, allocations: 0 / 400.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1081, allocations: 0 / 400.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1082, allocations: 4 kB / 400.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1083, allocations: 157.7 kB / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1083, allocations: 0 / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.1084, allocations: 19.98 kB / 400.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1084, allocations: 3.953 kB / 400.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1084, allocations: 4 kB / 400.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1084, allocations: 0 / 400.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1084, allocations: 7.875 kB / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1087, allocations: 190.1 kB / 400.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.1087, allocations: 85.05 kB / 400.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1087, allocations: 4 kB / 400.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.1088, allocations: 8 kB / 400.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.1089, allocations: 7.984 kB / 400.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1089, allocations: 4 kB / 400.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.076e-05/0.1089, allocations: 79.28 kB / 400.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1089, allocations: 0 / 400.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1092, allocations: 8 kB / 400.9 MB, free: 12.63 MB / 302.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.000556/0.1098, allocations: 0.803 MB / 401.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.11, allocations: 67.89 kB / 401.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1101, allocations: 0 / 401.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.1101, allocations: 23.98 kB / 401.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1103, allocations: 4 kB / 401.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.1112, allocations: 0.5597 MB / 402.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1115, allocations: 0.6809 MB / 403.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.1115, allocations: 8.562 kB / 403.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.1116, allocations: 11.44 kB / 403.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1116, allocations: 0 / 403.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.1227, allocations: 1.163 MB / 404.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.1229, allocations: 156.4 kB / 404.4 MB, free: 9.023 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.692, allocations: 4 kB / 404.4 MB, free: 9.02 MB / 302.1 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) Environment - environmentSimulation: