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.0007224/0.0007224, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008944/0.001617, allocations: 435.8 kB / 10.33 MB, free: 368 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.8635/0.8635, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1757/1.039, allocations: 53.64 MB / 241.9 MB, free: 2.742 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.001055/0.001055, allocations: 159.8 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002244, allocations: 472 kB / 243.2 MB, free: 1.43 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.4446/0.4446, allocations: 89.06 MB / 333 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04785/0.4925, allocations: 30.21 MB / 363.2 MB, free: 3.168 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 1.312e-06/1.312e-06, allocations: 0 / 364.6 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.312e-05, allocations: 4.422 kB / 364.6 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004977/0.00499, allocations: 6.41 MB / 371 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.009138, allocations: 2.221 MB / 373.2 MB, free: 9.223 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004966/0.009634, allocations: 15.94 kB / 373.2 MB, free: 9.207 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.01017, allocations: 249.8 kB / 373.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.01161, allocations: 0.9027 MB / 374.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.01268, allocations: 0.6702 MB / 375 MB, free: 7.387 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.01398, allocations: 1.67 MB / 376.7 MB, free: 5.711 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.01431, allocations: 224.9 kB / 376.9 MB, free: 5.477 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.01536, allocations: 1.185 MB / 378.1 MB, free: 4.277 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006406/0.016, allocations: 0.7087 MB / 378.8 MB, free: 3.566 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.01614, allocations: 132 kB / 378.9 MB, free: 3.438 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.01661, allocations: 299.7 kB / 379.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.01681, allocations: 239.1 kB / 379.5 MB, free: 2.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.01711, allocations: 363.1 kB / 379.8 MB, free: 2.555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.01822, allocations: 1.148 MB / 381 MB, free: 1.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.71e-05/0.01825, allocations: 0 / 381 MB, free: 1.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.932e-06/0.01826, allocations: 4 kB / 381 MB, free: 1.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.698e-05/0.01828, allocations: 4 kB / 381 MB, free: 1.395 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.00471/0.02299, allocations: 3.041 MB / 384 MB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.02304, allocations: 16.03 kB / 384 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.02564, allocations: 0.987 MB / 385 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.02646, allocations: 0.6055 MB / 385.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.02666, allocations: 277.9 kB / 385.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.02678, allocations: 91.94 kB / 386 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/0.02759, allocations: 0.7158 MB / 386.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.02761, allocations: 0 / 386.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/0.02767, allocations: 32 kB / 386.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.02768, allocations: 23.94 kB / 386.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.0282, allocations: 370.3 kB / 387.1 MB, free: 11.07 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.002901/0.0311, allocations: 1.933 MB / 389 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.03325, allocations: 1.192 MB / 390.2 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.03353, allocations: 254.3 kB / 390.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.15e-05/0.03361, allocations: 28.98 kB / 390.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004942/0.0341, allocations: 0.5057 MB / 391 MB, free: 7.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.096e-06/0.03411, allocations: 4 kB / 391 MB, free: 7.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=107): time 0.00943/0.04354, allocations: 4.621 MB / 395.6 MB, free: 2.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.04358, allocations: 98.11 kB / 395.7 MB, free: 2.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.04428, allocations: 0.8774 MB / 396.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.04435, allocations: 45.7 kB / 396.7 MB, free: 1.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.04453, allocations: 371.6 kB / 397 MB, free: 0.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.04477, allocations: 408.5 kB / 397.4 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.04506, allocations: 303.3 kB / 397.7 MB, free: 260 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.04513, allocations: 301.1 kB / 398 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.04562, allocations: 406.1 kB / 398.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.04617, allocations: 0.5667 MB / 399 MB, free: 14.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.04729, allocations: 1.038 MB / 400 MB, free: 13.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.0473, allocations: 4 kB / 400 MB, free: 13.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004633/0.05193, allocations: 2.835 MB / 402.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/0.05199, allocations: 63.39 kB / 402.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.052, allocations: 0 / 402.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/0.05594, allocations: 1.644 MB / 404.6 MB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/0.05676, allocations: 379.2 kB / 404.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/0.06184, allocations: 3.666 MB / 408.6 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.06258, allocations: 175.1 kB / 408.8 MB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.06264, allocations: 39.98 kB / 408.8 MB, free: 4.887 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.0002823/0.06292, allocations: 220 kB / 409 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.06306, allocations: 123.8 kB / 409.1 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.06674, allocations: 2.289 MB / 411.4 MB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.06675, allocations: 12 kB / 411.4 MB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.06676, allocations: 8 kB / 411.5 MB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.06677, allocations: 7.969 kB / 411.5 MB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004574/0.07134, allocations: 2.991 MB / 414.4 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.07135, allocations: 0 / 414.4 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.07169, allocations: 131.8 kB / 414.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.07183, allocations: 130.9 kB / 414.7 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003421/0.07525, allocations: 1.555 MB / 416.3 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.07531, allocations: 20 kB / 416.3 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/0.08001, allocations: 4.6 MB / 420.9 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.08001, allocations: 0 / 420.9 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/0.08411, allocations: 2.642 MB / 423.5 MB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.08425, allocations: 27.98 kB / 423.5 MB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.08468, allocations: 79.94 kB / 423.6 MB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.08499, allocations: 204.5 kB / 423.8 MB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.08503, allocations: 16 kB / 423.8 MB, free: 5.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003595/0.08539, allocations: 459.7 kB / 424.3 MB, free: 5.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.08539, allocations: 0 / 424.3 MB, free: 5.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009828/0.08638, allocations: 495.7 kB / 424.8 MB, free: 4.566 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.0002211/0.0866, allocations: 132.3 kB / 424.9 MB, free: 4.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.08884, allocations: 1.677 MB / 426.6 MB, free: 2.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.127e-05/0.08886, allocations: 19.98 kB / 426.6 MB, free: 2.676 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.09022, allocations: 1.119 MB / 427.7 MB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.09074, allocations: 234.8 kB / 427.9 MB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008543/0.09928, allocations: 2.135 MB / 430.1 MB, free: 15.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.09948, allocations: 252.8 kB / 430.3 MB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002989/0.09978, allocations: 116.7 kB / 430.4 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.1001, allocations: 199.3 kB / 430.6 MB, free: 14.51 MB / 426.7 MB Notification: Performance of SimCode: time 2.214e-06/0.1001, allocations: 0 / 430.6 MB, free: 14.51 MB / 426.7 MB Notification: Performance of Templates: time 0.02814/0.1282, allocations: 28.35 MB / 459 MB, free: 2.367 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.528110676445067]