Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0006689/0.0006689, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009067/0.001576, 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.8509/0.8509, allocations: 177.2 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1676/1.018, allocations: 53.64 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.00111/0.00111, allocations: 147.2 kB / 242.8 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001335/0.002445, allocations: 478.5 kB / 243.2 MB, free: 1.418 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.4712/0.4712, allocations: 88.98 MB / 333 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06069/0.5319, allocations: 30.21 MB / 363.2 MB, free: 3.191 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 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 364.5 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.506e-05, allocations: 2.312 kB / 364.5 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006349/0.006364, allocations: 6.458 MB / 370.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.009783, allocations: 2.236 MB / 373.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004476/0.01023, allocations: 12 kB / 373.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.01071, allocations: 257.8 kB / 373.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.01206, allocations: 0.918 MB / 374.4 MB, free: 7.992 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008756/0.01294, allocations: 0.6704 MB / 375 MB, free: 7.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.01418, allocations: 1.709 MB / 376.7 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.01449, allocations: 228.9 kB / 377 MB, free: 5.359 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.01571, allocations: 1.193 MB / 378.2 MB, free: 4.152 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000762/0.01648, allocations: 0.7243 MB / 378.9 MB, free: 3.426 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.01666, allocations: 132 kB / 379 MB, free: 3.297 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.01705, allocations: 303.7 kB / 379.3 MB, free: 3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.01723, allocations: 243.1 kB / 379.5 MB, free: 2.762 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.01752, allocations: 371.1 kB / 379.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009413/0.01846, allocations: 1.167 MB / 381.1 MB, free: 1.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495e-05/0.01848, allocations: 4 kB / 381.1 MB, free: 1.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01848, allocations: 0 / 381.1 MB, free: 1.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.0185, allocations: 0 / 381.1 MB, free: 1.223 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004402/0.0229, allocations: 3.084 MB / 384.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.02293, allocations: 11.98 kB / 384.2 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.02554, allocations: 0.9831 MB / 385.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007502/0.02629, allocations: 0.6096 MB / 385.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.02644, allocations: 281.9 kB / 386 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.02655, allocations: 84 kB / 386.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.02727, allocations: 0.7197 MB / 386.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.02728, allocations: 0 / 386.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.02733, allocations: 36 kB / 386.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.02735, allocations: 23.94 kB / 386.9 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.02783, allocations: 374.2 kB / 387.3 MB, free: 10.86 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.002702/0.03053, allocations: 1.945 MB / 389.2 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.03265, allocations: 1.189 MB / 390.4 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.03292, allocations: 265.1 kB / 390.7 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.659e-05/0.033, allocations: 24.98 kB / 390.7 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004756/0.03347, allocations: 0.5057 MB / 391.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 2.264e-06/0.03348, allocations: 3.938 kB / 391.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.009436/0.04291, allocations: 4.492 MB / 395.7 MB, free: 2.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.04295, allocations: 90.11 kB / 395.8 MB, free: 2.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.04354, allocations: 0.8856 MB / 396.7 MB, free: 1.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.0436, allocations: 57.73 kB / 396.7 MB, free: 1.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.0438, allocations: 371.5 kB / 397.1 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.04403, allocations: 408.5 kB / 397.5 MB, free: 452 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.04435, allocations: 307.3 kB / 397.8 MB, free: 140 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.04444, allocations: 305.1 kB / 398.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.04497, allocations: 410.1 kB / 398.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.04556, allocations: 0.5783 MB / 399 MB, free: 14.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.04671, allocations: 1.058 MB / 400.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.04671, allocations: 0 / 400.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004694/0.05141, allocations: 2.833 MB / 402.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.054e-05/0.05147, allocations: 63.39 kB / 403 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.05148, allocations: 4 kB / 403 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/0.05544, allocations: 1.623 MB / 404.6 MB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008634/0.05631, allocations: 389.6 kB / 405 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005151/0.06146, allocations: 3.575 MB / 408.6 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.0622, allocations: 175.1 kB / 408.8 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.06228, allocations: 43.97 kB / 408.8 MB, free: 4.832 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 (179): * Single equations (assignments): 176 * 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,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000276/0.06255, allocations: 228 kB / 409 MB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.06269, allocations: 111.9 kB / 409.1 MB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.06655, allocations: 2.295 MB / 411.4 MB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.06656, allocations: 15.98 kB / 411.4 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.06657, allocations: 4 kB / 411.4 MB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.06658, allocations: 7.984 kB / 411.5 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004822/0.0714, allocations: 3.003 MB / 414.5 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.07141, allocations: 3.938 kB / 414.5 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.07177, allocations: 139.7 kB / 414.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.07191, allocations: 126.9 kB / 414.7 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003481/0.07539, allocations: 1.563 MB / 416.3 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.07546, allocations: 20 kB / 416.3 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/0.08028, allocations: 4.595 MB / 420.9 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.08028, allocations: 7.938 kB / 420.9 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/0.08434, allocations: 2.658 MB / 423.6 MB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.08445, allocations: 24 kB / 423.6 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.08488, allocations: 83.92 kB / 423.7 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.08518, allocations: 196.6 kB / 423.9 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.08522, allocations: 20 kB / 423.9 MB, free: 5.402 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003383/0.08556, allocations: 463.9 kB / 424.3 MB, free: 4.941 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08556, allocations: 0 / 424.3 MB, free: 4.941 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009163/0.08648, allocations: 0.4918 MB / 424.8 MB, free: 4.449 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (79): * Single equations (assignments): 74 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002262/0.0867, allocations: 142.5 kB / 425 MB, free: 4.309 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.08893, allocations: 1.685 MB / 426.6 MB, free: 2.566 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.091e-05/0.08895, allocations: 16 kB / 426.7 MB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.0903, allocations: 1.143 MB / 427.8 MB, free: 1.359 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.09088, allocations: 222.7 kB / 428 MB, free: 1.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008367/0.09925, allocations: 2.172 MB / 430.2 MB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.09942, allocations: 256.8 kB / 430.4 MB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.09968, allocations: 124.8 kB / 430.6 MB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.09999, allocations: 199.3 kB / 430.8 MB, free: 14.33 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.09999, allocations: 0 / 430.8 MB, free: 14.33 MB / 426.7 MB Notification: Performance of Templates: time 0.02998/0.13, allocations: 28.48 MB / 459.2 MB, free: 2.059 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6051281644031405]