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/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 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: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001214, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.76/1.76, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008868/0.0008867, allocations: 93.55 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/package.mo): time 0.05743/0.05743, allocations: 14.02 MB / 323.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.658e-05, allocations: 0 / 380.7 MB, free: 73.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.09961, allocations: 51.11 MB / 431.8 MB, free: 22.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3257/0.4254, allocations: 75.96 MB / 0.4959 GB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4257, allocations: 62.19 kB / 0.4959 GB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00165/0.4273, allocations: 0.6759 MB / 0.4966 GB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4273, allocations: 2.516 kB / 0.4966 GB, free: 11.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.4274, allocations: 0 / 0.4966 GB, free: 11.07 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.0002451/0.4276, allocations: 329.7 kB / 0.4969 GB, free: 10.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4277, allocations: 7.719 kB / 0.4969 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.4277, allocations: 4.062 kB / 0.4969 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.4278, allocations: 169.3 kB / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.4279, allocations: 0 / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.4279, allocations: 7.953 kB / 0.4971 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.845e-05/0.428, allocations: 15.56 kB / 0.4971 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.428, allocations: 54.83 kB / 0.4971 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4281, allocations: 2.5 kB / 0.4971 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4281, allocations: 2.859 kB / 0.4971 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4281, allocations: 3.906 kB / 0.4971 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.4283, allocations: 315.4 kB / 0.4974 GB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.4284, allocations: 50.05 kB / 0.4975 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.4284, allocations: 19.94 kB / 0.4975 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.4285, allocations: 0 / 0.4975 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.4285, allocations: 38.41 kB / 0.4976 GB, free: 10.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.4285, allocations: 3.984 kB / 0.4976 GB, free: 10.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001647/0.4287, allocations: 46.41 kB / 0.4976 GB, free: 10 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.4287, allocations: 106.8 kB / 0.4977 GB, free: 9.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.594e-05/0.4287, allocations: 95.45 kB / 0.4978 GB, free: 9.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.4288, allocations: 29.64 kB / 0.4978 GB, free: 9.746 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.4288, allocations: 80.14 kB / 0.4979 GB, free: 9.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.4288, allocations: 15.75 kB / 0.4979 GB, free: 9.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.4288, allocations: 0 / 0.4979 GB, free: 9.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.533e-05/0.4289, allocations: 313 kB / 0.4982 GB, free: 9.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.4289, allocations: 7.812 kB / 0.4982 GB, free: 9.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.4289, allocations: 22.36 kB / 0.4982 GB, free: 9.316 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/0.4289, allocations: 9.891 kB / 0.4983 GB, free: 9.316 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4289, allocations: 4.031 kB / 0.4983 GB, free: 9.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.35e-05/0.429, allocations: 55.27 kB / 0.4983 GB, free: 9.273 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.4291, allocations: 181.3 kB / 0.4985 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4291, allocations: 0 / 0.4985 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4291, allocations: 0 / 0.4985 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.4292, allocations: 17.97 kB / 0.4985 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4292, allocations: 6.047 kB / 0.4985 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.4293, allocations: 10.12 kB / 0.4985 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4293, allocations: 0 / 0.4985 GB, free: 9.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.4293, allocations: 6.156 kB / 0.4985 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.903e-05/0.4293, allocations: 7.719 kB / 0.4985 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.4293, allocations: 3.953 kB / 0.4985 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.4293, allocations: 3.844 kB / 0.4985 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-05/0.4294, allocations: 10.77 kB / 0.4985 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/0.4294, allocations: 3.938 kB / 0.4985 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.4294, allocations: 3.844 kB / 0.4986 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-06/0.4294, allocations: 0 / 0.4986 GB, free: 9.074 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.671e-05/0.4295, allocations: 107.4 kB / 0.4987 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.4295, allocations: 0 / 0.4987 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.4296, allocations: 15.53 kB / 0.4987 GB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4296, allocations: 3.844 kB / 0.4987 GB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4296, allocations: 4.875 kB / 0.4987 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4296, allocations: 0 / 0.4987 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.4297, allocations: 141.2 kB / 0.4988 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4297, allocations: 3.844 kB / 0.4988 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.4298, allocations: 9.906 kB / 0.4988 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4298, allocations: 3.938 kB / 0.4988 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4298, allocations: 4 kB / 0.4988 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4298, allocations: 3.844 kB / 0.4988 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4298, allocations: 7.938 kB / 0.4988 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.929e-05/0.4299, allocations: 237.4 kB / 0.4991 GB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.43, allocations: 77.11 kB / 0.4991 GB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.43, allocations: 6.594 kB / 0.4991 GB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4301, allocations: 14.39 kB / 0.4992 GB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4301, allocations: 3.938 kB / 0.4992 GB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4301, allocations: 7.719 kB / 0.4992 GB, free: 8.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.869e-05/0.4302, allocations: 81.58 kB / 0.4993 GB, free: 8.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4302, allocations: 0 / 0.4993 GB, free: 8.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.4304, allocations: 11.5 kB / 0.4993 GB, free: 8.367 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 8.137e-05/0.4305, allocations: 94.69 kB / 0.4994 GB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.026e-05/0.4306, allocations: 25.09 kB / 0.4994 GB, free: 8.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4306, allocations: 0 / 0.4994 GB, free: 8.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.4307, allocations: 15.25 kB / 0.4994 GB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.4308, allocations: 2.812 kB / 0.4994 GB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.4311, allocations: 71.53 kB / 0.4995 GB, free: 8.203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.4312, allocations: 0.6854 MB / 0.5001 GB, free: 7.504 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.412e-05/0.4312, allocations: 4.125 kB / 0.5001 GB, free: 7.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.4312, allocations: 7.438 kB / 0.5001 GB, free: 7.492 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4313, allocations: 3.844 kB / 0.5001 GB, free: 7.492 MB / 330.7 MB Notification: Performance of Templates: time 0.001946/0.4332, allocations: 490.3 kB / 0.5006 GB, free: 7.445 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (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 & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1)