Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001025/0.001025, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002609, allocations: 440 kB / 10.41 MB, free: 284 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.8954/0.8954, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1637/1.059, allocations: 53.65 MB / 242 MB, free: 2.633 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.0008515/0.0008515, allocations: 153.8 kB / 242.9 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.001992, allocations: 478.8 kB / 243.4 MB, free: 1.297 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4335/0.4335, allocations: 89.11 MB / 333.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05242/0.4859, allocations: 30.21 MB / 363.5 MB, free: 3.09 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 master/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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 364.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.35e-05, allocations: 2.312 kB / 364.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005397/0.00542, allocations: 6.287 MB / 371.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.009196, allocations: 2.178 MB / 373.3 MB, free: 9.328 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005939/0.00979, allocations: 15.94 kB / 373.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.01038, allocations: 253.9 kB / 373.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.01194, allocations: 0.8849 MB / 374.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009968/0.01294, allocations: 0.6704 MB / 375.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.01434, allocations: 1.607 MB / 376.7 MB, free: 5.887 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.01465, allocations: 232.8 kB / 376.9 MB, free: 5.645 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.0157, allocations: 1.134 MB / 378.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.01631, allocations: 0.6776 MB / 378.7 MB, free: 3.816 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.01644, allocations: 127.9 kB / 378.9 MB, free: 3.691 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.01694, allocations: 283.8 kB / 379.1 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.01713, allocations: 239.1 kB / 379.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.01742, allocations: 355.1 kB / 379.7 MB, free: 2.832 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01846, allocations: 1.12 MB / 380.8 MB, free: 1.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.752e-05/0.01848, allocations: 4 kB / 380.8 MB, free: 1.703 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01848, allocations: 0 / 380.8 MB, free: 1.703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.0185, allocations: 0 / 380.8 MB, free: 1.703 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004675/0.02318, allocations: 2.971 MB / 383.8 MB, free: 14.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.02322, allocations: 12.03 kB / 383.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/0.02624, allocations: 0.9831 MB / 384.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008446/0.02708, allocations: 0.5897 MB / 385.4 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.02726, allocations: 273.9 kB / 385.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.02738, allocations: 95.95 kB / 385.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007757/0.02815, allocations: 0.7041 MB / 386.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.02817, allocations: 0 / 386.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.02822, allocations: 31.94 kB / 386.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.02824, allocations: 24 kB / 386.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.02874, allocations: 370.2 kB / 386.9 MB, free: 11.49 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.002803/0.03154, allocations: 1.91 MB / 388.8 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.03372, allocations: 1.19 MB / 390 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.03399, allocations: 250.3 kB / 390.2 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.03406, allocations: 24.98 kB / 390.2 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/0.03462, allocations: 0.494 MB / 390.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=105): time 2.605e-06/0.03462, allocations: 0 / 390.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.009465/0.04409, allocations: 4.523 MB / 395.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.04413, allocations: 90.11 kB / 395.3 MB, free: 2.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.04487, allocations: 0.8531 MB / 396.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.577e-05/0.04495, allocations: 49.73 kB / 396.2 MB, free: 1.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.04516, allocations: 375.3 kB / 396.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.04542, allocations: 384.7 kB / 397 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002907/0.04571, allocations: 295.3 kB / 397.3 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.04578, allocations: 305.1 kB / 397.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.04635, allocations: 390.1 kB / 398 MB, free: 180 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.04691, allocations: 0.5627 MB / 398.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.048, allocations: 1.07 MB / 399.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.04801, allocations: 0 / 399.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00458/0.05258, allocations: 2.743 MB / 402.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.974e-05/0.05264, allocations: 63.41 kB / 402.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.05266, allocations: 4 kB / 402.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/0.05668, allocations: 1.618 MB / 404 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000939/0.05762, allocations: 359.5 kB / 404.4 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005505/0.06312, allocations: 3.635 MB / 408 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/0.06408, allocations: 175.1 kB / 408.2 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/0.06416, allocations: 43.97 kB / 408.2 MB, free: 5.664 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 (168): * Single equations (assignments): 165 * 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,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003362/0.06449, allocations: 216 kB / 408.4 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.06466, allocations: 107.9 kB / 408.5 MB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.06853, allocations: 2.279 MB / 410.8 MB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.06854, allocations: 12 kB / 410.8 MB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.06855, allocations: 8 kB / 410.8 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.06856, allocations: 7.969 kB / 410.8 MB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004843/0.07341, allocations: 2.968 MB / 413.8 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.07341, allocations: 4.031 kB / 413.8 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.07375, allocations: 131.8 kB / 413.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.07394, allocations: 122.9 kB / 414.1 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003652/0.07759, allocations: 1.586 MB / 415.6 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.818e-05/0.07767, allocations: 23.98 kB / 415.7 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005397/0.08306, allocations: 4.755 MB / 420.4 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.08307, allocations: 0 / 420.4 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.08738, allocations: 2.627 MB / 423.1 MB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.08757, allocations: 24 kB / 423.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.08804, allocations: 83.92 kB / 423.2 MB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/0.0884, allocations: 200.6 kB / 423.4 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.08844, allocations: 16 kB / 423.4 MB, free: 6.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003876/0.08883, allocations: 447 kB / 423.8 MB, free: 5.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08883, allocations: 0 / 423.8 MB, free: 5.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00107/0.0899, allocations: 483.6 kB / 424.3 MB, free: 5.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (76): * Single equations (assignments): 71 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002534/0.09015, allocations: 134.6 kB / 424.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.09243, allocations: 1.647 MB / 426.1 MB, free: 3.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.879e-05/0.09246, allocations: 31.86 kB / 426.1 MB, free: 3.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.09397, allocations: 1.131 MB / 427.2 MB, free: 2.188 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.09466, allocations: 0.5543 MB / 427.8 MB, free: 1.566 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008743/0.1034, allocations: 2.072 MB / 429.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.1036, allocations: 248.8 kB / 430.1 MB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003483/0.104, allocations: 124.6 kB / 430.2 MB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.1043, allocations: 203.3 kB / 430.4 MB, free: 14.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.923e-06/0.1043, allocations: 0 / 430.4 MB, free: 14.86 MB / 426.7 MB Notification: Performance of Templates: time 0.0303/0.1346, allocations: 28.03 MB / 458.4 MB, free: 3.039 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5071814246475697]