Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_symb_jac_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.001006/0.001006, allocations: 92.55 kB / 15.71 MB, free: 464 kB / 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: 173.6 kB / 16.58 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06209/0.06209, allocations: 14.15 MB / 285.2 MB, free: 7.141 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.0006274/0.0006276, allocations: 15.94 kB / 346.9 MB, free: 19.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.103, allocations: 51.12 MB / 398 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001115/0.1041, allocations: 407.2 kB / 398.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000265/0.1045, allocations: 71.77 kB / 398.5 MB, free: 180 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.1045, allocations: 0 / 398.5 MB, free: 180 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.1046, allocations: 0 / 398.5 MB, free: 180 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.954e-05/0.1047, allocations: 4 kB / 398.5 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.1049, allocations: 15.92 kB / 398.5 MB, free: 160 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.105, allocations: 23.97 kB / 398.5 MB, free: 136 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.1051, allocations: 0 / 398.5 MB, free: 136 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.1051, allocations: 15.92 kB / 398.5 MB, free: 120 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.1052, allocations: 7.984 kB / 398.6 MB, free: 112 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1052, allocations: 4 kB / 398.6 MB, free: 108 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.1052, allocations: 7.938 kB / 398.6 MB, free: 100 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1053, allocations: 4 kB / 398.6 MB, free: 96 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1053, allocations: 25.7 kB / 398.6 MB, free: 64 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.522e-05/0.1054, allocations: 15.97 kB / 398.6 MB, free: 48 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1054, allocations: 0 / 398.6 MB, free: 48 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1054, allocations: 0 / 398.6 MB, free: 48 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1054, allocations: 0 / 398.6 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.000495/0.1059, allocations: 339.5 kB / 398.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.106, allocations: 15.95 kB / 399 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.106, allocations: 30.56 kB / 399 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1061, allocations: 12 kB / 399 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1063, allocations: 163.1 kB / 399.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1063, allocations: 4 kB / 399.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1063, allocations: 7.891 kB / 399.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1065, allocations: 84.23 kB / 399.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1066, allocations: 3.984 kB / 399.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1066, allocations: 0 / 399.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1066, allocations: 0 / 399.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1068, allocations: 43.91 kB / 399.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.1072, allocations: 281.8 kB / 399.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1074, allocations: 77.19 kB / 399.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.1075, allocations: 37.7 kB / 399.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1076, allocations: 0 / 399.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1076, allocations: 38.56 kB / 399.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1076, allocations: 0 / 399.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003698/0.108, allocations: 105.8 kB / 399.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.1081, allocations: 106.8 kB / 399.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.1081, allocations: 97.84 kB / 400 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1082, allocations: 25.7 kB / 400.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.1082, allocations: 88.05 kB / 400.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.1082, allocations: 7.906 kB / 400.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1082, allocations: 0 / 400.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1084, allocations: 318.8 kB / 400.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.1085, allocations: 27.97 kB / 400.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.1086, allocations: 38.56 kB / 400.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.612e-05/0.1086, allocations: 27.95 kB / 400.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1087, allocations: 3.953 kB / 400.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001991/0.1089, allocations: 77.72 kB / 400.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.1089, allocations: 105.9 kB / 400.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.109, allocations: 0 / 400.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.109, allocations: 0 / 400.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.1091, allocations: 19.92 kB / 400.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1091, allocations: 3.938 kB / 400.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.1092, allocations: 15.98 kB / 400.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1092, allocations: 0 / 400.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.1092, allocations: 4 kB / 400.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.322e-05/0.1093, allocations: 19.98 kB / 400.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1093, allocations: 3.953 kB / 400.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.1093, allocations: 4 kB / 400.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.1093, allocations: 7.938 kB / 400.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.1093, allocations: 0 / 400.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.1094, allocations: 12 kB / 400.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1094, allocations: 3.984 kB / 400.8 MB, free: 13.55 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.625e-05/0.1095, allocations: 193.1 kB / 401 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1095, allocations: 3.906 kB / 401 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.1096, allocations: 11.08 kB / 401 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1096, allocations: 0 / 401 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1096, allocations: 0 / 401 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1096, allocations: 0 / 401 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.1097, allocations: 165.7 kB / 401.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1098, allocations: 4 kB / 401.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.1098, allocations: 11.98 kB / 401.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1098, allocations: 0 / 401.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.1099, allocations: 8 kB / 401.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1099, allocations: 3.953 kB / 401.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1099, allocations: 0 / 401.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.1105, allocations: 0.7447 MB / 402 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.1105, allocations: 85.06 kB / 402 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1105, allocations: 0 / 402 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.1106, allocations: 11.98 kB / 402.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.1107, allocations: 11.92 kB / 402.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1107, allocations: 0 / 402.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.739e-05/0.1107, allocations: 83.28 kB / 402.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1107, allocations: 0 / 402.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004927/0.1112, allocations: 11.92 kB / 402.2 MB, free: 12.07 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.0005228/0.1118, allocations: 0.7132 MB / 402.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.112, allocations: 67.89 kB / 402.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.112, allocations: 3.938 kB / 402.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.1121, allocations: 32.23 kB / 403 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.1124, allocations: 4 kB / 403 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008695/0.1132, allocations: 0.5052 MB / 403.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1135, allocations: 0.681 MB / 404.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.806e-05/0.1135, allocations: 4 kB / 404.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.1136, allocations: 11.44 kB / 404.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1136, allocations: 4 kB / 404.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.1253, allocations: 1.176 MB / 405.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.1256, allocations: 190.2 kB / 405.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.796, allocations: 0 / 405.5 MB, free: 8.57 MB / 302.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) Environment - environmentSimulation: