Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06011/0.06011, allocations: 14.16 MB / 284.5 MB, free: 7.137 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.0004912/0.0004913, allocations: 15.94 kB / 348.1 MB, free: 17.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 51.12 MB / 399.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.002255/0.1045, allocations: 1.546 MB / 400.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.106, allocations: 0.7534 MB / 401.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.1062, allocations: 3.938 kB / 401.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.1063, allocations: 43.8 kB / 401.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.1065, allocations: 55.86 kB / 401.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.1072, allocations: 159.2 kB / 401.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.1076, allocations: 147.7 kB / 401.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1077, allocations: 44.22 kB / 402 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.1079, allocations: 83.67 kB / 402.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1081, allocations: 99.58 kB / 402.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.1081, allocations: 8 kB / 402.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1083, allocations: 71.92 kB / 402.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.1084, allocations: 35.84 kB / 402.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1084, allocations: 57.58 kB / 402.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1087, allocations: 183.6 kB / 402.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1087, allocations: 4 kB / 402.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1087, allocations: 4 kB / 402.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1087, allocations: 3.938 kB / 402.5 MB, free: 11.43 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001009/0.1097, allocations: 0.5469 MB / 403.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1098, allocations: 8.031 kB / 403.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.322e-05/0.1099, allocations: 23.72 kB / 403.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.1103, allocations: 277.5 kB / 403.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1103, allocations: 15.95 kB / 403.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1103, allocations: 12 kB / 403.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.111, allocations: 277 kB / 403.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.111, allocations: 4 kB / 403.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.1111, allocations: 4 kB / 403.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1111, allocations: 4 kB / 403.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/0.1119, allocations: 255.8 kB / 403.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.1132, allocations: 0.8962 MB / 404.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009823/0.1142, allocations: 324.9 kB / 405.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1142, allocations: 0 / 405.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006136/0.1148, allocations: 250.8 kB / 405.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1148, allocations: 7.938 kB / 405.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001532/0.1164, allocations: 0.5859 MB / 406 MB, free: 7.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.1165, allocations: 162.2 kB / 406.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1167, allocations: 241 kB / 406.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1168, allocations: 25.8 kB / 406.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1169, allocations: 152.1 kB / 406.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.117, allocations: 47.36 kB / 406.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.117, allocations: 8 kB / 406.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1172, allocations: 334.8 kB / 406.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.1176, allocations: 140.1 kB / 407.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.1181, allocations: 210.4 kB / 407.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.1185, allocations: 168.2 kB / 407.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1185, allocations: 0 / 407.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001011/0.1195, allocations: 446.8 kB / 407.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.1198, allocations: 0.5544 MB / 408.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.1198, allocations: 4 kB / 408.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1198, allocations: 0 / 408.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.1202, allocations: 79.88 kB / 408.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1202, allocations: 3.984 kB / 408.5 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.1205, allocations: 59.81 kB / 408.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.1205, allocations: 4 kB / 408.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1205, allocations: 4 kB / 408.6 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004624/0.121, allocations: 263.4 kB / 408.8 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.121, allocations: 0 / 408.8 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.121, allocations: 4 kB / 408.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.1212, allocations: 36.08 kB / 408.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1212, allocations: 11.94 kB / 408.9 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1213, allocations: 19.84 kB / 408.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.1214, allocations: 8 kB / 408.9 MB, free: 4.605 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,integrator2.I.local_reset,integrator1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002344/0.1216, allocations: 259.8 kB / 409.2 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.1217, allocations: 27.66 kB / 409.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/0.1217, allocations: 29.83 kB / 409.2 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1218, allocations: 3.984 kB / 409.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1218, allocations: 7.953 kB / 409.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1218, allocations: 0 / 409.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.1221, allocations: 285.5 kB / 409.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1221, allocations: 0 / 409.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.1224, allocations: 59.94 kB / 409.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1224, allocations: 4 kB / 409.6 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.1224, allocations: 0 / 409.6 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.1225, allocations: 4 kB / 409.6 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1225, allocations: 0 / 409.6 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.1239, allocations: 0.6211 MB / 410.2 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.124, allocations: 100.9 kB / 410.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.124, allocations: 8 kB / 410.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.1243, allocations: 40.03 kB / 410.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.1243, allocations: 31.91 kB / 410.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.1244, allocations: 11.92 kB / 410.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1245, allocations: 176.5 kB / 410.6 MB, free: 2.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1246, allocations: 0 / 410.6 MB, free: 2.844 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004171/0.125, allocations: 84.03 kB / 410.7 MB, free: 2.762 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator1.I.y,integrator2.I.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0002143/0.1252, allocations: 127.1 kB / 410.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.1265, allocations: 0.5768 MB / 411.4 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1265, allocations: 0 / 411.4 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.127, allocations: 247.6 kB / 411.6 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1273, allocations: 48.45 kB / 411.6 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1284, allocations: 0.535 MB / 412.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1287, allocations: 0.7482 MB / 412.9 MB, free: 392 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.1289, allocations: 29.53 kB / 413 MB, free: 364 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.1289, allocations: 15.44 kB / 413 MB, free: 352 kB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1289, allocations: 0 / 413 MB, free: 352 kB / 302.1 MB Notification: Performance of Templates: time 0.007448/0.1364, allocations: 3.487 MB / 416.5 MB, free: 12.86 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1) Environment - environmentSimulation: