Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.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.TestDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 95.33 kB / 15.69 MB, free: 480 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.001903/0.001903, allocations: 179.1 kB / 16.57 MB, free: 6.391 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.718/1.718, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06184/0.06184, allocations: 14.17 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.0005077/0.0005078, allocations: 12 kB / 346.8 MB, free: 19.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 51.12 MB / 397.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0009813/0.1071, allocations: 411.1 kB / 398.3 MB, free: 364 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.1074, allocations: 59.83 kB / 398.3 MB, free: 304 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.1074, allocations: 0 / 398.3 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1074, allocations: 0 / 398.3 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.1075, allocations: 4 kB / 398.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.1076, allocations: 19.97 kB / 398.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.1077, allocations: 11.94 kB / 398.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.1078, allocations: 3.984 kB / 398.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.1079, allocations: 8 kB / 398.4 MB, free: 256 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.1079, allocations: 15.91 kB / 398.4 MB, free: 240 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.108, allocations: 8 kB / 398.4 MB, free: 232 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.108, allocations: 0 / 398.4 MB, free: 232 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.108, allocations: 7.984 kB / 398.4 MB, free: 224 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.108, allocations: 25.7 kB / 398.4 MB, free: 192 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.43e-05/0.1081, allocations: 7.984 kB / 398.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1081, allocations: 0 / 398.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd: time 5.741e-06/0.1081, allocations: 0 / 398.5 MB, free: 184 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1081, allocations: 3.938 kB / 398.5 MB, free: 180 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.0004261/0.1086, allocations: 347.5 kB / 398.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1086, allocations: 12.02 kB / 398.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.1086, allocations: 3.938 kB / 398.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.1088, allocations: 167.1 kB / 399 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1088, allocations: 4 kB / 399 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1089, allocations: 4 kB / 399 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.1091, allocations: 84.14 kB / 399.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.1091, allocations: 0 / 399.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1091, allocations: 0 / 399.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1091, allocations: 0 / 399.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1093, allocations: 43.95 kB / 399.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.1097, allocations: 277.8 kB / 399.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1099, allocations: 77.19 kB / 399.5 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.11, allocations: 0 / 399.5 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.11, allocations: 42.55 kB / 399.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.11, allocations: 0 / 399.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003686/0.1104, allocations: 101.6 kB / 399.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.1105, allocations: 102.8 kB / 399.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.1105, allocations: 106.1 kB / 399.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1106, allocations: 29.7 kB / 399.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.1106, allocations: 92.03 kB / 399.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1106, allocations: 7.906 kB / 399.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1107, allocations: 0 / 399.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1108, allocations: 318.8 kB / 400.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.1109, allocations: 23.98 kB / 400.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.111, allocations: 38.56 kB / 400.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.1111, allocations: 23.98 kB / 400.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1111, allocations: 0 / 400.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002353/0.1113, allocations: 97.58 kB / 400.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/0.1114, allocations: 178.1 kB / 400.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1114, allocations: 0 / 400.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1115, allocations: 4 kB / 400.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1116, allocations: 15.98 kB / 400.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1116, allocations: 3.938 kB / 400.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.896e-05/0.1116, allocations: 11.98 kB / 400.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1116, allocations: 0 / 400.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.1117, allocations: 7.953 kB / 400.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.248e-05/0.1118, allocations: 31.92 kB / 400.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-06/0.1118, allocations: 0 / 400.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-06/0.1118, allocations: 0 / 400.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.485e-05/0.1118, allocations: 4 kB / 400.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.1118, allocations: 4 kB / 400.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.1119, allocations: 3.984 kB / 400.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1119, allocations: 4 kB / 400.7 MB, free: 13.68 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.0001149/0.112, allocations: 197 kB / 400.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.112, allocations: 11.86 kB / 400.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.1121, allocations: 7.125 kB / 400.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1121, allocations: 0 / 400.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1121, allocations: 0 / 400.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.1121, allocations: 4 kB / 400.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1123, allocations: 157.7 kB / 401 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1123, allocations: 0 / 401 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.1124, allocations: 19.98 kB / 401.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1124, allocations: 0 / 401.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1124, allocations: 7.953 kB / 401.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1124, allocations: 0 / 401.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1124, allocations: 0 / 401.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.1131, allocations: 0.7577 MB / 401.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1131, allocations: 77.11 kB / 401.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.1131, allocations: 4 kB / 401.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.1132, allocations: 15.98 kB / 401.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.1133, allocations: 0 / 401.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1133, allocations: 0 / 401.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.227e-05/0.1133, allocations: 87.27 kB / 402 MB, free: 12.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.594e-06/0.1133, allocations: 0 / 402 MB, free: 12.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.1138, allocations: 11.94 kB / 402 MB, free: 12.19 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.0001173/0.114, allocations: 95.2 kB / 402.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1142, allocations: 67.89 kB / 402.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1143, allocations: 3.938 kB / 402.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.1144, allocations: 28.3 kB / 402.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.1145, allocations: 4.062 kB / 402.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.1149, allocations: 226.5 kB / 402.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1153, allocations: 0.6809 MB / 403.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.853e-05/0.1153, allocations: 4.469 kB / 403.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.1154, allocations: 11.44 kB / 403.1 MB, free: 11 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1154, allocations: 0 / 403.1 MB, free: 11 MB / 302.1 MB Notification: Performance of Templates: time 0.002556/0.1179, allocations: 0.5193 MB / 403.7 MB, free: 10.48 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) Environment - environmentSimulation: