Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.0006666/0.0006666, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009251/0.001592, 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.8407/0.8407, allocations: 177.2 MB / 188.4 MB, free: 4.395 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.163/1.004, allocations: 53.65 MB / 242 MB, free: 2.605 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.001107/0.001107, allocations: 165.4 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002559, allocations: 477.8 kB / 243.4 MB, free: 1.27 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.4397/0.4397, allocations: 89.19 MB / 333.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04815/0.4879, allocations: 30.22 MB / 363.5 MB, free: 3.039 MB / 346.7 MB " [Timeout remaining time 180] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 364.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.777e-05, allocations: 6.141 kB / 364.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007676/0.007704, allocations: 6.402 MB / 371.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006043/0.01375, allocations: 2.221 MB / 373.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.01502, allocations: 15.94 kB / 373.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008148/0.01584, allocations: 257.8 kB / 373.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.01809, allocations: 0.893 MB / 374.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.01918, allocations: 0.6782 MB / 375.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.02078, allocations: 1.674 MB / 377 MB, free: 5.574 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.02113, allocations: 232.9 kB / 377.3 MB, free: 5.332 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.02242, allocations: 1.177 MB / 378.4 MB, free: 4.141 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.02321, allocations: 0.7088 MB / 379.1 MB, free: 3.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.02347, allocations: 128 kB / 379.3 MB, free: 3.305 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.02398, allocations: 295.8 kB / 379.6 MB, free: 3.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.02416, allocations: 243 kB / 379.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.02447, allocations: 359.1 kB / 380.1 MB, free: 2.426 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.02557, allocations: 1.148 MB / 381.3 MB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-05/0.02559, allocations: 4 kB / 381.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.02559, allocations: 0 / 381.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.903e-05/0.02564, allocations: 0 / 381.3 MB, free: 1.27 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.004911/0.03055, allocations: 3.053 MB / 384.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.03059, allocations: 12.02 kB / 384.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.03363, allocations: 0.9792 MB / 385.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.03467, allocations: 0.6093 MB / 385.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.03485, allocations: 277.9 kB / 386.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.03497, allocations: 88 kB / 386.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/0.03579, allocations: 0.7197 MB / 387 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.03581, allocations: 3.938 kB / 387 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.03586, allocations: 28 kB / 387.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.03588, allocations: 27.94 kB / 387.1 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.03641, allocations: 370.2 kB / 387.4 MB, free: 10.94 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.002997/0.03941, allocations: 1.929 MB / 389.4 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.04159, allocations: 1.189 MB / 390.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.04188, allocations: 258.3 kB / 390.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-05/0.04196, allocations: 21 kB / 390.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005024/0.04246, allocations: 0.5057 MB / 391.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.657e-06/0.04247, allocations: 0 / 391.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=107): time 0.009897/0.05237, allocations: 4.636 MB / 396 MB, free: 2.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.05241, allocations: 90.11 kB / 396.1 MB, free: 2.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.05321, allocations: 0.8775 MB / 396.9 MB, free: 1.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.05333, allocations: 49.7 kB / 397 MB, free: 1.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.05353, allocations: 367.6 kB / 397.4 MB, free: 0.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.05382, allocations: 400.6 kB / 397.7 MB, free: 448 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.05413, allocations: 307.3 kB / 398 MB, free: 136 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.05421, allocations: 305.1 kB / 398.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.05475, allocations: 402.2 kB / 398.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.05533, allocations: 0.5745 MB / 399.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.05648, allocations: 1.09 MB / 400.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.05649, allocations: 0 / 400.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005036/0.06153, allocations: 2.835 MB / 403.2 MB, free: 10.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.951e-05/0.06159, allocations: 59.41 kB / 403.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.0616, allocations: 8 kB / 403.3 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004318/0.06592, allocations: 1.679 MB / 405 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.06697, allocations: 374.2 kB / 405.3 MB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.07297, allocations: 3.799 MB / 409.1 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.07403, allocations: 179.1 kB / 409.3 MB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.461e-05/0.07411, allocations: 43.97 kB / 409.4 MB, free: 4.551 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 (174): * Single equations (assignments): 171 * 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 {(18,17,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003414/0.07446, allocations: 216.1 kB / 409.6 MB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.07464, allocations: 111.8 kB / 409.7 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.07859, allocations: 2.289 MB / 412 MB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.0786, allocations: 12 kB / 412 MB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.0786, allocations: 8 kB / 412 MB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.07862, allocations: 7.969 kB / 412 MB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/0.08485, allocations: 2.995 MB / 415 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.08486, allocations: 4 kB / 415 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/0.08547, allocations: 127.9 kB / 415.1 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.08597, allocations: 138.8 kB / 415.3 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005178/0.09115, allocations: 1.578 MB / 416.8 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/0.09142, allocations: 27.98 kB / 416.9 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00817/0.09959, allocations: 4.746 MB / 421.6 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.0996, allocations: 0 / 421.6 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006261/0.1059, allocations: 2.658 MB / 424.3 MB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.1061, allocations: 24 kB / 424.3 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/0.1069, allocations: 79.86 kB / 424.4 MB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005885/0.1075, allocations: 200.6 kB / 424.6 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.294e-05/0.1076, allocations: 31.92 kB / 424.6 MB, free: 4.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006512/0.1082, allocations: 451.7 kB / 425 MB, free: 4.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1082, allocations: 0 / 425 MB, free: 4.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001625/0.1099, allocations: 491.7 kB / 425.5 MB, free: 4.039 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (78): * Single equations (assignments): 73 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003309/0.1102, allocations: 128.2 kB / 425.6 MB, free: 3.906 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003359/0.1135, allocations: 1.695 MB / 427.3 MB, free: 2.152 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.285e-05/0.1136, allocations: 16 kB / 427.4 MB, free: 2.137 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002375/0.116, allocations: 1.179 MB / 428.5 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.1172, allocations: 0.5582 MB / 429.1 MB, free: 288 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.13, allocations: 2.116 MB / 431.2 MB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1303, allocations: 256.8 kB / 431.5 MB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005417/0.1308, allocations: 120.8 kB / 431.6 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.1313, allocations: 211.3 kB / 431.8 MB, free: 13.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.013e-06/0.1313, allocations: 0 / 431.8 MB, free: 13.52 MB / 426.7 MB Notification: Performance of Templates: time 0.08342/0.2147, allocations: 29.01 MB / 460.8 MB, free: 0.7266 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5655598314478993]