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.0009283/0.0009283, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.002125, 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.8848/0.8848, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1535/1.038, allocations: 53.65 MB / 241.9 MB, free: 2.719 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.0007768/0.0007768, allocations: 155.3 kB / 242.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001778, allocations: 479.6 kB / 243.2 MB, free: 1.402 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.4255/0.4255, allocations: 88.97 MB / 332.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04441/0.4699, allocations: 30.21 MB / 363.2 MB, free: 3.207 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.372e-06/1.372e-06, allocations: 0 / 364.5 MB, free: 1.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.726e-05, allocations: 2.312 kB / 364.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006505/0.006522, allocations: 6.278 MB / 370.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.00923, allocations: 2.19 MB / 372.9 MB, free: 9.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.009534, allocations: 8 kB / 372.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.009973, allocations: 257.8 kB / 373.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.01113, allocations: 0.887 MB / 374.1 MB, free: 8.281 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.01195, allocations: 0.6587 MB / 374.7 MB, free: 7.621 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.01299, allocations: 1.615 MB / 376.4 MB, free: 6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.01326, allocations: 224.8 kB / 376.6 MB, free: 5.766 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009247/0.01419, allocations: 1.134 MB / 377.7 MB, free: 4.617 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.01474, allocations: 0.6893 MB / 378.4 MB, free: 3.926 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.01487, allocations: 124 kB / 378.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.01522, allocations: 283.8 kB / 378.8 MB, free: 3.527 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.0154, allocations: 235.1 kB / 379 MB, free: 3.297 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.01567, allocations: 355.1 kB / 379.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008599/0.01653, allocations: 1.117 MB / 380.5 MB, free: 1.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.01654, allocations: 0 / 380.5 MB, free: 1.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01655, allocations: 0 / 380.5 MB, free: 1.828 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.01656, allocations: 0 / 380.5 MB, free: 1.828 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.004015/0.02058, allocations: 2.983 MB / 383.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.02061, allocations: 8.75 kB / 383.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.02309, allocations: 0.987 MB / 384.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.02379, allocations: 0.5897 MB / 385.1 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.02402, allocations: 281.8 kB / 385.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.02413, allocations: 95.92 kB / 385.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.0248, allocations: 0.7041 MB / 386.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.02482, allocations: 0 / 386.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.02487, allocations: 39.92 kB / 386.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.02488, allocations: 20 kB / 386.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.02534, allocations: 362.2 kB / 386.5 MB, free: 11.6 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.002542/0.02788, allocations: 1.914 MB / 388.5 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.02998, allocations: 1.173 MB / 389.6 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.03024, allocations: 264.9 kB / 389.9 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/0.03031, allocations: 21 kB / 389.9 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004483/0.03076, allocations: 0.4941 MB / 390.4 MB, free: 7.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=105): time 2.064e-06/0.03076, allocations: 0 / 390.4 MB, free: 7.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.00916/0.03992, allocations: 4.516 MB / 394.9 MB, free: 3.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.03996, allocations: 98.03 kB / 395 MB, free: 2.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005156/0.04047, allocations: 0.8531 MB / 395.9 MB, free: 2.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.04053, allocations: 53.73 kB / 395.9 MB, free: 2.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.04069, allocations: 375.3 kB / 396.3 MB, free: 1.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.04089, allocations: 388.7 kB / 396.7 MB, free: 1.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.04116, allocations: 291.3 kB / 397 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.04122, allocations: 301.1 kB / 397.2 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.04169, allocations: 394.1 kB / 397.6 MB, free: 288 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.04224, allocations: 0.555 MB / 398.2 MB, free: 15.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.04324, allocations: 1.022 MB / 399.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.04325, allocations: 0 / 399.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004421/0.04767, allocations: 2.743 MB / 402 MB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.04771, allocations: 59.41 kB / 402 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.04772, allocations: 4 kB / 402 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003754/0.05147, allocations: 1.584 MB / 403.6 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.05226, allocations: 370.8 kB / 404 MB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/0.05705, allocations: 3.503 MB / 407.5 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006333/0.05768, allocations: 171.1 kB / 407.6 MB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.05775, allocations: 47.97 kB / 407.7 MB, free: 5.984 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.0002599/0.05801, allocations: 220 kB / 407.9 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.05813, allocations: 103.9 kB / 408 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.0619, allocations: 2.279 MB / 410.3 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.06191, allocations: 12 kB / 410.3 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.06192, allocations: 8 kB / 410.3 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.06192, allocations: 3.984 kB / 410.3 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004455/0.06638, allocations: 2.972 MB / 413.3 MB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.06638, allocations: 0 / 413.3 MB, free: 300 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.0667, allocations: 131.8 kB / 413.4 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.06683, allocations: 126.9 kB / 413.5 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003991/0.07082, allocations: 1.551 MB / 415.1 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.07087, allocations: 24 kB / 415.1 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/0.07555, allocations: 4.615 MB / 419.7 MB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.07555, allocations: 0 / 419.7 MB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/0.07966, allocations: 2.627 MB / 422.3 MB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.07977, allocations: 27.98 kB / 422.4 MB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.08016, allocations: 71.94 kB / 422.4 MB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/0.08045, allocations: 200.5 kB / 422.6 MB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.0805, allocations: 24 kB / 422.7 MB, free: 6.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003128/0.08081, allocations: 443 kB / 423.1 MB, free: 6.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.08081, allocations: 0 / 423.1 MB, free: 6.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008665/0.08168, allocations: 487.5 kB / 423.6 MB, free: 5.746 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.00022/0.0819, allocations: 134.5 kB / 423.7 MB, free: 5.609 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.08394, allocations: 1.63 MB / 425.3 MB, free: 3.922 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.051e-05/0.08396, allocations: 24 kB / 425.3 MB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.08523, allocations: 1.093 MB / 426.4 MB, free: 2.754 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.0857, allocations: 224.8 kB / 426.7 MB, free: 2.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008316/0.09401, allocations: 2.084 MB / 428.7 MB, free: 424 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.09418, allocations: 244.7 kB / 429 MB, free: 152 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000245/0.09442, allocations: 116.5 kB / 429.1 MB, free: 32 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.09472, allocations: 199.3 kB / 429.3 MB, free: 15.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.09473, allocations: 0 / 429.3 MB, free: 15.84 MB / 426.7 MB Notification: Performance of Templates: time 0.02607/0.1208, allocations: 27.46 MB / 456.8 MB, free: 4.562 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.4906222773715854]