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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 92 kB / 15.06 MB, free: 1.098 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.001089/0.001089, allocations: 172.7 kB / 15.95 MB, free: 208 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.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05761/0.05761, allocations: 14.17 MB / 284.6 MB, free: 7.355 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.0004886/0.0004886, allocations: 23.98 kB / 346.3 MB, free: 19.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08306/0.08356, allocations: 51.11 MB / 397.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0007572/0.08437, allocations: 406.6 kB / 397.8 MB, free: 260 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001861/0.08457, allocations: 59.83 kB / 397.8 MB, free: 200 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.08461, allocations: 0 / 397.8 MB, free: 200 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.08463, allocations: 0 / 397.8 MB, free: 200 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.08471, allocations: 7.984 kB / 397.9 MB, free: 192 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.08484, allocations: 15.92 kB / 397.9 MB, free: 176 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.507e-05/0.08492, allocations: 12 kB / 397.9 MB, free: 164 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.322e-05/0.085, allocations: 7.984 kB / 397.9 MB, free: 156 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.08503, allocations: 11.94 kB / 397.9 MB, free: 144 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.08509, allocations: 11.98 kB / 397.9 MB, free: 132 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.08512, allocations: 0 / 397.9 MB, free: 132 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.08513, allocations: 4 kB / 397.9 MB, free: 128 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.08515, allocations: 3.938 kB / 397.9 MB, free: 124 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.08518, allocations: 25.7 kB / 397.9 MB, free: 92 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.219e-05/0.08524, allocations: 15.95 kB / 398 MB, free: 76 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.08525, allocations: 4 kB / 398 MB, free: 72 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.08526, allocations: 0 / 398 MB, free: 72 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.08527, allocations: 4 kB / 398 MB, free: 68 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.0003795/0.08565, allocations: 335.5 kB / 398.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.0857, allocations: 16.02 kB / 398.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.08576, allocations: 30.56 kB / 398.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.08579, allocations: 3.984 kB / 398.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.08595, allocations: 167.1 kB / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.08597, allocations: 3.938 kB / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.08599, allocations: 7.953 kB / 398.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.08618, allocations: 84.17 kB / 398.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.08619, allocations: 0 / 398.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.08621, allocations: 4 kB / 398.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.08622, allocations: 0 / 398.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.08638, allocations: 47.91 kB / 398.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.08672, allocations: 265.8 kB / 398.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.08689, allocations: 81.22 kB / 399 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/0.087, allocations: 41.7 kB / 399 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.08702, allocations: 0 / 399 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.08705, allocations: 30.56 kB / 399.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.08706, allocations: 0 / 399.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003223/0.08738, allocations: 105.6 kB / 399.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.08745, allocations: 106.8 kB / 399.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.08752, allocations: 97.84 kB / 399.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.08754, allocations: 29.7 kB / 399.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.08759, allocations: 92.28 kB / 399.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.08761, allocations: 3.906 kB / 399.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.08762, allocations: 0 / 399.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.08772, allocations: 318.8 kB / 399.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.0878, allocations: 15.98 kB / 399.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.08789, allocations: 46.55 kB / 399.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.275e-05/0.08798, allocations: 23.98 kB / 399.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.08799, allocations: 7.891 kB / 399.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001813/0.08818, allocations: 81.69 kB / 400 MB, free: 13.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.08823, allocations: 97.86 kB / 400.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.08824, allocations: 0 / 400.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.08826, allocations: 4 kB / 400.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.08835, allocations: 23.98 kB / 400.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.08837, allocations: 3.938 kB / 400.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.08842, allocations: 8 kB / 400.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.08844, allocations: 0 / 400.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.08845, allocations: 4 kB / 400.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.794e-05/0.08853, allocations: 23.98 kB / 400.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.08854, allocations: 3.953 kB / 400.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-06/0.08855, allocations: 4.062 kB / 400.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.234e-05/0.08858, allocations: 11.92 kB / 400.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-06/0.08859, allocations: 0 / 400.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.08863, allocations: 7.938 kB / 400.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.08864, allocations: 4 kB / 400.2 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 8.35e-05/0.08873, allocations: 182.2 kB / 400.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.08876, allocations: 15.84 kB / 400.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.08878, allocations: 11.06 kB / 400.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.08879, allocations: 4 kB / 400.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.0888, allocations: 0 / 400.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.08881, allocations: 0 / 400.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.08896, allocations: 157.7 kB / 400.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.08897, allocations: 0 / 400.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.08903, allocations: 11.98 kB / 400.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.08904, allocations: 4 kB / 400.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.08905, allocations: 0 / 400.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.08905, allocations: 3.953 kB / 400.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.08906, allocations: 0 / 400.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.08928, allocations: 184.3 kB / 400.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.08932, allocations: 77.11 kB / 400.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.08934, allocations: 11.98 kB / 400.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.08941, allocations: 8 kB / 400.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.08946, allocations: 11.94 kB / 400.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.08946, allocations: 0 / 400.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.0895, allocations: 79.28 kB / 400.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0895, allocations: 0 / 400.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.08977, allocations: 12 kB / 400.9 MB, free: 12.73 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.0004389/0.09021, allocations: 0.7093 MB / 401.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.09046, allocations: 71.83 kB / 401.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.09047, allocations: 0 / 401.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.086e-05/0.09057, allocations: 28.28 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.09079, allocations: 11.95 kB / 401.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007303/0.09153, allocations: 410.9 kB / 402.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.09173, allocations: 0.6849 MB / 402.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.147e-05/0.09178, allocations: 4 kB / 402.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.09182, allocations: 7.438 kB / 402.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09182, allocations: 0 / 402.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009719/0.1015, allocations: 1.168 MB / 404 MB, free: 9.613 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.1017, allocations: 179 kB / 404.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/1.628, allocations: 0 / 404.2 MB, free: 9.375 MB / 302.1 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) Environment - environmentSimulation: