Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.002243, allocations: 444 kB / 10.41 MB, free: 276 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8595/0.8595, allocations: 177.2 MB / 188.4 MB, free: 4.398 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1511/1.011, allocations: 53.66 MB / 242 MB, free: 2.59 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007657/0.0007657, allocations: 147.8 kB / 242.9 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009486/0.001714, allocations: 484 kB / 243.4 MB, free: 1.254 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4963/0.4963, allocations: 89.19 MB / 333.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04899/0.5453, allocations: 30.22 MB / 363.5 MB, free: 3.031 MB / 346.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 364.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.838e-06/1.119e-05, allocations: 2.312 kB / 364.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004835/0.004846, allocations: 6.449 MB / 371.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.007845, allocations: 2.244 MB / 373.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.008187, allocations: 12 kB / 373.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.008625, allocations: 261.8 kB / 373.9 MB, free: 8.758 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.009787, allocations: 0.9108 MB / 374.8 MB, free: 7.844 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.0106, allocations: 0.6742 MB / 375.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.01167, allocations: 1.705 MB / 377.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.01194, allocations: 233 kB / 377.4 MB, free: 5.207 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009453/0.01289, allocations: 1.193 MB / 378.6 MB, free: 4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/0.01352, allocations: 0.7243 MB / 379.3 MB, free: 3.273 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.01367, allocations: 140 kB / 379.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.01406, allocations: 295.7 kB / 379.7 MB, free: 2.848 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.01424, allocations: 255 kB / 380 MB, free: 2.598 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.01453, allocations: 367.1 kB / 380.3 MB, free: 2.238 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008793/0.01541, allocations: 1.163 MB / 381.5 MB, free: 1.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.01542, allocations: 0 / 381.5 MB, free: 1.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01542, allocations: 0 / 381.5 MB, free: 1.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.01543, allocations: 0 / 381.5 MB, free: 1.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004133/0.01957, allocations: 3.084 MB / 384.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.0196, allocations: 8.031 kB / 384.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.02249, allocations: 0.9831 MB / 385.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.02332, allocations: 0.6096 MB / 386.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.02346, allocations: 281.8 kB / 386.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.02358, allocations: 84 kB / 386.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.02431, allocations: 0.7236 MB / 387.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.02432, allocations: 0 / 387.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.02438, allocations: 35.98 kB / 387.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.0244, allocations: 23.94 kB / 387.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/0.02487, allocations: 370.2 kB / 387.7 MB, free: 10.71 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.02756, allocations: 1.941 MB / 389.6 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.02966, allocations: 1.19 MB / 390.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.02993, allocations: 262.3 kB / 391.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.092e-05/0.03001, allocations: 28.98 kB / 391.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004816/0.03049, allocations: 0.5057 MB / 391.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 2.194e-06/0.03049, allocations: 0 / 391.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.009026/0.03952, allocations: 4.496 MB / 396.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.03956, allocations: 90.11 kB / 396.2 MB, free: 2.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.04011, allocations: 0.8856 MB / 397.1 MB, free: 1.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.04017, allocations: 45.7 kB / 397.1 MB, free: 1.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.04034, allocations: 379.5 kB / 397.5 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.04057, allocations: 408.5 kB / 397.9 MB, free: 304 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.04087, allocations: 307.4 kB / 398.2 MB, free: 15.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.04093, allocations: 301.1 kB / 398.5 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.04144, allocations: 406.1 kB / 398.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.04202, allocations: 0.5782 MB / 399.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.04328, allocations: 1.114 MB / 400.6 MB, free: 13.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.04328, allocations: 4 kB / 400.6 MB, free: 13.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004563/0.04785, allocations: 2.833 MB / 403.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.04789, allocations: 70.61 kB / 403.5 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.0479, allocations: 4 kB / 403.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004002/0.0519, allocations: 1.662 MB / 405.1 MB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008499/0.05275, allocations: 378.3 kB / 405.5 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/0.05845, allocations: 3.712 MB / 409.2 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/0.05919, allocations: 175.1 kB / 409.4 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.05926, allocations: 47.97 kB / 409.4 MB, free: 4.473 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (aVRTypeII.lagLimWindupGuard.inputLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.atMin,$PRE.aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.atMax,$PRE.aVRTypeII.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.05956, allocations: 220 kB / 409.6 MB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.05971, allocations: 107.9 kB / 409.8 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/0.06377, allocations: 2.303 MB / 412.1 MB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.06378, allocations: 8 kB / 412.1 MB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.06379, allocations: 8 kB / 412.1 MB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.0638, allocations: 11.97 kB / 412.1 MB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.06857, allocations: 3.003 MB / 415.1 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.06857, allocations: 4 kB / 415.1 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.06892, allocations: 139.8 kB / 415.2 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.06905, allocations: 126.9 kB / 415.4 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00356/0.07261, allocations: 1.59 MB / 416.9 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.07266, allocations: 24 kB / 417 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005313/0.07797, allocations: 4.736 MB / 421.7 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.07798, allocations: 3.984 kB / 421.7 MB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.08219, allocations: 2.681 MB / 424.4 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.0823, allocations: 16 kB / 424.4 MB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.08274, allocations: 87.92 kB / 424.5 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/0.08307, allocations: 196.6 kB / 424.7 MB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.08312, allocations: 20 kB / 424.7 MB, free: 4.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003628/0.08348, allocations: 463.9 kB / 425.2 MB, free: 4.391 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08348, allocations: 0 / 425.2 MB, free: 4.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009948/0.08447, allocations: 499.6 kB / 425.6 MB, free: 3.902 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.08472, allocations: 136.1 kB / 425.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.08698, allocations: 1.713 MB / 427.5 MB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/0.08699, allocations: 16 kB / 427.5 MB, free: 1.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.08842, allocations: 1.182 MB / 428.7 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.08906, allocations: 0.5622 MB / 429.2 MB, free: 120 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009219/0.09828, allocations: 2.164 MB / 431.4 MB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.09846, allocations: 248.9 kB / 431.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002684/0.09873, allocations: 124.9 kB / 431.8 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.09907, allocations: 211.3 kB / 432 MB, free: 13.31 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.09907, allocations: 0 / 432 MB, free: 13.31 MB / 426.7 MB Notification: Performance of Templates: time 0.02997/0.129, allocations: 29.26 MB / 461.2 MB, free: 288 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5431462628766894]