Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 97.36 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.001762/0.001762, allocations: 181.5 kB / 16.58 MB, free: 6.117 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.686/1.686, allocations: 205.4 MB / 222.7 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.06457/0.06457, allocations: 14.17 MB / 285.2 MB, free: 7.148 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.0006859/0.000686, allocations: 19.94 kB / 348.8 MB, free: 17.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1438, allocations: 51.11 MB / 399.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.002379/0.1462, allocations: 1.679 MB / 401.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1476, allocations: 0.8078 MB / 402.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1477, allocations: 11.94 kB / 402.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1479, allocations: 47.73 kB / 402.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.1481, allocations: 63.83 kB / 402.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.1486, allocations: 171.2 kB / 402.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.1489, allocations: 167.7 kB / 402.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1491, allocations: 72.16 kB / 402.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1493, allocations: 103.6 kB / 403 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1494, allocations: 115.5 kB / 403.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.1495, allocations: 12 kB / 403.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1496, allocations: 75.86 kB / 403.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.1497, allocations: 39.83 kB / 403.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.1498, allocations: 69.56 kB / 403.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.15, allocations: 235.5 kB / 403.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1501, allocations: 0 / 403.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1501, allocations: 0 / 403.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1501, allocations: 0 / 403.5 MB, free: 11.09 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009286/0.151, allocations: 0.578 MB / 404.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1511, allocations: 12.03 kB / 404.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.1511, allocations: 31.62 kB / 404.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.1515, allocations: 302.3 kB / 404.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1516, allocations: 12 kB / 404.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.1516, allocations: 20 kB / 404.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.1523, allocations: 313.3 kB / 404.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1523, allocations: 0 / 404.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.1523, allocations: 12 kB / 404.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1523, allocations: 4 kB / 404.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.153, allocations: 260.3 kB / 405.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1543, allocations: 0.9865 MB / 406 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.1551, allocations: 341 kB / 406.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.1552, allocations: 8 kB / 406.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005329/0.1557, allocations: 251.3 kB / 406.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.704e-06/0.1557, allocations: 0 / 406.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001361/0.1571, allocations: 0.6005 MB / 407.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.1572, allocations: 166.2 kB / 407.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1575, allocations: 254.7 kB / 407.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.1576, allocations: 29.7 kB / 407.7 MB, free: 6.629 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1578, allocations: 176.2 kB / 407.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.1579, allocations: 67.02 kB / 407.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.1579, allocations: 11.94 kB / 407.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1581, allocations: 334.9 kB / 408.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.1584, allocations: 139.9 kB / 408.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.1588, allocations: 213.5 kB / 408.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.1592, allocations: 173.6 kB / 408.8 MB, free: 5.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1593, allocations: 0 / 408.8 MB, free: 5.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002057/0.1613, allocations: 0.7774 MB / 409.5 MB, free: 4.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/0.1616, allocations: 0.57 MB / 410.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1616, allocations: 0 / 410.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007351/0.1624, allocations: 193.6 kB / 410.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.1626, allocations: 35.95 kB / 410.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.1687, allocations: 3.885 MB / 414.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.1691, allocations: 51.8 kB / 414.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.1691, allocations: 12 kB / 414.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1691, allocations: 4 kB / 414.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005754/0.1697, allocations: 301.4 kB / 414.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1697, allocations: 0 / 414.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.1698, allocations: 11.89 kB / 414.6 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.17, allocations: 55.89 kB / 414.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1701, allocations: 7.984 kB / 414.7 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.1702, allocations: 31.91 kB / 414.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1703, allocations: 8 kB / 414.7 MB, free: 15.21 MB / 318.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,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.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): 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003722/0.1706, allocations: 266.6 kB / 414.9 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.1707, allocations: 27.72 kB / 415 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/0.1708, allocations: 34.12 kB / 415 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1708, allocations: 0 / 415 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1708, allocations: 0 / 415 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1708, allocations: 7.938 kB / 415 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1712, allocations: 337.2 kB / 415.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1712, allocations: 7.938 kB / 415.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.1716, allocations: 59.94 kB / 415.4 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1716, allocations: 0 / 415.4 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.1716, allocations: 8 kB / 415.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1716, allocations: 7.953 kB / 415.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1717, allocations: 4 kB / 415.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006888/0.1785, allocations: 3.824 MB / 419.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.1787, allocations: 112.7 kB / 419.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.1787, allocations: 4 kB / 419.4 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1789, allocations: 35.97 kB / 419.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.179, allocations: 31.91 kB / 419.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.1791, allocations: 20.05 kB / 419.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.1793, allocations: 186 kB / 419.6 MB, free: 9.977 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1793, allocations: 0 / 419.6 MB, free: 9.977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008706/0.1802, allocations: 155.8 kB / 419.8 MB, free: 9.824 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.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 (17): * Single equations (assignments): 16 * 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.0002359/0.1804, allocations: 130.5 kB / 419.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.1824, allocations: 0.9335 MB / 420.9 MB, free: 8.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1824, allocations: 4 kB / 420.9 MB, free: 8.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.1829, allocations: 251.6 kB / 421.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1832, allocations: 46.88 kB / 421.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.1847, allocations: 0.8518 MB / 422 MB, free: 7.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.1852, allocations: 0.7756 MB / 422.8 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.1854, allocations: 37.94 kB / 422.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.1855, allocations: 23.44 kB / 422.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1855, allocations: 0 / 422.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of Templates: time 0.01134/0.1969, allocations: 5.294 MB / 428.1 MB, free: 1.336 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1) Environment - environmentSimulation: