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.0007698/0.0007698, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001823, 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.878/0.878, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1566/1.035, allocations: 53.65 MB / 241.9 MB, free: 2.73 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.0007832/0.0007832, allocations: 152.6 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009614/0.001745, allocations: 480.4 kB / 243.2 MB, free: 1.418 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.4454/0.4454, allocations: 89.07 MB / 333 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05118/0.4965, allocations: 30.21 MB / 363.2 MB, free: 3.188 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.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 1.392e-06/1.392e-06, allocations: 0 / 364.5 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.215e-05, allocations: 4.703 kB / 364.6 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008077/0.008099, allocations: 6.283 MB / 370.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.0134, allocations: 2.186 MB / 373 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.01441, allocations: 11.94 kB / 373 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007743/0.01518, allocations: 249.9 kB / 373.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.01772, allocations: 0.8873 MB / 374.2 MB, free: 8.254 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.01924, allocations: 0.6626 MB / 374.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.02153, allocations: 1.607 MB / 376.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006054/0.02214, allocations: 228.9 kB / 376.7 MB, free: 5.738 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.02375, allocations: 1.138 MB / 377.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.02435, allocations: 0.6815 MB / 378.5 MB, free: 3.902 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.02453, allocations: 124 kB / 378.6 MB, free: 3.781 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.02503, allocations: 291.7 kB / 378.9 MB, free: 3.496 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.02521, allocations: 227.1 kB / 379.1 MB, free: 3.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.02549, allocations: 355.1 kB / 379.5 MB, free: 2.926 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.02668, allocations: 1.124 MB / 380.6 MB, free: 1.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.81e-05/0.0267, allocations: 3.984 kB / 380.6 MB, free: 1.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.0267, allocations: 0 / 380.6 MB, free: 1.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.02671, allocations: 0 / 380.6 MB, free: 1.793 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.003927/0.03064, allocations: 2.979 MB / 383.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.03067, allocations: 8.031 kB / 383.6 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.03336, allocations: 0.9831 MB / 384.6 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.03402, allocations: 0.5897 MB / 385.1 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.03416, allocations: 277.9 kB / 385.4 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.841e-05/0.03426, allocations: 87.95 kB / 385.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.03493, allocations: 0.7119 MB / 386.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.03494, allocations: 0 / 386.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.03499, allocations: 35.94 kB / 386.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.035, allocations: 16 kB / 386.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.03544, allocations: 374.2 kB / 386.6 MB, free: 11.57 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.002658/0.03809, allocations: 1.906 MB / 388.5 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.04013, allocations: 1.192 MB / 389.7 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.04039, allocations: 250.3 kB / 390 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.927e-05/0.04046, allocations: 24.98 kB / 390 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004417/0.0409, allocations: 0.4941 MB / 390.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=105): time 2.204e-06/0.0409, allocations: 0 / 390.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.009513/0.05041, allocations: 4.519 MB / 395 MB, free: 3.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.05045, allocations: 94.11 kB / 395.1 MB, free: 2.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.05107, allocations: 0.8531 MB / 396 MB, free: 2.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.05113, allocations: 49.73 kB / 396 MB, free: 1.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.05132, allocations: 375.3 kB / 396.4 MB, free: 1.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.05154, allocations: 384.7 kB / 396.7 MB, free: 1.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.05182, allocations: 291.3 kB / 397 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.05188, allocations: 309.1 kB / 397.3 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.05244, allocations: 390.1 kB / 397.7 MB, free: 260 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.05299, allocations: 0.5588 MB / 398.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.05399, allocations: 1.022 MB / 399.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.05399, allocations: 0 / 399.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00449/0.05848, allocations: 2.74 MB / 402 MB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.05853, allocations: 63.41 kB / 402.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.05854, allocations: 4 kB / 402.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/0.06221, allocations: 1.576 MB / 403.7 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/0.06302, allocations: 371.2 kB / 404 MB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/0.06769, allocations: 3.497 MB / 407.5 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006041/0.0683, allocations: 167.1 kB / 407.7 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.06836, allocations: 47.97 kB / 407.7 MB, free: 5.965 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.0002329/0.0686, allocations: 232 kB / 408 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.06872, allocations: 103.9 kB / 408.1 MB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/0.07251, allocations: 2.275 MB / 410.3 MB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.07251, allocations: 12 kB / 410.4 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.07252, allocations: 8 kB / 410.4 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.07253, allocations: 7.969 kB / 410.4 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/0.07702, allocations: 2.976 MB / 413.3 MB, free: 264 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.07702, allocations: 0 / 413.3 MB, free: 264 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.07732, allocations: 127.8 kB / 413.5 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.07744, allocations: 126.9 kB / 413.6 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/0.08088, allocations: 1.551 MB / 415.1 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.08094, allocations: 23.98 kB / 415.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004635/0.08558, allocations: 4.611 MB / 419.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.08558, allocations: 0 / 419.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.09018, allocations: 2.635 MB / 422.4 MB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.09041, allocations: 16 kB / 422.4 MB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/0.09094, allocations: 83.92 kB / 422.5 MB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003887/0.09133, allocations: 196.6 kB / 422.7 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/0.09138, allocations: 23.98 kB / 422.7 MB, free: 6.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004053/0.09178, allocations: 447 kB / 423.2 MB, free: 6.188 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09178, allocations: 0 / 423.2 MB, free: 6.188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001052/0.09284, allocations: 483.6 kB / 423.6 MB, free: 5.715 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.0002734/0.09311, allocations: 125.3 kB / 423.8 MB, free: 5.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.09546, allocations: 1.634 MB / 425.4 MB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-05/0.09549, allocations: 28.05 kB / 425.4 MB, free: 3.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.0969, allocations: 1.093 MB / 426.5 MB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.09746, allocations: 224.8 kB / 426.7 MB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008802/0.1063, allocations: 2.088 MB / 428.8 MB, free: 396 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1065, allocations: 244.7 kB / 429.1 MB, free: 124 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.1069, allocations: 116.5 kB / 429.2 MB, free: 4 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.1072, allocations: 199.4 kB / 429.4 MB, free: 15.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.1072, allocations: 0 / 429.4 MB, free: 15.8 MB / 426.7 MB Notification: Performance of Templates: time 0.03055/0.1378, allocations: 27.47 MB / 456.8 MB, free: 4.527 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.516137300990522]