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.00176/0.00176, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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 1.393/1.393, allocations: 177.2 MB / 200.1 MB, free: 8.379 MB / 190.1 MB " [Timeout remaining time 178] 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.001653/0.001653, allocations: 161.2 kB / 256.6 MB, free: 4.301 MB / 238.1 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.6102/0.6102, allocations: 80.3 MB / 393.3 MB, free: 29.3 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003652/0.003652, allocations: 86.09 kB / 0.5558 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2055, allocations: 80.13 MB / 0.6341 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008531/0.214, allocations: 5.772 MB / 0.6397 GB, free: 304 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00539/0.2194, allocations: 1.92 MB / 0.6416 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.2206, allocations: 15.94 kB / 0.6416 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.2217, allocations: 234 kB / 0.6418 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.2248, allocations: 0.8529 MB / 0.6427 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.2265, allocations: 0.6128 MB / 0.6433 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002404/0.229, allocations: 1.608 MB / 0.6448 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.2295, allocations: 210.9 kB / 0.645 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.2307, allocations: 0.6886 MB / 0.6457 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.2317, allocations: 0.7698 MB / 0.6465 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.2319, allocations: 120 kB / 0.6466 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007531/0.2327, allocations: 271.9 kB / 0.6468 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003558/0.233, allocations: 326.6 kB / 0.6471 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006225/0.2337, allocations: 0.5477 MB / 0.6477 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.2358, allocations: 1.704 MB / 0.6493 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2358, allocations: 0 / 0.6493 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2358, allocations: 0 / 0.6493 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.2358, allocations: 7.875 kB / 0.6493 GB, free: 6.387 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.01004/0.2459, allocations: 2.812 MB / 0.6521 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2459, allocations: 12.03 kB / 0.6521 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/0.2513, allocations: 0.8069 MB / 0.6529 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.2531, allocations: 0.8268 MB / 0.6537 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004006/0.2535, allocations: 333.3 kB / 0.654 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.2537, allocations: 87.95 kB / 0.6541 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.256, allocations: 1.112 MB / 0.6552 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.2561, allocations: 0 / 0.6552 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.2562, allocations: 36 kB / 0.6552 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.2562, allocations: 16 kB / 0.6552 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.2584, allocations: 1.013 MB / 0.6562 GB, free: 15.16 MB / 0.5137 GB 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.006473/0.2649, allocations: 2.836 MB / 0.659 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007803/0.2727, allocations: 2.025 MB / 0.661 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.2743, allocations: 0.6441 MB / 0.6616 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.2744, allocations: 13 kB / 0.6616 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/0.2762, allocations: 0.8351 MB / 0.6624 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=95): time 3.667e-06/0.2762, allocations: 0 / 0.6624 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95): time 0.03109/0.3073, allocations: 7.064 MB / 0.6693 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3074, allocations: 111.8 kB / 0.6694 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.3095, allocations: 1.074 MB / 0.6705 GB, free: 368 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003023/0.3098, allocations: 41.7 kB / 0.6705 GB, free: 320 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/0.3104, allocations: 0.5014 MB / 0.671 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.3109, allocations: 372.9 kB / 0.6714 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.3114, allocations: 275.5 kB / 0.6716 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3115, allocations: 301.1 kB / 0.6719 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.3133, allocations: 0.7959 MB / 0.6727 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.3153, allocations: 0.9726 MB / 0.6736 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02624/0.3415, allocations: 5.738 MB / 0.6792 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.3415, allocations: 4 kB / 0.6792 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01511/0.3566, allocations: 4.36 MB / 0.6835 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.3568, allocations: 63.39 kB / 0.6836 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.3568, allocations: 7.938 kB / 0.6836 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006677/0.3635, allocations: 1.572 MB / 0.6851 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.3652, allocations: 271.6 kB / 0.6854 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/0.3882, allocations: 8.194 MB / 0.6934 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.3904, allocations: 191.1 kB / 0.6936 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/0.3907, allocations: 55.97 kB / 0.6936 GB, free: 8.332 MB / 0.545 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (153): * Single equations (assignments): 150 * 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,15,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009986/0.3917, allocations: 314.8 kB / 0.6939 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/0.3921, allocations: 127.2 kB / 0.694 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.4066, allocations: 3.87 MB / 0.6978 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.4066, allocations: 11.94 kB / 0.6978 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.819e-05/0.4066, allocations: 8 kB / 0.6978 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/0.4067, allocations: 3.984 kB / 0.6978 GB, free: 3.961 MB / 0.545 GB 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 postOpt removeSimpleEquations (simulation): time 0.01734/0.424, allocations: 4.896 MB / 0.7026 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.424, allocations: 0 / 0.7026 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/0.4248, allocations: 95.91 kB / 0.7027 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006223/0.431, allocations: 1.594 MB / 0.7043 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002391/0.4313, allocations: 20 kB / 0.7043 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02402/0.4553, allocations: 9.197 MB / 0.7133 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4553, allocations: 0 / 0.7133 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4271/0.8824, allocations: 4.761 MB / 0.7179 GB, free: 75.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.8831, allocations: 147.5 kB / 0.7181 GB, free: 75.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.8833, allocations: 22.72 kB / 0.7181 GB, free: 75.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.8846, allocations: 106.5 kB / 0.7182 GB, free: 75.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/0.8854, allocations: 202.4 kB / 0.7184 GB, free: 75.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.8855, allocations: 26.31 kB / 0.7184 GB, free: 75.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001495/0.887, allocations: 0.7174 MB / 0.7191 GB, free: 75.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.887, allocations: 1.344 kB / 0.7191 GB, free: 75.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002044/0.889, allocations: 485.5 kB / 0.7196 GB, free: 75.08 MB / 0.5606 GB 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.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 (63): * Single equations (assignments): 60 * 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.0002999/0.8893, allocations: 131.2 kB / 0.7197 GB, free: 74.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007324/0.8967, allocations: 2.436 MB / 0.7221 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8967, allocations: 4.578 kB / 0.7221 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005379/0.902, allocations: 1.558 MB / 0.7236 GB, free: 74.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.9034, allocations: 111.2 kB / 0.7237 GB, free: 74.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.9082, allocations: 2.26 MB / 0.7259 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008156/0.909, allocations: 0.5264 MB / 0.7264 GB, free: 72.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004745/0.9094, allocations: 120.6 kB / 0.7265 GB, free: 72.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.9097, allocations: 78.8 kB / 0.7266 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/0.9097, allocations: 0 / 0.7266 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.04337/0.9531, allocations: 25.91 MB / 0.7519 GB, free: 63.48 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.270216258941218] Failed to read output from testmodel.py, exit status != 0: 0.9635739939985797 0.971160719 0.732995572 Calling exit ...