Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",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.001184/0.001184, allocations: 172.5 kB / 7.647 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.825/1.825, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008149/0.0008148, allocations: 92.91 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.05787/0.05787, allocations: 14.04 MB / 323.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.527e-05, allocations: 0 / 380.8 MB, free: 73.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09632, allocations: 51.13 MB / 431.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.4996, allocations: 75.95 MB / 0.496 GB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.4998, allocations: 69.56 kB / 0.496 GB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001704/0.5016, allocations: 0.672 MB / 0.4967 GB, free: 10.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5016, allocations: 0 / 0.4967 GB, free: 10.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.5016, allocations: 0 / 0.4967 GB, free: 10.85 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.0002531/0.5018, allocations: 329.4 kB / 0.497 GB, free: 10.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5019, allocations: 11.62 kB / 0.497 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.5019, allocations: 4.656 kB / 0.497 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.5021, allocations: 176.6 kB / 0.4972 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5021, allocations: 0 / 0.4972 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.5021, allocations: 3.953 kB / 0.4972 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.861e-05/0.5022, allocations: 13.72 kB / 0.4972 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.5023, allocations: 58.02 kB / 0.4973 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.5023, allocations: 0 / 0.4973 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5023, allocations: 4 kB / 0.4973 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5023, allocations: 3.812 kB / 0.4973 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.5026, allocations: 313 kB / 0.4976 GB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.5027, allocations: 51.3 kB / 0.4976 GB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.5027, allocations: 24.53 kB / 0.4976 GB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.5028, allocations: 0.75 kB / 0.4976 GB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.5028, allocations: 38.34 kB / 0.4977 GB, free: 9.801 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.5028, allocations: 2.078 kB / 0.4977 GB, free: 9.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001567/0.503, allocations: 43.84 kB / 0.4977 GB, free: 9.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.503, allocations: 106.3 kB / 0.4978 GB, free: 9.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.5031, allocations: 92.97 kB / 0.4979 GB, free: 9.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.5031, allocations: 25.7 kB / 0.4979 GB, free: 9.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.5031, allocations: 80.14 kB / 0.498 GB, free: 9.438 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.5031, allocations: 22.64 kB / 0.498 GB, free: 9.426 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.5031, allocations: 3.938 kB / 0.498 GB, free: 9.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.5032, allocations: 310.8 kB / 0.4983 GB, free: 9.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.5032, allocations: 7.25 kB / 0.4983 GB, free: 9.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.5032, allocations: 25.98 kB / 0.4984 GB, free: 9.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/0.5033, allocations: 6.734 kB / 0.4984 GB, free: 9.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5033, allocations: 0 / 0.4984 GB, free: 9.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.431e-05/0.5033, allocations: 50.78 kB / 0.4984 GB, free: 9.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.5034, allocations: 187.6 kB / 0.4986 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5034, allocations: 0 / 0.4986 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.5034, allocations: 3.844 kB / 0.4986 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.5035, allocations: 10.27 kB / 0.4986 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5035, allocations: 0 / 0.4986 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.5036, allocations: 13.59 kB / 0.4986 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.5036, allocations: 3.875 kB / 0.4986 GB, free: 8.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.5036, allocations: 3.844 kB / 0.4986 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.235e-05/0.5037, allocations: 15.56 kB / 0.4987 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.5037, allocations: 7.891 kB / 0.4987 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-06/0.5037, allocations: 0 / 0.4987 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.65e-05/0.5037, allocations: 10.31 kB / 0.4987 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.5037, allocations: 0 / 0.4987 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.5038, allocations: 7.812 kB / 0.4987 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.5038, allocations: 0.625 kB / 0.4987 GB, free: 8.844 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 5.204e-05/0.5038, allocations: 103.5 kB / 0.4988 GB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.789e-05/0.5039, allocations: 52.77 kB / 0.4988 GB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.504, allocations: 7.172 kB / 0.4988 GB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.504, allocations: 7.703 kB / 0.4988 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.504, allocations: 3.844 kB / 0.4988 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.504, allocations: 0 / 0.4988 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.504, allocations: 0 / 0.4988 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5042, allocations: 143.4 kB / 0.499 GB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5042, allocations: 3.844 kB / 0.499 GB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.5042, allocations: 18.52 kB / 0.499 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5042, allocations: 0 / 0.499 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5043, allocations: 3.953 kB / 0.499 GB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5043, allocations: 3.844 kB / 0.499 GB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5043, allocations: 0 / 0.499 GB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.647e-05/0.5044, allocations: 231.2 kB / 0.4992 GB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.5044, allocations: 85.06 kB / 0.4993 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.5044, allocations: 3.844 kB / 0.4993 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.5045, allocations: 10.42 kB / 0.4993 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.5046, allocations: 2.672 kB / 0.4993 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.5046, allocations: 7.781 kB / 0.4993 GB, free: 8.188 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.002e-05/0.5046, allocations: 79.36 kB / 0.4994 GB, free: 8.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5046, allocations: 0 / 0.4994 GB, free: 8.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.5049, allocations: 11.62 kB / 0.4994 GB, free: 8.109 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.0002528/0.5052, allocations: 0.8285 MB / 0.5002 GB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.506e-05/0.5053, allocations: 33.09 kB / 0.5003 GB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5053, allocations: 256 / 0.5003 GB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/0.5053, allocations: 11.75 kB / 0.5003 GB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.5055, allocations: 10.22 kB / 0.5003 GB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.5059, allocations: 101.6 kB / 0.5004 GB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.506, allocations: 0.6814 MB / 0.501 GB, free: 6.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.5061, allocations: 6.516 kB / 0.5011 GB, free: 6.461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.5061, allocations: 11.19 kB / 0.5011 GB, free: 6.453 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5061, allocations: 3.844 kB / 0.5011 GB, free: 6.453 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.5246, allocations: 0.8453 MB / 0.5019 GB, free: 6.402 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.5248, allocations: 134.9 kB / 0.502 GB, free: 6.215 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.411/1.936, allocations: 0 / 0.502 GB, free: 6.215 MB / 330.7 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1)