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.00128/0.001281, allocations: 96.27 kB / 15.7 MB, free: 468 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.001384/0.001384, allocations: 176.6 kB / 16.57 MB, free: 6.859 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.65/1.65, allocations: 205.4 MB / 222.7 MB, free: 5.906 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05923/0.05923, allocations: 14.17 MB / 285.2 MB, free: 7.395 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.0005264/0.0005266, allocations: 16.2 kB / 346.9 MB, free: 19.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 51.12 MB / 398 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0009675/0.1057, allocations: 411.2 kB / 398.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002088/0.1059, allocations: 51.84 kB / 398.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.106, allocations: 0 / 398.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.106, allocations: 0 / 398.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.1061, allocations: 7.984 kB / 398.4 MB, free: 236 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.1062, allocations: 8 kB / 398.5 MB, free: 228 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.953e-05/0.1063, allocations: 19.91 kB / 398.5 MB, free: 208 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.1064, allocations: 8 kB / 398.5 MB, free: 200 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.1065, allocations: 4 kB / 398.5 MB, free: 196 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.1065, allocations: 11.92 kB / 398.5 MB, free: 184 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1065, allocations: 4 kB / 398.5 MB, free: 180 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.1066, allocations: 0 / 398.5 MB, free: 180 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.1066, allocations: 7.969 kB / 398.5 MB, free: 172 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.1066, allocations: 25.7 kB / 398.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.544e-05/0.1067, allocations: 19.92 kB / 398.6 MB, free: 120 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1067, allocations: 4 kB / 398.6 MB, free: 116 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1067, allocations: 3.938 kB / 398.6 MB, free: 112 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1067, allocations: 0 / 398.6 MB, free: 112 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.0004489/0.1072, allocations: 335.5 kB / 398.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1072, allocations: 12.02 kB / 398.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.1073, allocations: 30.56 kB / 398.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1073, allocations: 8 kB / 398.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1075, allocations: 171 kB / 399.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1075, allocations: 4 kB / 399.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1076, allocations: 3.953 kB / 399.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.1078, allocations: 76.25 kB / 399.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.1078, allocations: 0 / 399.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1078, allocations: 0 / 399.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1078, allocations: 4 kB / 399.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.108, allocations: 47.89 kB / 399.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.1085, allocations: 277.8 kB / 399.5 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1087, allocations: 73.12 kB / 399.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1087, allocations: 4 kB / 399.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.1087, allocations: 42.62 kB / 399.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1087, allocations: 0 / 399.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004113/0.1092, allocations: 101.7 kB / 399.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.1092, allocations: 106.8 kB / 399.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.1093, allocations: 97.86 kB / 399.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1094, allocations: 25.7 kB / 400 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.1094, allocations: 88.03 kB / 400 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1095, allocations: 7.906 kB / 400 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.1095, allocations: 4.156 kB / 400 MB, free: 14.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1096, allocations: 314.8 kB / 400.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.1097, allocations: 15.98 kB / 400.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.1098, allocations: 42.55 kB / 400.4 MB, free: 14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.1099, allocations: 28.02 kB / 400.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1099, allocations: 3.938 kB / 400.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002126/0.1101, allocations: 85.61 kB / 400.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/0.1102, allocations: 178 kB / 400.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.1102, allocations: 4 kB / 400.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1103, allocations: 3.938 kB / 400.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.435e-05/0.1104, allocations: 16.05 kB / 400.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1104, allocations: 3.938 kB / 400.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.1104, allocations: 8 kB / 400.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.1105, allocations: 7.953 kB / 400.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.1105, allocations: 4 kB / 400.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.572e-05/0.1106, allocations: 23.92 kB / 400.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.1106, allocations: 0 / 400.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-06/0.1106, allocations: 4.062 kB / 400.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.571e-05/0.1106, allocations: 11.92 kB / 400.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-06/0.1106, allocations: 4 kB / 400.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.1107, allocations: 3.938 kB / 400.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.1107, allocations: 4 kB / 400.8 MB, free: 13.59 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 0.0001121/0.1108, allocations: 185.1 kB / 401 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1108, allocations: 11.86 kB / 401 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.1109, allocations: 11.11 kB / 401 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1109, allocations: 0 / 401 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1109, allocations: 8 kB / 401 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1109, allocations: 0 / 401 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.1111, allocations: 157.7 kB / 401.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1111, allocations: 0 / 401.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.1111, allocations: 15.98 kB / 401.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1111, allocations: 3.953 kB / 401.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1112, allocations: 0 / 401.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1112, allocations: 0 / 401.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1112, allocations: 0 / 401.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/0.1117, allocations: 0.7616 MB / 401.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.1118, allocations: 77.11 kB / 402 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1118, allocations: 0 / 402 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.1119, allocations: 11.98 kB / 402 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.1119, allocations: 12.25 kB / 402 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1119, allocations: 4 kB / 402 MB, free: 12.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.112, allocations: 91.27 kB / 402.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.112, allocations: 0 / 402.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.1125, allocations: 11.95 kB / 402.1 MB, free: 12.09 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.0004908/0.113, allocations: 0.7914 MB / 402.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.1133, allocations: 63.95 kB / 403 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1133, allocations: 0 / 403 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/0.1134, allocations: 31.91 kB / 403 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.1135, allocations: 7.953 kB / 403 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009305/0.1144, allocations: 0.6525 MB / 403.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1147, allocations: 0.677 MB / 404.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.1147, allocations: 12.05 kB / 404.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.1148, allocations: 7.438 kB / 404.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1148, allocations: 3.938 kB / 404.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01006/0.1249, allocations: 1.15 MB / 405.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.1251, allocations: 187.9 kB / 405.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/1.605, allocations: 0 / 405.7 MB, free: 8.418 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: