Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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 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.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_symb_jac_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.001037/0.001037, allocations: 92.86 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.00129/0.00129, allocations: 177.8 kB / 16.59 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.861/1.861, allocations: 205.4 MB / 222.8 MB, free: 5.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06054/0.06054, allocations: 14.18 MB / 285.2 MB, free: 7.082 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.0005986/0.0005988, allocations: 19.98 kB / 346.9 MB, free: 19.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.101, allocations: 51.11 MB / 398 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.000917/0.1019, allocations: 403.2 kB / 398.4 MB, free: 228 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002151/0.1022, allocations: 59.84 kB / 398.5 MB, free: 168 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.1022, allocations: 0 / 398.5 MB, free: 168 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.1023, allocations: 3.984 kB / 398.5 MB, free: 164 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.1023, allocations: 4 kB / 398.5 MB, free: 160 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.1025, allocations: 15.92 kB / 398.5 MB, free: 144 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.975e-05/0.1026, allocations: 19.98 kB / 398.5 MB, free: 124 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.1027, allocations: 4 kB / 398.5 MB, free: 120 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.1027, allocations: 7.922 kB / 398.5 MB, free: 112 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.1028, allocations: 11.98 kB / 398.5 MB, free: 100 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1028, allocations: 4 kB / 398.5 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.1028, allocations: 3.938 kB / 398.6 MB, free: 92 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1029, allocations: 0 / 398.6 MB, free: 92 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.1029, allocations: 25.7 kB / 398.6 MB, free: 60 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.347e-05/0.103, allocations: 19.97 kB / 398.6 MB, free: 40 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.103, allocations: 0 / 398.6 MB, free: 40 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.103, allocations: 0 / 398.6 MB, free: 40 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.103, allocations: 0 / 398.6 MB, free: 40 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.0004171/0.1034, allocations: 339.5 kB / 398.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1035, allocations: 15.95 kB / 398.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.1035, allocations: 34.56 kB / 399 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.1036, allocations: 4 kB / 399 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1037, allocations: 171 kB / 399.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1038, allocations: 7.984 kB / 399.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1038, allocations: 7.891 kB / 399.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.104, allocations: 76.25 kB / 399.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.104, allocations: 0 / 399.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.104, allocations: 4 kB / 399.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.104, allocations: 0 / 399.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1042, allocations: 47.89 kB / 399.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1046, allocations: 273.8 kB / 399.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1048, allocations: 69.19 kB / 399.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.1049, allocations: 45.69 kB / 399.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1049, allocations: 0 / 399.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1049, allocations: 34.56 kB / 399.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1049, allocations: 0 / 399.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003438/0.1053, allocations: 105.6 kB / 399.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.1054, allocations: 102.8 kB / 399.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.1054, allocations: 102.1 kB / 400 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1055, allocations: 25.7 kB / 400 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.1055, allocations: 84.05 kB / 400.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1056, allocations: 11.89 kB / 400.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.1056, allocations: 0 / 400.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1057, allocations: 314.8 kB / 400.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.1058, allocations: 19.98 kB / 400.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.1059, allocations: 46.55 kB / 400.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.146e-05/0.106, allocations: 23.92 kB / 400.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.106, allocations: 3.953 kB / 400.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001973/0.1062, allocations: 77.7 kB / 400.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.1063, allocations: 105.9 kB / 400.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1063, allocations: 8 kB / 400.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1063, allocations: 0 / 400.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.1064, allocations: 11.94 kB / 400.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1064, allocations: 3.938 kB / 400.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.1065, allocations: 15.92 kB / 400.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.1065, allocations: 4 kB / 400.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.802e-06/0.1065, allocations: 4 kB / 400.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.231e-05/0.1066, allocations: 23.98 kB / 400.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.1066, allocations: 3.953 kB / 400.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-06/0.1066, allocations: 0 / 400.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-05/0.1067, allocations: 11.94 kB / 400.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1067, allocations: 7.969 kB / 400.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.1067, allocations: 4 kB / 400.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-06/0.1067, allocations: 0 / 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.709e-05/0.1068, allocations: 193.1 kB / 401 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.1069, allocations: 7.906 kB / 401 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.1069, allocations: 7.078 kB / 401 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1069, allocations: 0 / 401 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1069, allocations: 4 kB / 401 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1069, allocations: 4.266 kB / 401 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1071, allocations: 157.7 kB / 401.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1071, allocations: 0 / 401.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.1072, allocations: 15.98 kB / 401.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1072, allocations: 3.984 kB / 401.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1072, allocations: 4 kB / 401.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1072, allocations: 3.953 kB / 401.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.1072, allocations: 4 kB / 401.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.1077, allocations: 0.7366 MB / 401.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.1078, allocations: 81.06 kB / 402 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1078, allocations: 0 / 402 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.1079, allocations: 15.98 kB / 402 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1079, allocations: 11.94 kB / 402 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.108, allocations: 0 / 402 MB, free: 12.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.117e-05/0.108, allocations: 83.27 kB / 402.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.108, allocations: 0 / 402.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004937/0.1085, allocations: 12 kB / 402.1 MB, free: 12.08 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.0005204/0.109, allocations: 0.7093 MB / 402.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1093, allocations: 63.89 kB / 402.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1093, allocations: 3.938 kB / 402.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.328e-05/0.1094, allocations: 27.92 kB / 402.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.1096, allocations: 4.375 kB / 402.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.1105, allocations: 0.513 MB / 403.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1108, allocations: 0.677 MB / 404.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.1109, allocations: 8.062 kB / 404.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1109, allocations: 11.44 kB / 404.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1109, allocations: 0 / 404.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.1221, allocations: 1.174 MB / 405.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.1223, allocations: 193.7 kB / 405.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.829, allocations: 4 kB / 405.5 MB, free: 8.609 MB / 302.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDiscontinuousDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDiscontinuousDeadBand.fmu > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) Environment - environmentSimulation: