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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008361/0.0008358, allocations: 86.41 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.0008101/0.0008101, 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 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06162/0.06162, allocations: 14.17 MB / 284.6 MB, free: 7.125 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.0004671/0.0004673, allocations: 16 kB / 346.3 MB, free: 19.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09207, allocations: 51.1 MB / 397.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0009169/0.09303, allocations: 402.6 kB / 397.8 MB, free: 212 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002089/0.09325, allocations: 67.81 kB / 397.8 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.09329, allocations: 0 / 397.8 MB, free: 144 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.09332, allocations: 0 / 397.8 MB, free: 144 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.09341, allocations: 15.94 kB / 397.9 MB, free: 128 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.09355, allocations: 11.98 kB / 397.9 MB, free: 116 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.09364, allocations: 23.92 kB / 397.9 MB, free: 92 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.09372, allocations: 3.938 kB / 397.9 MB, free: 88 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.09376, allocations: 11.97 kB / 397.9 MB, free: 76 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.09383, allocations: 15.92 kB / 397.9 MB, free: 60 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.09385, allocations: 0 / 397.9 MB, free: 60 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.09387, allocations: 4 kB / 397.9 MB, free: 56 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.09389, allocations: 0 / 397.9 MB, free: 56 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.09393, allocations: 29.7 kB / 398 MB, free: 20 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.242e-05/0.094, allocations: 15.97 kB / 398 MB, free: 4 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.09401, allocations: 0 / 398 MB, free: 4 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.09402, allocations: 0 / 398 MB, free: 4 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.09403, allocations: 0 / 398 MB, free: 4 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.0004649/0.0945, allocations: 339.5 kB / 398.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.09456, allocations: 16 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.301e-05/0.09462, allocations: 38.44 kB / 398.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.09465, allocations: 4 kB / 398.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.09484, allocations: 167.1 kB / 398.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.09487, allocations: 8 kB / 398.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.09489, allocations: 3.953 kB / 398.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.09511, allocations: 72.25 kB / 398.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.09513, allocations: 0 / 398.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.09514, allocations: 4 kB / 398.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.09515, allocations: 0 / 398.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.09533, allocations: 47.91 kB / 398.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.09574, allocations: 277.8 kB / 398.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.09592, allocations: 81.19 kB / 399 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.09603, allocations: 37.7 kB / 399 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.09606, allocations: 3.984 kB / 399 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.0961, allocations: 30.56 kB / 399.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.09611, allocations: 0 / 399.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000377/0.09649, allocations: 101.6 kB / 399.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.09657, allocations: 111 kB / 399.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.09667, allocations: 101.9 kB / 399.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.0967, allocations: 25.7 kB / 399.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.09676, allocations: 84.05 kB / 399.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.09678, allocations: 15.83 kB / 399.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.09679, allocations: 0 / 399.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.09695, allocations: 318.8 kB / 399.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.09704, allocations: 19.92 kB / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.09714, allocations: 46.56 kB / 399.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.454e-05/0.09724, allocations: 23.97 kB / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.09725, allocations: 7.984 kB / 399.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002039/0.09746, allocations: 77.61 kB / 400 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.406e-05/0.09754, allocations: 105.9 kB / 400.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.09756, allocations: 0 / 400.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.09758, allocations: 0 / 400.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.09768, allocations: 15.98 kB / 400.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.09769, allocations: 0 / 400.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.09775, allocations: 11.98 kB / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.09776, allocations: 0 / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.09778, allocations: 4 kB / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.549e-05/0.09787, allocations: 27.92 kB / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.09788, allocations: 3.953 kB / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-06/0.09789, allocations: 4.281 kB / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-05/0.09793, allocations: 4 kB / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-06/0.09793, allocations: 0 / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.09798, allocations: 15.86 kB / 400.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-06/0.09798, allocations: 0 / 400.2 MB, free: 13.51 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.0001037/0.09809, allocations: 193.2 kB / 400.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.09813, allocations: 7.891 kB / 400.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.09816, allocations: 11.08 kB / 400.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.09816, allocations: 4 kB / 400.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.09817, allocations: 0 / 400.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.09818, allocations: 0 / 400.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.09835, allocations: 161.7 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.09836, allocations: 0 / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.09842, allocations: 11.98 kB / 400.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.09843, allocations: 0 / 400.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.09845, allocations: 11.94 kB / 400.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.09846, allocations: 3.953 kB / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.09846, allocations: 3.938 kB / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.09869, allocations: 180.4 kB / 400.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.09873, allocations: 77.11 kB / 400.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.09875, allocations: 4 kB / 400.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.09884, allocations: 15.98 kB / 400.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.09889, allocations: 11.94 kB / 400.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.0989, allocations: 0 / 400.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.09893, allocations: 79.28 kB / 400.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09894, allocations: 4 kB / 400.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.09921, allocations: 8 kB / 401 MB, free: 12.64 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.0004659/0.09968, allocations: 0.7131 MB / 401.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.09993, allocations: 68.08 kB / 401.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09994, allocations: 4.062 kB / 401.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.1, allocations: 19.98 kB / 401.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.1003, allocations: 15.94 kB / 401.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.1011, allocations: 418.4 kB / 402.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1013, allocations: 0.677 MB / 402.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.1013, allocations: 4.062 kB / 402.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.1014, allocations: 15.44 kB / 402.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1014, allocations: 0 / 402.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.1127, allocations: 1.174 MB / 404 MB, free: 9.496 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/0.113, allocations: 163.3 kB / 404.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/1.671, allocations: 0 / 404.2 MB, free: 9.262 MB / 302.1 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) Environment - environmentSimulation: