Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0009314/0.0009314, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.9021/0.9021, allocations: 177.2 MB / 200.3 MB, free: 5.336 MB / 186.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.001143/0.001143, allocations: 164.8 kB / 257 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3994/0.3994, allocations: 80.24 MB / 340.5 MB, free: 9.582 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 383.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.694e-05, allocations: 2.312 kB / 383.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005169/0.005186, allocations: 6.28 MB / 390.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.008038, allocations: 2.106 MB / 392.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.008357, allocations: 8 kB / 392.2 MB, free: 6.266 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.009028, allocations: 253.8 kB / 392.4 MB, free: 6.016 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.01022, allocations: 0.9118 MB / 393.4 MB, free: 5.102 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.01095, allocations: 0.6508 MB / 394 MB, free: 4.449 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.01204, allocations: 1.666 MB / 395.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.01232, allocations: 217 kB / 395.9 MB, free: 2.543 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.01305, allocations: 0.9662 MB / 396.8 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.01362, allocations: 0.7243 MB / 397.6 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.01375, allocations: 132 kB / 397.7 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.01405, allocations: 279.8 kB / 398 MB, free: 456 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.01425, allocations: 358.5 kB / 398.3 MB, free: 96 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.01455, allocations: 482.5 kB / 398.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.0156, allocations: 1.276 MB / 400.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.0156, allocations: 8 kB / 400.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01561, allocations: 0 / 400.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.01562, allocations: 0 / 400.1 MB, free: 14.33 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003977/0.01959, allocations: 2.728 MB / 402.8 MB, free: 11.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.01963, allocations: 8.031 kB / 402.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.02212, allocations: 0.987 MB / 403.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.02281, allocations: 0.6016 MB / 404.4 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.02297, allocations: 333.3 kB / 404.7 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.02308, allocations: 87.95 kB / 404.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.02377, allocations: 0.7079 MB / 405.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.02378, allocations: 0 / 405.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.02384, allocations: 31.94 kB / 405.6 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.02385, allocations: 23.94 kB / 405.6 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.02429, allocations: 346.3 kB / 405.9 MB, free: 8.32 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.002726/0.02702, allocations: 1.915 MB / 407.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.02908, allocations: 1.182 MB / 409 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.02934, allocations: 242.3 kB / 409.3 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/0.02942, allocations: 25 kB / 409.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.02984, allocations: 496.6 kB / 409.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 2.023e-06/0.02984, allocations: 0 / 409.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=98): time 0.009394/0.03923, allocations: 4.535 MB / 414.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.03928, allocations: 123.8 kB / 414.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.03983, allocations: 0.8775 MB / 415.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.03989, allocations: 45.69 kB / 415.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.04004, allocations: 371.4 kB / 415.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.04024, allocations: 388.7 kB / 416.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/0.04052, allocations: 287.3 kB / 416.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.04058, allocations: 309.1 kB / 416.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.04108, allocations: 394.1 kB / 417 MB, free: 12.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.04164, allocations: 0.5587 MB / 417.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.04322, allocations: 1.54 MB / 419.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.04322, allocations: 11.94 kB / 419.2 MB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004652/0.04787, allocations: 2.776 MB / 421.9 MB, free: 7.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.04791, allocations: 63.41 kB / 422 MB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.04792, allocations: 4 kB / 422 MB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003809/0.05173, allocations: 1.62 MB / 423.6 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.05235, allocations: 287.6 kB / 423.9 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00482/0.05717, allocations: 3.548 MB / 427.4 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.05778, allocations: 167.1 kB / 427.6 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/0.05785, allocations: 47.97 kB / 427.7 MB, free: 2.082 MB / 394.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * 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.0002892/0.05814, allocations: 223 kB / 427.9 MB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.05827, allocations: 107.9 kB / 428 MB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/0.06212, allocations: 2.306 MB / 430.3 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.06213, allocations: 8 kB / 430.3 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.06214, allocations: 15.94 kB / 430.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.06215, allocations: 3.984 kB / 430.3 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004595/0.06674, allocations: 2.999 MB / 433.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.06675, allocations: 0 / 433.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.06703, allocations: 103.9 kB / 433.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004647/0.07167, allocations: 1.6 MB / 435 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.07173, allocations: 19.94 kB / 435 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00776/0.07949, allocations: 4.772 MB / 439.8 MB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.07949, allocations: 3.938 kB / 439.8 MB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/0.08639, allocations: 2.654 MB / 442.5 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.08654, allocations: 122.9 kB / 442.6 MB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.08664, allocations: 23.98 kB / 442.6 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.08707, allocations: 75.88 kB / 442.7 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/0.08736, allocations: 200.5 kB / 442.9 MB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.0874, allocations: 20 kB / 442.9 MB, free: 2.488 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003438/0.08775, allocations: 459.7 kB / 443.3 MB, free: 2.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08775, allocations: 0 / 443.3 MB, free: 2.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008861/0.08863, allocations: 487.7 kB / 443.8 MB, free: 1.555 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.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/0.08884, allocations: 128.2 kB / 443.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.187/0.2758, allocations: 1.646 MB / 445.6 MB, free: 64.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-05/0.2758, allocations: 12 kB / 445.6 MB, free: 64.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.2778, allocations: 1.106 MB / 446.7 MB, free: 64.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.2786, allocations: 132.9 kB / 446.8 MB, free: 64.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.282, allocations: 2.085 MB / 448.9 MB, free: 63.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.2824, allocations: 248 kB / 449.2 MB, free: 63.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003783/0.2828, allocations: 115.2 kB / 449.3 MB, free: 63.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.2831, allocations: 190 kB / 449.5 MB, free: 63.15 MB / 410.7 MB Notification: Performance of SimCode: time 2.635e-06/0.2831, allocations: 0 / 449.5 MB, free: 63.15 MB / 410.7 MB Notification: Performance of Templates: time 0.02806/0.3112, allocations: 27.71 MB / 477.2 MB, free: 44 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.800136214122176]