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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001814/0.001813, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.001038/0.001038, allocations: 84.53 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05921/0.05921, allocations: 14.03 MB / 328.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.35e-05/4.351e-05, allocations: 0 / 387.8 MB, free: 68.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 51.11 MB / 438.9 MB, free: 17.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.5107, allocations: 76.65 MB / 0.5034 GB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.511, allocations: 62.94 kB / 0.5035 GB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001871/0.5129, allocations: 0.7003 MB / 0.5042 GB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5129, allocations: 0 / 0.5042 GB, free: 10.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.5129, allocations: 4 kB / 0.5042 GB, free: 10.68 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.0002656/0.5132, allocations: 331.7 kB / 0.5045 GB, free: 10.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5132, allocations: 7.688 kB / 0.5045 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.5133, allocations: 40.41 kB / 0.5045 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.5133, allocations: 4.719 kB / 0.5045 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.5135, allocations: 172.1 kB / 0.5047 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.5135, allocations: 0 / 0.5047 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.5135, allocations: 7.953 kB / 0.5047 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.5137, allocations: 64.09 kB / 0.5048 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5137, allocations: 0 / 0.5048 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5137, allocations: 2.938 kB / 0.5048 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5137, allocations: 0 / 0.5048 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.561e-05/0.5138, allocations: 13.48 kB / 0.5048 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.5141, allocations: 348.6 kB / 0.5051 GB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.707e-05/0.5141, allocations: 44.5 kB / 0.5052 GB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.5142, allocations: 21.03 kB / 0.5052 GB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.5142, allocations: 3.938 kB / 0.5052 GB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.5142, allocations: 39.31 kB / 0.5052 GB, free: 9.555 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5142, allocations: 0 / 0.5052 GB, free: 9.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001725/0.5144, allocations: 46.77 kB / 0.5053 GB, free: 9.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.5145, allocations: 109.2 kB / 0.5054 GB, free: 9.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.5145, allocations: 96.08 kB / 0.5055 GB, free: 9.301 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.5145, allocations: 25.7 kB / 0.5055 GB, free: 9.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.5146, allocations: 83.98 kB / 0.5056 GB, free: 9.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.5146, allocations: 21.41 kB / 0.5056 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.5146, allocations: 0 / 0.5056 GB, free: 9.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.5147, allocations: 313.6 kB / 0.5059 GB, free: 8.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.5147, allocations: 7.656 kB / 0.5059 GB, free: 8.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.5147, allocations: 27.3 kB / 0.5059 GB, free: 8.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.5147, allocations: 6.906 kB / 0.5059 GB, free: 8.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5147, allocations: 7.984 kB / 0.5059 GB, free: 8.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.305e-05/0.5148, allocations: 51.78 kB / 0.506 GB, free: 8.797 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.5149, allocations: 177.4 kB / 0.5062 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5149, allocations: 3.844 kB / 0.5062 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5149, allocations: 0 / 0.5062 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.515, allocations: 14.58 kB / 0.5062 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.515, allocations: 0.875 kB / 0.5062 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.5151, allocations: 14.3 kB / 0.5062 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.5151, allocations: 3.812 kB / 0.5062 GB, free: 8.609 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.5151, allocations: 3.812 kB / 0.5062 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.773e-05/0.5152, allocations: 17.38 kB / 0.5062 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-07/0.5152, allocations: 3.844 kB / 0.5062 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-06/0.5152, allocations: 4.062 kB / 0.5062 GB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.703e-05/0.5152, allocations: 7.578 kB / 0.5062 GB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-06/0.5152, allocations: 3.938 kB / 0.5062 GB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.5153, allocations: 3.812 kB / 0.5062 GB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.5153, allocations: 7.719 kB / 0.5062 GB, free: 8.594 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 4.948e-05/0.5153, allocations: 108.2 kB / 0.5064 GB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.5154, allocations: 7.453 kB / 0.5064 GB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.5154, allocations: 13.55 kB / 0.5064 GB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5154, allocations: 0 / 0.5064 GB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5154, allocations: 4 kB / 0.5064 GB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5154, allocations: 7.75 kB / 0.5064 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.5156, allocations: 154.4 kB / 0.5065 GB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5156, allocations: 0 / 0.5065 GB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.5157, allocations: 14.45 kB / 0.5065 GB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5157, allocations: 3.953 kB / 0.5065 GB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.5157, allocations: 0 / 0.5065 GB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5157, allocations: 0 / 0.5065 GB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5157, allocations: 3.844 kB / 0.5066 GB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.987e-05/0.5158, allocations: 235.5 kB / 0.5068 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.5159, allocations: 88.84 kB / 0.5069 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.5159, allocations: 0 / 0.5069 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.516, allocations: 10.17 kB / 0.5069 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.5161, allocations: 10.42 kB / 0.5069 GB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.5161, allocations: 0 / 0.5069 GB, free: 7.945 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.989e-05/0.5161, allocations: 85.45 kB / 0.507 GB, free: 7.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5161, allocations: 0 / 0.507 GB, free: 7.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.5164, allocations: 11.69 kB / 0.507 GB, free: 7.867 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.0003097/0.5167, allocations: 0.8248 MB / 0.5078 GB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.5168, allocations: 32.42 kB / 0.5078 GB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5168, allocations: 0 / 0.5078 GB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.5168, allocations: 14.97 kB / 0.5078 GB, free: 7.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.517, allocations: 7.25 kB / 0.5078 GB, free: 7.043 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.5174, allocations: 110 kB / 0.5079 GB, free: 6.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.5176, allocations: 0.6788 MB / 0.5086 GB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.5176, allocations: 6.438 kB / 0.5086 GB, free: 6.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.5177, allocations: 11.31 kB / 0.5086 GB, free: 6.219 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5177, allocations: 0 / 0.5086 GB, free: 6.219 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.531, allocations: 1.174 MB / 0.5098 GB, free: 6.039 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.5312, allocations: 139.4 kB / 0.5099 GB, free: 5.812 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.016, allocations: 0 / 0.5099 GB, free: 5.812 MB / 330.7 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)