Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001242/0.001242, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.328/1.328, allocations: 230.6 MB / 253.4 MB, free: 8.051 MB / 206.1 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.001501/0.001501, allocations: 216.7 kB / 310 MB, free: 3.078 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.5168/0.5168, allocations: 101.3 MB / 467.8 MB, free: 10.19 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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.002365/0.002365, allocations: 83.88 kB / 0.6257 GB, free: 12.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3929, allocations: 78.6 MB / 0.7025 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01004/0.403, allocations: 13.73 MB / 0.7159 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00814/0.4111, allocations: 3.535 MB / 0.7193 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003163/0.4143, allocations: 32.28 kB / 0.7194 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.4165, allocations: 0.5549 MB / 0.7199 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006074/0.4226, allocations: 1.589 MB / 0.7215 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.4269, allocations: 1.515 MB / 0.7229 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006666/0.4336, allocations: 3.775 MB / 0.7266 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.4351, allocations: 0.6126 MB / 0.7272 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.4385, allocations: 1.579 MB / 0.7288 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00455/0.443, allocations: 1.989 MB / 0.7307 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001654/0.4447, allocations: 290.3 kB / 0.731 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.4469, allocations: 455.5 kB / 0.7314 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.4486, allocations: 0.7658 MB / 0.7322 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004001/0.4526, allocations: 1.633 MB / 0.7338 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007783/0.4603, allocations: 4.015 MB / 0.7377 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4603, allocations: 0 / 0.7377 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4604, allocations: 0 / 0.7377 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001729/0.4605, allocations: 0 / 0.7377 GB, free: 2.707 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02672/0.4872, allocations: 7.389 MB / 0.7449 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4873, allocations: 8.812 kB / 0.7449 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/0.5027, allocations: 2.321 MB / 0.7472 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004526/0.5073, allocations: 1.8 MB / 0.7489 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008505/0.5081, allocations: 0.8271 MB / 0.7497 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005153/0.5086, allocations: 217.3 kB / 0.7499 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006333/0.515, allocations: 3.034 MB / 0.7529 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.515, allocations: 0 / 0.7529 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.5152, allocations: 88.95 kB / 0.753 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.5153, allocations: 50.12 kB / 0.753 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005988/0.5213, allocations: 2.785 MB / 0.7558 GB, free: 7.934 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.01982/0.5411, allocations: 9.718 MB / 0.7652 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.5516, allocations: 3.52 MB / 0.7687 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004176/0.5557, allocations: 1.78 MB / 0.7704 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.556, allocations: 33.97 kB / 0.7705 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004858/0.5609, allocations: 2.236 MB / 0.7726 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=247): time 4.949e-06/0.5609, allocations: 4 kB / 0.7726 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=247): time 0.1213/0.6822, allocations: 29.15 MB / 0.8011 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.6823, allocations: 180.2 kB / 0.8013 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/0.6865, allocations: 2.293 MB / 0.8035 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000455/0.687, allocations: 73.69 kB / 0.8036 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.6881, allocations: 1.193 MB / 0.8048 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.6894, allocations: 0.9063 MB / 0.8056 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.6908, allocations: 0.558 MB / 0.8062 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6909, allocations: 301.1 kB / 0.8065 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004363/0.6953, allocations: 1.951 MB / 0.8084 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004716/0.7, allocations: 2.31 MB / 0.8106 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05567/0.7557, allocations: 14.32 MB / 0.8246 GB, free: 2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.7557, allocations: 0 / 0.8246 GB, free: 2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04222/0.7979, allocations: 12.22 MB / 0.8365 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.798, allocations: 118.8 kB / 0.8367 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.798, allocations: 11.94 kB / 0.8367 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01808/0.8161, allocations: 5.313 MB / 0.8419 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.8191, allocations: 0.5656 MB / 0.8424 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06295/0.8821, allocations: 23.41 MB / 0.8653 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/0.8867, allocations: 0.49 MB / 0.8657 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006765/0.8873, allocations: 120 kB / 0.8659 GB, free: 7.527 MB / 0.6231 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001788/0.8891, allocations: 0.5294 MB / 0.8664 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.8902, allocations: 314 kB / 0.8667 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0404/0.9306, allocations: 11.81 MB / 0.8782 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/0.9307, allocations: 28 kB / 0.8782 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.314e-05/0.9307, allocations: 16 kB / 0.8783 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-05/0.9308, allocations: 15.95 kB / 0.8783 GB, free: 10.75 MB / 0.6387 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.04702/0.9778, allocations: 15.38 MB / 0.8933 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/0.9778, allocations: 4.062 kB / 0.8933 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.9795, allocations: 243.6 kB / 0.8935 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01874/0.9982, allocations: 5.279 MB / 0.8987 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007033/0.9989, allocations: 51.98 kB / 0.8987 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06078/1.06, allocations: 24.68 MB / 0.9228 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.06, allocations: 3.984 kB / 0.9228 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04522/1.105, allocations: 14.19 MB / 0.9367 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.106, allocations: 349.5 kB / 0.937 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009042/1.107, allocations: 44 kB / 0.9371 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003471/1.11, allocations: 299.6 kB / 0.9374 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002077/1.112, allocations: 0.6073 MB / 0.9379 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000319/1.113, allocations: 63.98 kB / 0.938 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002741/1.116, allocations: 1.507 MB / 0.9395 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/1.116, allocations: 0 / 0.9395 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003658/1.119, allocations: 1.179 MB / 0.9406 GB, free: 10.21 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004681/1.12, allocations: 190.8 kB / 0.9408 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01774/1.137, allocations: 6.39 MB / 0.9471 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.137, allocations: 1.75 kB / 0.9471 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01297/1.15, allocations: 4.233 MB / 0.9512 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.153, allocations: 259.3 kB / 0.9514 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.163, allocations: 5.45 MB / 0.9568 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/1.165, allocations: 1.81 MB / 0.9585 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008478/1.166, allocations: 183.4 kB / 0.9587 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/1.166, allocations: 0 / 0.9587 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of Templates: time 0.3278/1.494, allocations: 64.63 MB / 1.022 GB, free: 230.2 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.52767062583007] Failed to read output from testmodel.py, exit status != 0: 1.5023289998061955 1.510814469 1.048201392 Calling exit ...