Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.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.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 97.44 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.001367/0.001367, allocations: 177.7 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.642/1.642, 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.0613/0.0613, allocations: 14.16 MB / 285.2 MB, free: 7.164 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.0005309/0.000531, allocations: 19.94 kB / 348.8 MB, free: 17.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 51.11 MB / 399.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.002442/0.1165, allocations: 1.8 MB / 401.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.118, allocations: 0.8468 MB / 402.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1182, allocations: 15.94 kB / 402.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1183, allocations: 39.75 kB / 402.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.1185, allocations: 87.67 kB / 402.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.1192, allocations: 207.1 kB / 402.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.1195, allocations: 227.5 kB / 403.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.1197, allocations: 82.11 kB / 403.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1199, allocations: 103.5 kB / 403.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1201, allocations: 115.4 kB / 403.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.1201, allocations: 8 kB / 403.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1202, allocations: 71.94 kB / 403.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.1203, allocations: 51.75 kB / 403.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.1204, allocations: 73.52 kB / 403.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1207, allocations: 247.5 kB / 403.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1207, allocations: 0 / 403.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1207, allocations: 0 / 403.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1207, allocations: 0 / 403.8 MB, free: 10.79 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000904/0.1216, allocations: 0.6051 MB / 404.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1217, allocations: 20 kB / 404.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.1218, allocations: 35.53 kB / 404.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.1222, allocations: 322.2 kB / 404.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1222, allocations: 15.94 kB / 404.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.1222, allocations: 24 kB / 404.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.1229, allocations: 304.4 kB / 405.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1229, allocations: 0 / 405.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.123, allocations: 8 kB / 405.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.123, allocations: 4 kB / 405.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006185/0.1236, allocations: 232.4 kB / 405.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.1249, allocations: 0.8563 MB / 406.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.126, allocations: 367.8 kB / 406.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.126, allocations: 4.062 kB / 406.6 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.1265, allocations: 244 kB / 406.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.502e-06/0.1266, allocations: 0 / 406.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001329/0.1279, allocations: 0.5705 MB / 407.4 MB, free: 6.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.128, allocations: 217.6 kB / 407.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.1283, allocations: 283 kB / 407.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1284, allocations: 29.7 kB / 407.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1285, allocations: 180.2 kB / 408.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.1286, allocations: 59.11 kB / 408.2 MB, free: 6.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.1286, allocations: 7.938 kB / 408.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1287, allocations: 342.8 kB / 408.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.1291, allocations: 115.9 kB / 408.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.1295, allocations: 196.7 kB / 408.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.1298, allocations: 158.3 kB / 409 MB, free: 5.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1298, allocations: 0 / 409 MB, free: 5.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008142/0.1306, allocations: 405 kB / 409.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.1309, allocations: 397.7 kB / 409.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1309, allocations: 0 / 409.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1309, allocations: 4 kB / 409.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.1311, allocations: 59.91 kB / 409.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1312, allocations: 4 kB / 409.8 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.1314, allocations: 39.81 kB / 409.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1314, allocations: 12 kB / 409.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.1315, allocations: 8 kB / 409.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005181/0.132, allocations: 277.5 kB / 410.1 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.132, allocations: 3.938 kB / 410.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.132, allocations: 7.938 kB / 410.1 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1322, allocations: 31.97 kB / 410.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1322, allocations: 4.062 kB / 410.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.1324, allocations: 35.92 kB / 410.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1324, allocations: 11.95 kB / 410.2 MB, free: 3.945 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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.0002259/0.1326, allocations: 265 kB / 410.5 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.1327, allocations: 27.72 kB / 410.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.1327, allocations: 30.3 kB / 410.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.1328, allocations: 4 kB / 410.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1328, allocations: 0 / 410.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1328, allocations: 0 / 410.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.1332, allocations: 357.2 kB / 410.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1332, allocations: 0 / 410.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.1334, allocations: 47.95 kB / 410.9 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1334, allocations: 0 / 410.9 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.1335, allocations: 11.94 kB / 411 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1335, allocations: 3.938 kB / 411 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1335, allocations: 4 kB / 411 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005571/0.1391, allocations: 3.403 MB / 414.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.1392, allocations: 100.8 kB / 414.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.1392, allocations: 8 kB / 414.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.1394, allocations: 39.92 kB / 414.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.1395, allocations: 19.97 kB / 414.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.1396, allocations: 7.938 kB / 414.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.1398, allocations: 202 kB / 414.7 MB, free: 15.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1398, allocations: 3.938 kB / 414.7 MB, free: 15.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006847/0.1405, allocations: 163.7 kB / 414.9 MB, free: 14.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (PIController.firstOrder.y,PIControllerNegativeKp.firstOrder.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 (16): * Single equations (assignments): 15 * 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.0001775/0.1406, allocations: 127.2 kB / 415 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1418, allocations: 0.561 MB / 415.6 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1418, allocations: 0 / 415.6 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.1422, allocations: 235.2 kB / 415.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1426, allocations: 60.56 kB / 415.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.144, allocations: 0.9133 MB / 416.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.1445, allocations: 0.7797 MB / 417.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.1447, allocations: 45.91 kB / 417.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.1447, allocations: 23.44 kB / 417.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1447, allocations: 0 / 417.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Templates: time 0.008329/0.1531, allocations: 4.244 MB / 421.9 MB, free: 7.883 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1) Environment - environmentSimulation: