Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.000883/0.000883, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009634/0.001846, 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.8996/0.8996, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1809/1.081, allocations: 53.64 MB / 241.9 MB, free: 2.734 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.001568/0.001568, allocations: 153.1 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.003213, allocations: 489.5 kB / 243.2 MB, free: 1.414 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.4475/0.4475, allocations: 88.97 MB / 332.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04873/0.4962, allocations: 30.21 MB / 363.2 MB, free: 3.23 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 364.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.839e-06/1.148e-05, allocations: 2.312 kB / 364.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004817/0.004829, allocations: 6.407 MB / 370.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.007399, allocations: 2.209 MB / 373.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.007696, allocations: 15.94 kB / 373.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.008171, allocations: 261.8 kB / 373.4 MB, free: 9.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.009489, allocations: 0.9066 MB / 374.3 MB, free: 8.113 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009039/0.01039, allocations: 0.6665 MB / 374.9 MB, free: 7.445 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.0115, allocations: 1.674 MB / 376.6 MB, free: 5.766 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.01177, allocations: 228.9 kB / 376.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009448/0.01271, allocations: 1.177 MB / 378 MB, free: 4.336 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.0133, allocations: 0.7088 MB / 378.7 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.01343, allocations: 132 kB / 378.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.01378, allocations: 295.7 kB / 379.1 MB, free: 3.207 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.01396, allocations: 239.1 kB / 379.4 MB, free: 2.973 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.01424, allocations: 363.1 kB / 379.7 MB, free: 2.617 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008934/0.01513, allocations: 1.156 MB / 380.9 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.01514, allocations: 0 / 380.9 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01514, allocations: 0 / 380.9 MB, free: 1.457 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.01516, allocations: 0 / 380.9 MB, free: 1.457 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.004227/0.01939, allocations: 3.049 MB / 383.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.01942, allocations: 8.031 kB / 383.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.02188, allocations: 0.987 MB / 384.9 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.02258, allocations: 0.6094 MB / 385.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.02273, allocations: 281.9 kB / 385.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.02283, allocations: 87.94 kB / 385.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.02353, allocations: 0.7158 MB / 386.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.02354, allocations: 0 / 386.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.02359, allocations: 32 kB / 386.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.0236, allocations: 19.94 kB / 386.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.02405, allocations: 370.3 kB / 387 MB, free: 11.14 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.002584/0.02664, allocations: 1.941 MB / 389 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.0287, allocations: 1.185 MB / 390.1 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.02896, allocations: 261.1 kB / 390.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.02903, allocations: 32.92 kB / 390.4 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/0.0295, allocations: 0.5018 MB / 390.9 MB, free: 7.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 1.913e-06/0.0295, allocations: 0 / 390.9 MB, free: 7.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=107): time 0.009331/0.03883, allocations: 4.629 MB / 395.6 MB, free: 2.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.03887, allocations: 94.11 kB / 395.7 MB, free: 2.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.03944, allocations: 0.8813 MB / 396.5 MB, free: 1.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.0395, allocations: 45.7 kB / 396.6 MB, free: 1.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.03967, allocations: 367.5 kB / 396.9 MB, free: 1.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.03989, allocations: 408.5 kB / 397.3 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.04018, allocations: 299.3 kB / 397.6 MB, free: 324 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.04025, allocations: 305.1 kB / 397.9 MB, free: 16 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.04077, allocations: 406.2 kB / 398.3 MB, free: 15.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.04135, allocations: 0.5745 MB / 398.9 MB, free: 14.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.04239, allocations: 1.034 MB / 399.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.0424, allocations: 0 / 399.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004673/0.04707, allocations: 2.835 MB / 402.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.04712, allocations: 59.41 kB / 402.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.04713, allocations: 8 kB / 402.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003931/0.05106, allocations: 1.64 MB / 404.5 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.05188, allocations: 379.2 kB / 404.8 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005067/0.05695, allocations: 3.66 MB / 408.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.05764, allocations: 179.1 kB / 408.7 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.05771, allocations: 43.97 kB / 408.7 MB, free: 4.945 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 (174): * Single equations (assignments): 171 * 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 {(18,17,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.05797, allocations: 220 kB / 408.9 MB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.05811, allocations: 115.8 kB / 409.1 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.06186, allocations: 2.293 MB / 411.3 MB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.06186, allocations: 8 kB / 411.4 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.06187, allocations: 8 kB / 411.4 MB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.06188, allocations: 15.89 kB / 411.4 MB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004491/0.06637, allocations: 2.987 MB / 414.4 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.06637, allocations: 0 / 414.4 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.06671, allocations: 131.8 kB / 414.5 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.06684, allocations: 130.9 kB / 414.6 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/0.07032, allocations: 1.555 MB / 416.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.07038, allocations: 27.94 kB / 416.2 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004804/0.07518, allocations: 4.596 MB / 420.8 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.07519, allocations: 0 / 420.8 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.07925, allocations: 2.646 MB / 423.4 MB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.07936, allocations: 20 kB / 423.5 MB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.07976, allocations: 87.92 kB / 423.5 MB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.08005, allocations: 200.5 kB / 423.7 MB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.08009, allocations: 20 kB / 423.8 MB, free: 5.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003254/0.08042, allocations: 455.7 kB / 424.2 MB, free: 5.109 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08042, allocations: 0 / 424.2 MB, free: 5.109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008115/0.08123, allocations: 491.7 kB / 424.7 MB, free: 4.629 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (78): * Single equations (assignments): 73 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002206/0.08145, allocations: 138.8 kB / 424.8 MB, free: 4.488 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.08364, allocations: 1.673 MB / 426.5 MB, free: 2.758 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.349e-05/0.08366, allocations: 16 kB / 426.5 MB, free: 2.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.08514, allocations: 1.134 MB / 427.6 MB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.0857, allocations: 231.6 kB / 427.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008483/0.09418, allocations: 2.131 MB / 430 MB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.0944, allocations: 252.8 kB / 430.3 MB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.09467, allocations: 116.6 kB / 430.4 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.09498, allocations: 207.3 kB / 430.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.09498, allocations: 0 / 430.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of Templates: time 0.027/0.122, allocations: 28.33 MB / 458.9 MB, free: 2.434 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6504073534160852]