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.001128/0.001128, allocations: 182.8 kB / 15.98 MB, free: 5.77 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.395/1.395, allocations: 205.1 MB / 221.8 MB, free: 8.469 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.0009634/0.0009632, allocations: 110 kB / 269.2 MB, free: 8.414 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05902/0.05902, allocations: 14.17 MB / 330.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 51.92 kB / 391.6 MB, free: 64.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08741, allocations: 50.14 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001771/0.08923, allocations: 0.7374 MB / 442.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.08941, allocations: 57.56 kB / 442.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.08945, allocations: 0 / 442.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.08949, allocations: 3.938 kB / 442.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.657e-05/0.08957, allocations: 3.984 kB / 442.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.0897, allocations: 15.98 kB / 442.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.08978, allocations: 23.92 kB / 442.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.274e-05/0.08987, allocations: 11.98 kB / 442.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.533e-05/0.0899, allocations: 15.92 kB / 442.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.08995, allocations: 11.98 kB / 442.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.08997, allocations: 0 / 442.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.08999, allocations: 4 kB / 442.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.09, allocations: 3.938 kB / 442.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.09003, allocations: 7.984 kB / 442.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.147e-05/0.0901, allocations: 15.92 kB / 442.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.09011, allocations: 3.984 kB / 442.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.09011, allocations: 0 / 442.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.09012, allocations: 0 / 442.7 MB, free: 13.79 MB / 298.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.0003113/0.09044, allocations: 339.7 kB / 443 MB, free: 13.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.09048, allocations: 12.03 kB / 443 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.09051, allocations: 4.938 kB / 443 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.09063, allocations: 172.3 kB / 443.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.09064, allocations: 384 / 443.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.09066, allocations: 384 / 443.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.09083, allocations: 76.81 kB / 443.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.09084, allocations: 192 / 443.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.09086, allocations: 7.938 kB / 443.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.09087, allocations: 3.938 kB / 443.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.09103, allocations: 39.89 kB / 443.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.09131, allocations: 265.9 kB / 443.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.09149, allocations: 69.06 kB / 443.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.09159, allocations: 33.75 kB / 443.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.09161, allocations: 7.938 kB / 443.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.09163, allocations: 34.56 kB / 443.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.09164, allocations: 0 / 443.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003253/0.09197, allocations: 93.48 kB / 443.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.09201, allocations: 107.1 kB / 443.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.793e-05/0.09206, allocations: 97.86 kB / 444 MB, free: 12.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.09207, allocations: 25.7 kB / 444 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.0921, allocations: 84.14 kB / 444.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.09212, allocations: 7.891 kB / 444.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.09215, allocations: 17.72 kB / 444.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.668e-05/0.0922, allocations: 310.8 kB / 444.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.09228, allocations: 28.84 kB / 444.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.09237, allocations: 42.48 kB / 444.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.09251, allocations: 45.72 kB / 444.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.09252, allocations: 0 / 444.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001776/0.09271, allocations: 77.53 kB / 444.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.09273, allocations: 4 kB / 444.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.09274, allocations: 0 / 444.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.09275, allocations: 4 kB / 444.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.09284, allocations: 7.984 kB / 444.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.09285, allocations: 8.062 kB / 444.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.0929, allocations: 4 kB / 444.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.09292, allocations: 0 / 444.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.362e-05/0.09297, allocations: 92.12 kB / 444.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.941e-05/0.09302, allocations: 22.86 kB / 444.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.015e-05/0.0931, allocations: 37.67 kB / 444.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.09311, allocations: 3.984 kB / 444.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001067/0.09322, allocations: 57.53 kB / 444.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-06/0.09323, allocations: 4 kB / 444.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-06/0.09324, allocations: 0 / 444.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-06/0.09324, allocations: 96 / 444.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.488e-05/0.09328, allocations: 15.92 kB / 444.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-06/0.09329, allocations: 0 / 444.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.09333, allocations: 16.05 kB / 444.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-06/0.09334, allocations: 0 / 444.9 MB, free: 11.25 MB / 298.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.09339, allocations: 196.9 kB / 445.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.09342, allocations: 3.938 kB / 445.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.09345, allocations: 19 kB / 445.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.09345, allocations: 4 kB / 445.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.09346, allocations: 0 / 445.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.09347, allocations: 0 / 445.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.09358, allocations: 165.6 kB / 445.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.09359, allocations: 0 / 445.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.09365, allocations: 15.98 kB / 445.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.09366, allocations: 4 kB / 445.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.09367, allocations: 0 / 445.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.09367, allocations: 0 / 445.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.09368, allocations: 0 / 445.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.09404, allocations: 0.7364 MB / 446 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.09407, allocations: 81.11 kB / 446.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.09409, allocations: 3.984 kB / 446.1 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.09417, allocations: 11.94 kB / 446.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.09421, allocations: 7.922 kB / 446.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.09422, allocations: 4 kB / 446.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.09424, allocations: 79.28 kB / 446.2 MB, free: 9.789 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09425, allocations: 0 / 446.2 MB, free: 9.789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004517/0.09471, allocations: 12 kB / 446.2 MB, free: 9.777 MB / 298.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.211e-05/0.09478, allocations: 95.25 kB / 446.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.09502, allocations: 52.08 kB / 446.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.09503, allocations: 4.062 kB / 446.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.09512, allocations: 23.97 kB / 446.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.09536, allocations: 7.797 kB / 446.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.09572, allocations: 238.2 kB / 446.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.707e-05/0.09583, allocations: 0.6809 MB / 447.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.09588, allocations: 0 / 447.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.09591, allocations: 11.44 kB / 447.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.09592, allocations: 0 / 447.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of Templates: time 0.002184/0.09811, allocations: 0.534 MB / 447.9 MB, free: 8.07 MB / 298.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)