Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 97.2 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 179 kB / 16.58 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06292/0.06292, allocations: 14.16 MB / 285.2 MB, free: 7.156 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.0007817/0.0007818, allocations: 16 kB / 346.8 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1172, allocations: 51.11 MB / 397.9 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001209/0.1185, allocations: 411.1 kB / 398.3 MB, free: 372 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002644/0.1188, allocations: 59.83 kB / 398.3 MB, free: 312 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.1188, allocations: 0 / 398.3 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.1189, allocations: 3.984 kB / 398.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.119, allocations: 4 kB / 398.3 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.1192, allocations: 8 kB / 398.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1194, allocations: 15.97 kB / 398.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1195, allocations: 4 kB / 398.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.1196, allocations: 11.92 kB / 398.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.1196, allocations: 4 kB / 398.4 MB, free: 260 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.1197, allocations: 4 kB / 398.4 MB, free: 256 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.1197, allocations: 4 kB / 398.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.1197, allocations: 7.922 kB / 398.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.1198, allocations: 29.7 kB / 398.4 MB, free: 208 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.691e-05/0.1199, allocations: 11.97 kB / 398.4 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1199, allocations: 0 / 398.4 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd: time 4.618e-06/0.1199, allocations: 0 / 398.4 MB, free: 196 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1199, allocations: 3.938 kB / 398.4 MB, free: 192 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.0006321/0.1206, allocations: 347.5 kB / 398.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.608e-05/0.1206, allocations: 12.02 kB / 398.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.1207, allocations: 0 / 398.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.121, allocations: 167.1 kB / 399 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.1211, allocations: 0 / 399 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.1211, allocations: 4 kB / 399 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.1214, allocations: 84.14 kB / 399 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1215, allocations: 3.984 kB / 399.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1215, allocations: 7.938 kB / 399.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1215, allocations: 0 / 399.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.1218, allocations: 43.97 kB / 399.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.1224, allocations: 281.7 kB / 399.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.1227, allocations: 73.19 kB / 399.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.1228, allocations: 0 / 399.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.268e-05/0.1228, allocations: 34.5 kB / 399.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.1229, allocations: 0 / 399.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005058/0.1234, allocations: 101.7 kB / 399.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.1235, allocations: 106.8 kB / 399.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.1236, allocations: 101.9 kB / 399.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1236, allocations: 25.95 kB / 399.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.1237, allocations: 92.03 kB / 399.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1237, allocations: 3.906 kB / 399.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.1237, allocations: 4 kB / 399.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1239, allocations: 318.8 kB / 400.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.124, allocations: 15.98 kB / 400.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1241, allocations: 46.55 kB / 400.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.459e-05/0.1242, allocations: 23.98 kB / 400.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1243, allocations: 0 / 400.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002617/0.1245, allocations: 89.58 kB / 400.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.1247, allocations: 178 kB / 400.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1247, allocations: 4.062 kB / 400.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.1247, allocations: 0 / 400.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1248, allocations: 15.98 kB / 400.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1249, allocations: 3.938 kB / 400.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.1249, allocations: 8 kB / 400.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1249, allocations: 0 / 400.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.125, allocations: 7.953 kB / 400.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.757e-05/0.1251, allocations: 31.91 kB / 400.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.1251, allocations: 4 kB / 400.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.1251, allocations: 0 / 400.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.809e-05/0.1251, allocations: 7.984 kB / 400.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/0.1251, allocations: 0 / 400.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.1252, allocations: 4 kB / 400.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1252, allocations: 4 kB / 400.7 MB, free: 13.71 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.0001458/0.1253, allocations: 189.1 kB / 400.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.1254, allocations: 19.86 kB / 400.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.1254, allocations: 11.11 kB / 400.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1254, allocations: 0 / 400.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1254, allocations: 0 / 400.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1255, allocations: 0 / 400.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1256, allocations: 161.6 kB / 401 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1257, allocations: 0 / 401 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.1257, allocations: 11.98 kB / 401 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1257, allocations: 4 kB / 401 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1257, allocations: 3.953 kB / 401 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1258, allocations: 4 kB / 401.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1258, allocations: 0 / 401.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.1264, allocations: 0.7541 MB / 401.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1265, allocations: 81.11 kB / 401.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1265, allocations: 4.031 kB / 401.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.1266, allocations: 15.98 kB / 401.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.1266, allocations: 11.98 kB / 401.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1266, allocations: 0 / 401.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.1267, allocations: 83.28 kB / 402 MB, free: 12.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1267, allocations: 0 / 402 MB, free: 12.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.1272, allocations: 4 kB / 402 MB, free: 12.21 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.00012/0.1273, allocations: 103.1 kB / 402.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.1276, allocations: 63.95 kB / 402.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1276, allocations: 3.938 kB / 402.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.1277, allocations: 31.91 kB / 402.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.1279, allocations: 4.375 kB / 402.2 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.1283, allocations: 226.5 kB / 402.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1287, allocations: 0.677 MB / 403.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.467e-05/0.1287, allocations: 11.98 kB / 403.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.1288, allocations: 7.438 kB / 403.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1288, allocations: 0 / 403.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Templates: time 0.002934/0.1317, allocations: 497.7 kB / 403.6 MB, free: 10.54 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) Environment - environmentSimulation: