Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_dev_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.0008433/0.0008433, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008589/0.0008591, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2009/0.2009, allocations: 14.18 MB / 305.3 MB, free: 1.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8 kB / 369.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 53.94 MB / 423.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0007263/0.1058, allocations: 395.4 kB / 424.1 MB, free: 244 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001718/0.106, allocations: 59.83 kB / 424.2 MB, free: 184 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.1061, allocations: 4 kB / 424.2 MB, free: 180 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.1061, allocations: 3.984 kB / 424.2 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.1062, allocations: 3.938 kB / 424.2 MB, free: 172 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.1063, allocations: 11.98 kB / 424.2 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.1064, allocations: 23.98 kB / 424.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.015e-05/0.1064, allocations: 0 / 424.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.1065, allocations: 7.938 kB / 424.2 MB, free: 128 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.1065, allocations: 15.92 kB / 424.2 MB, free: 112 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1066, allocations: 7.938 kB / 424.3 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.1066, allocations: 0 / 424.3 MB, free: 104 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1066, allocations: 11.97 kB / 424.3 MB, free: 92 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.1066, allocations: 25.7 kB / 424.3 MB, free: 60 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.457e-05/0.1067, allocations: 11.98 kB / 424.3 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1067, allocations: 3.984 kB / 424.3 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1067, allocations: 8 kB / 424.3 MB, free: 36 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.1067, allocations: 0 / 424.3 MB, free: 36 kB / 350.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.198/0.3047, allocations: 322.1 kB / 424.6 MB, free: 37.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3047, allocations: 11.08 kB / 424.6 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.3048, allocations: 34.25 kB / 424.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.3048, allocations: 1.969 kB / 424.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3049, allocations: 172.5 kB / 424.8 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.3049, allocations: 3.562 kB / 424.8 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-06/0.305, allocations: 0.9375 kB / 424.8 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3051, allocations: 81.03 kB / 424.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3052, allocations: 1.906 kB / 424.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3052, allocations: 4.469 kB / 424.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3052, allocations: 4.5 kB / 424.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3054, allocations: 47.28 kB / 425 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.3057, allocations: 268.6 kB / 425.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3058, allocations: 82.17 kB / 425.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.3059, allocations: 41.41 kB / 425.4 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3059, allocations: 1.359 kB / 425.4 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.306, allocations: 32.36 kB / 425.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.306, allocations: 2.5 kB / 425.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003339/0.3063, allocations: 107 kB / 425.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.3063, allocations: 107.4 kB / 425.6 MB, free: 36.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.519e-05/0.3064, allocations: 99.47 kB / 425.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.3064, allocations: 25.7 kB / 425.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.3065, allocations: 82.52 kB / 425.8 MB, free: 36.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.3065, allocations: 19.12 kB / 425.8 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.3065, allocations: 0 / 425.8 MB, free: 36.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.3066, allocations: 314.7 kB / 426.1 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.3066, allocations: 24.41 kB / 426.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.242e-05/0.3067, allocations: 44.27 kB / 426.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.3068, allocations: 24.23 kB / 426.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3068, allocations: 2.812 kB / 426.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001832/0.307, allocations: 77.81 kB / 426.3 MB, free: 35.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.3071, allocations: 104.4 kB / 426.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3071, allocations: 9.391 kB / 426.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3071, allocations: 1.031 kB / 426.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.3072, allocations: 13.22 kB / 426.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3072, allocations: 0 / 426.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.3073, allocations: 13.41 kB / 426.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3073, allocations: 0 / 426.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.3073, allocations: 2.594 kB / 426.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.221e-05/0.3074, allocations: 28.97 kB / 426.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.3074, allocations: 0 / 426.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.3074, allocations: 0.75 kB / 426.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.361e-05/0.3074, allocations: 7.844 kB / 426.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-06/0.3074, allocations: 0 / 426.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.3075, allocations: 4.703 kB / 426.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.3075, allocations: 6.859 kB / 426.5 MB, free: 35.88 MB / 350.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 6.427e-05/0.3076, allocations: 188.5 kB / 426.7 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.3076, allocations: 8.922 kB / 426.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.3076, allocations: 8.469 kB / 426.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3076, allocations: 1.469 kB / 426.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3076, allocations: 0 / 426.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3076, allocations: 4.484 kB / 426.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.3078, allocations: 168.2 kB / 426.9 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3078, allocations: 0 / 426.9 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.3079, allocations: 16.19 kB / 426.9 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3079, allocations: 0 / 426.9 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3079, allocations: 4 kB / 426.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3079, allocations: 3.438 kB / 426.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3079, allocations: 0.5625 kB / 426.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.3081, allocations: 183.4 kB / 427.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.3081, allocations: 79.39 kB / 427.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3081, allocations: 5.75 kB / 427.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.3082, allocations: 15.17 kB / 427.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3083, allocations: 3.531 kB / 427.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3083, allocations: 2.5 kB / 427.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.759e-05/0.3083, allocations: 80.66 kB / 427.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3083, allocations: 4 kB / 427.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3086, allocations: 10.81 kB / 427.3 MB, free: 35.17 MB / 350.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.000391/0.309, allocations: 0.7143 MB / 428 MB, free: 34.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3092, allocations: 63.02 kB / 428 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3093, allocations: 4.25 kB / 428.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.3093, allocations: 29.05 kB / 428.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.3096, allocations: 2 kB / 428.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.3103, allocations: 435 kB / 428.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.3105, allocations: 0.6745 MB / 429.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.3105, allocations: 8.891 kB / 429.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.3106, allocations: 11.66 kB / 429.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3106, allocations: 0 / 429.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.3216, allocations: 1.177 MB / 430.4 MB, free: 33.32 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.3218, allocations: 169.3 kB / 430.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.78, allocations: 0 / 430.5 MB, free: 33.08 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1)