Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.0015, allocations: 176.4 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007983/0.0007983, allocations: 99.44 kB / 293 MB, free: 4.762 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05902/0.05902, allocations: 14.38 MB / 358.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 5.75 kB / 423.2 MB, free: 97.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08694, allocations: 53.95 MB / 477.2 MB, free: 58.21 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0008625/0.08785, allocations: 400.5 kB / 477.6 MB, free: 57.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001951/0.08806, allocations: 62.12 kB / 477.6 MB, free: 57.76 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.08811, allocations: 0 / 477.6 MB, free: 57.76 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.08813, allocations: 7.922 kB / 477.6 MB, free: 57.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.118e-05/0.08821, allocations: 3.938 kB / 477.6 MB, free: 57.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.08837, allocations: 8 kB / 477.6 MB, free: 57.74 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.08846, allocations: 19.98 kB / 477.7 MB, free: 57.72 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.08856, allocations: 4 kB / 477.7 MB, free: 57.71 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.704e-05/0.08859, allocations: 15.92 kB / 477.7 MB, free: 57.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.08867, allocations: 15.91 kB / 477.7 MB, free: 57.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.0887, allocations: 4 kB / 477.7 MB, free: 57.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-06/0.08871, allocations: 0 / 477.7 MB, free: 57.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.08874, allocations: 4 kB / 477.7 MB, free: 57.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.08877, allocations: 33.64 kB / 477.7 MB, free: 57.64 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.518e-05/0.08885, allocations: 19.91 kB / 477.8 MB, free: 57.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.08887, allocations: 0 / 477.8 MB, free: 57.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.08888, allocations: 0 / 477.8 MB, free: 57.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.08889, allocations: 3.938 kB / 477.8 MB, free: 57.61 MB / 346.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.0004147/0.08931, allocations: 329.2 kB / 478.1 MB, free: 57.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.08936, allocations: 12.03 kB / 478.1 MB, free: 57.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.0894, allocations: 8.844 kB / 478.1 MB, free: 57.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.08957, allocations: 169.2 kB / 478.3 MB, free: 57.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.0896, allocations: 384 / 478.3 MB, free: 57.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.08962, allocations: 384 / 478.3 MB, free: 57.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.08981, allocations: 88.75 kB / 478.3 MB, free: 56.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.08983, allocations: 192 / 478.4 MB, free: 56.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.08985, allocations: 3.938 kB / 478.4 MB, free: 56.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.08986, allocations: 3.984 kB / 478.4 MB, free: 56.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.09003, allocations: 39.97 kB / 478.4 MB, free: 56.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.09037, allocations: 281.7 kB / 478.7 MB, free: 56.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.09054, allocations: 77.12 kB / 478.7 MB, free: 56.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.09064, allocations: 37.75 kB / 478.8 MB, free: 56.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.09067, allocations: 4 kB / 478.8 MB, free: 56.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.0907, allocations: 38.5 kB / 478.8 MB, free: 56.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.09071, allocations: 0 / 478.8 MB, free: 56.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003537/0.09106, allocations: 105.8 kB / 478.9 MB, free: 56.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.09112, allocations: 102.8 kB / 479 MB, free: 56.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.09119, allocations: 93.86 kB / 479.1 MB, free: 56.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.09121, allocations: 29.7 kB / 479.2 MB, free: 55.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.09124, allocations: 88.05 kB / 479.2 MB, free: 55.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.09126, allocations: 7.891 kB / 479.2 MB, free: 55.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.09127, allocations: 0 / 479.2 MB, free: 55.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.09133, allocations: 314.8 kB / 479.6 MB, free: 55.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.09142, allocations: 24.02 kB / 479.6 MB, free: 55.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-05/0.09151, allocations: 46.48 kB / 479.6 MB, free: 55.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.09166, allocations: 57.66 kB / 479.7 MB, free: 55.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.09167, allocations: 0 / 479.7 MB, free: 55.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001778/0.09185, allocations: 85.88 kB / 479.8 MB, free: 55.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.0919, allocations: 97.86 kB / 479.9 MB, free: 55.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.09191, allocations: 0 / 479.9 MB, free: 55.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.09193, allocations: 0 / 479.9 MB, free: 55.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.09203, allocations: 19.92 kB / 479.9 MB, free: 55.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.09204, allocations: 4.062 kB / 479.9 MB, free: 55.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.0921, allocations: 8 kB / 479.9 MB, free: 55.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.09211, allocations: 3.984 kB / 479.9 MB, free: 55.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.139e-06/0.09212, allocations: 4 kB / 479.9 MB, free: 55.2 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.721e-05/0.0922, allocations: 27.86 kB / 479.9 MB, free: 55.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.09221, allocations: 4 kB / 479.9 MB, free: 55.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-06/0.09222, allocations: 0 / 479.9 MB, free: 55.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.118e-05/0.09226, allocations: 15.98 kB / 479.9 MB, free: 55.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.09227, allocations: 3.984 kB / 479.9 MB, free: 55.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.0923, allocations: 4 kB / 479.9 MB, free: 55.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-06/0.09231, allocations: 0 / 479.9 MB, free: 55.14 MB / 346.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 6.466e-05/0.09238, allocations: 191.5 kB / 480.1 MB, free: 54.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.09241, allocations: 11.84 kB / 480.1 MB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.885e-05/0.09243, allocations: 7.109 kB / 480.2 MB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.09244, allocations: 0 / 480.2 MB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.09245, allocations: 0 / 480.2 MB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.09245, allocations: 4 kB / 480.2 MB, free: 54.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.09257, allocations: 161.7 kB / 480.3 MB, free: 54.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.09258, allocations: 0 / 480.3 MB, free: 54.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.09266, allocations: 15.92 kB / 480.3 MB, free: 54.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.09267, allocations: 4 kB / 480.3 MB, free: 54.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.09268, allocations: 0 / 480.3 MB, free: 54.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.09268, allocations: 0 / 480.3 MB, free: 54.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.09269, allocations: 0 / 480.3 MB, free: 54.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.09288, allocations: 188.3 kB / 480.5 MB, free: 54.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.09291, allocations: 84.98 kB / 480.6 MB, free: 54.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.09293, allocations: 3.984 kB / 480.6 MB, free: 54.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.18e-05/0.093, allocations: 15.94 kB / 480.6 MB, free: 54.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.09306, allocations: 7.984 kB / 480.6 MB, free: 54.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.09307, allocations: 0 / 480.6 MB, free: 54.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.048e-05/0.09309, allocations: 83.28 kB / 480.7 MB, free: 54.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0931, allocations: 0 / 480.7 MB, free: 54.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.09333, allocations: 4 kB / 480.7 MB, free: 54.28 MB / 346.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.105e-05/0.09341, allocations: 99.25 kB / 480.8 MB, free: 54.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.09364, allocations: 67.89 kB / 480.9 MB, free: 54.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.09365, allocations: 0 / 480.9 MB, free: 54.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.09374, allocations: 32.23 kB / 480.9 MB, free: 54.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.09394, allocations: 11.92 kB / 480.9 MB, free: 54.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.09425, allocations: 123.5 kB / 481 MB, free: 53.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.09437, allocations: 0.677 MB / 481.7 MB, free: 53.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.364e-05/0.09442, allocations: 12.05 kB / 481.7 MB, free: 53.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.09445, allocations: 7.438 kB / 481.7 MB, free: 53.18 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.09446, allocations: 0 / 481.7 MB, free: 53.18 MB / 346.7 MB Notification: Performance of Templates: time 0.002151/0.09661, allocations: 0.511 MB / 482.2 MB, free: 52.68 MB / 346.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)