Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0006837/0.0006837, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000919/0.001603, 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.8695/0.8695, allocations: 177.2 MB / 188.4 MB, free: 4.402 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.154/1.024, allocations: 53.65 MB / 242 MB, free: 2.625 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.001504/0.001504, allocations: 160.4 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.003195, allocations: 477.8 kB / 243.4 MB, free: 1.289 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.4714/0.4714, allocations: 89.19 MB / 333.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06065/0.532, allocations: 30.21 MB / 363.5 MB, free: 3.07 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.81e-07/8.81e-07, allocations: 0 / 364.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.997e-06/9.878e-06, allocations: 8.984 kB / 364.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004557/0.004567, allocations: 6.276 MB / 371.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.007014, allocations: 2.186 MB / 373.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.00727, allocations: 11.94 kB / 373.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.00766, allocations: 249.9 kB / 373.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.008714, allocations: 0.8882 MB / 374.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007193/0.009433, allocations: 0.6625 MB / 375.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009457/0.01038, allocations: 1.615 MB / 376.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.01062, allocations: 224.9 kB / 377 MB, free: 5.621 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008329/0.01145, allocations: 1.138 MB / 378.1 MB, free: 4.469 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.01197, allocations: 0.6854 MB / 378.8 MB, free: 3.781 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.01209, allocations: 124 kB / 378.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.01241, allocations: 287.7 kB / 379.2 MB, free: 3.379 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.01257, allocations: 235.1 kB / 379.5 MB, free: 3.148 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.01283, allocations: 351.1 kB / 379.8 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.01367, allocations: 1.116 MB / 380.9 MB, free: 1.684 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.01367, allocations: 4 kB / 380.9 MB, free: 1.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01368, allocations: 0 / 380.9 MB, free: 1.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.01369, allocations: 0 / 380.9 MB, free: 1.68 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.003976/0.01767, allocations: 2.983 MB / 383.9 MB, free: 14.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.01769, allocations: 8.031 kB / 383.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/0.02048, allocations: 0.9792 MB / 384.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.02112, allocations: 0.5936 MB / 385.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.02126, allocations: 273.9 kB / 385.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.02137, allocations: 95.92 kB / 385.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.02203, allocations: 0.7041 MB / 386.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.02205, allocations: 0 / 386.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.0221, allocations: 35.94 kB / 386.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.02211, allocations: 20 kB / 386.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.02256, allocations: 374.2 kB / 387 MB, free: 11.45 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.002445/0.02501, allocations: 1.906 MB / 388.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.02705, allocations: 1.194 MB / 390.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.02732, allocations: 250.3 kB / 390.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.02739, allocations: 21 kB / 390.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004659/0.02785, allocations: 0.494 MB / 390.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=105): time 2.244e-06/0.02785, allocations: 0 / 390.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.009092/0.03695, allocations: 4.523 MB / 395.3 MB, free: 2.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.03698, allocations: 86.11 kB / 395.4 MB, free: 2.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.03752, allocations: 0.857 MB / 396.3 MB, free: 1.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.03758, allocations: 45.7 kB / 396.3 MB, free: 1.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.03775, allocations: 375.3 kB / 396.7 MB, free: 1.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.03796, allocations: 392.8 kB / 397.1 MB, free: 1.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.03824, allocations: 291.3 kB / 397.4 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.0383, allocations: 309.1 kB / 397.7 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.03876, allocations: 390.1 kB / 398.1 MB, free: 144 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.03931, allocations: 0.5588 MB / 398.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.04037, allocations: 1.066 MB / 399.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.04038, allocations: 4 kB / 399.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004283/0.04466, allocations: 2.74 MB / 402.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.0447, allocations: 67.39 kB / 402.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.04471, allocations: 0 / 402.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00375/0.04846, allocations: 1.612 MB / 404.1 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008257/0.04929, allocations: 359.5 kB / 404.4 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005034/0.05432, allocations: 3.637 MB / 408.1 MB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/0.05497, allocations: 171.1 kB / 408.3 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.05504, allocations: 47.97 kB / 408.3 MB, free: 5.637 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.0002722/0.05531, allocations: 212.1 kB / 408.5 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.05545, allocations: 111.9 kB / 408.6 MB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/0.05924, allocations: 2.275 MB / 410.9 MB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.05925, allocations: 15.94 kB / 410.9 MB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.05925, allocations: 4 kB / 410.9 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.05926, allocations: 11.95 kB / 410.9 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/0.0637, allocations: 2.972 MB / 413.9 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.0637, allocations: 4 kB / 413.9 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.064, allocations: 123.8 kB / 414 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.06413, allocations: 126.9 kB / 414.1 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003503/0.06763, allocations: 1.59 MB / 415.7 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.06768, allocations: 23.98 kB / 415.8 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004995/0.07268, allocations: 4.752 MB / 420.5 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.07268, allocations: 0 / 420.5 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/0.07667, allocations: 2.635 MB / 423.1 MB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/0.07677, allocations: 23.98 kB / 423.2 MB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.07716, allocations: 75.94 kB / 423.2 MB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/0.07746, allocations: 204.5 kB / 423.4 MB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.0775, allocations: 20 kB / 423.5 MB, free: 6.133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003081/0.07781, allocations: 443 kB / 423.9 MB, free: 5.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07781, allocations: 0 / 423.9 MB, free: 5.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008269/0.07863, allocations: 487.5 kB / 424.4 MB, free: 5.215 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.0001782/0.07881, allocations: 130.3 kB / 424.5 MB, free: 5.078 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.08079, allocations: 1.651 MB / 426.1 MB, free: 3.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-05/0.08081, allocations: 23.94 kB / 426.2 MB, free: 3.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.08212, allocations: 1.143 MB / 427.3 MB, free: 2.148 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.08271, allocations: 0.5529 MB / 427.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00794/0.09065, allocations: 2.066 MB / 429.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.0908, allocations: 248.8 kB / 430.2 MB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000238/0.09104, allocations: 128.6 kB / 430.3 MB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.09134, allocations: 199.3 kB / 430.5 MB, free: 14.83 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.09134, allocations: 4 kB / 430.5 MB, free: 14.83 MB / 426.7 MB Notification: Performance of Templates: time 0.02608/0.1174, allocations: 28.02 MB / 458.5 MB, free: 3.008 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4836207972839475]