Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.001387/0.001387, allocations: 81.06 kB / 19.18 MB, free: 2.527 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.369/1.369, allocations: 177.1 MB / 199.4 MB, free: 8.445 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.001643/0.001643, allocations: 158.7 kB / 256 MB, free: 4.32 MB / 238.1 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.6057/0.6057, allocations: 80.25 MB / 392.6 MB, free: 29.75 MB / 334.1 MB " [Timeout remaining time 179] 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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.5554 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.555e-05, allocations: 7.516 kB / 0.5554 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01788/0.01791, allocations: 18.49 MB / 0.5735 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.03294, allocations: 4.836 MB / 0.5782 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006893/0.03984, allocations: 47.91 kB / 0.5782 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005192/0.04503, allocations: 0.8804 MB / 0.5791 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01282/0.05785, allocations: 2.349 MB / 0.5814 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008009/0.06586, allocations: 2.086 MB / 0.5834 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01406/0.07992, allocations: 5.86 MB / 0.5891 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.08353, allocations: 0.861 MB / 0.59 GB, free: 2.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/0.09421, allocations: 3.315 MB / 0.5932 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005979/0.1002, allocations: 2.262 MB / 0.5954 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002253/0.1024, allocations: 436 kB / 0.5958 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/0.1063, allocations: 0.5896 MB / 0.5964 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002591/0.1089, allocations: 1.178 MB / 0.5976 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004952/0.1139, allocations: 1.717 MB / 0.5993 GB, free: 9.176 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.1288, allocations: 6.318 MB / 0.6054 GB, free: 2.836 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.1288, allocations: 7.938 kB / 0.6054 GB, free: 2.828 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1288, allocations: 0 / 0.6054 GB, free: 2.828 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003574/0.1292, allocations: 0 / 0.6054 GB, free: 2.828 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.04087/0.17, allocations: 9.837 MB / 0.615 GB, free: 8.902 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.1701, allocations: 8.031 kB / 0.615 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02998/0.2001, allocations: 4.055 MB / 0.619 GB, free: 4.832 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00801/0.2081, allocations: 2.563 MB / 0.6215 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001482/0.2096, allocations: 1.033 MB / 0.6225 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002144/0.2117, allocations: 352 kB / 0.6229 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/0.2327, allocations: 4.748 MB / 0.6275 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.2328, allocations: 3.984 kB / 0.6275 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001884/0.2347, allocations: 148 kB / 0.6276 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.2348, allocations: 87.94 kB / 0.6277 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.2483, allocations: 4.245 MB / 0.6319 GB, free: 7.375 MB / 494.1 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.04618/0.2945, allocations: 13.05 MB / 0.6446 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/0.3105, allocations: 4.357 MB / 0.6489 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007744/0.3183, allocations: 2.5 MB / 0.6513 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008187/0.3191, allocations: 62.89 kB / 0.6514 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009799/0.3289, allocations: 3.194 MB / 0.6545 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=383): time 1.237e-05/0.3289, allocations: 0 / 0.6545 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=383): time 0.6466/0.9755, allocations: 67.82 MB / 0.7207 GB, free: 137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.9756, allocations: 152.6 kB / 0.7209 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006932/0.9826, allocations: 3.211 MB / 0.724 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001202/0.9838, allocations: 86.95 kB / 0.7241 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.9852, allocations: 2.004 MB / 0.726 GB, free: 136 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/0.987, allocations: 1.361 MB / 0.7274 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/0.9885, allocations: 0.6578 MB / 0.728 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.9886, allocations: 305.1 kB / 0.7283 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00614/0.9947, allocations: 2.623 MB / 0.7309 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006634/1.001, allocations: 3.257 MB / 0.734 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07675/1.078, allocations: 18.96 MB / 0.7526 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.385e-05/1.078, allocations: 3.844 kB / 0.7526 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.05902/1.137, allocations: 17.17 MB / 0.7693 GB, free: 113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.137, allocations: 63.41 kB / 0.7694 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.907e-05/1.137, allocations: 12 kB / 0.7694 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02637/1.164, allocations: 7.148 MB / 0.7764 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/1.167, allocations: 0.6631 MB / 0.777 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09226/1.26, allocations: 32.3 MB / 0.8086 GB, free: 72.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007289/1.267, allocations: 0.6208 MB / 0.8092 GB, free: 72.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/1.268, allocations: 163.7 kB / 0.8093 GB, free: 71.98 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (396): * Single equations (assignments): 393 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003975/1.272, allocations: 0.6666 MB / 0.81 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00213/1.274, allocations: 473 kB / 0.8104 GB, free: 70.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05705/1.331, allocations: 16.74 MB / 0.8268 GB, free: 54.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.31e-05/1.332, allocations: 36 kB / 0.8268 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-05/1.332, allocations: 28 kB / 0.8268 GB, free: 53.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001181/1.332, allocations: 23.86 kB / 0.8269 GB, free: 53.94 MB / 0.5606 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.06256/1.394, allocations: 20.01 MB / 0.8464 GB, free: 33.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/1.394, allocations: 0 / 0.8464 GB, free: 33.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/1.397, allocations: 399.4 kB / 0.8468 GB, free: 33.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02645/1.423, allocations: 7.329 MB / 0.854 GB, free: 26.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001269/1.425, allocations: 80.03 kB / 0.854 GB, free: 26.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08928/1.514, allocations: 30.69 MB / 0.884 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.514, allocations: 0 / 0.884 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0846/1.598, allocations: 20.15 MB / 0.9037 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/1.601, allocations: 0.5046 MB / 0.9042 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002574/1.603, allocations: 62.81 kB / 0.9042 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006536/1.61, allocations: 379.5 kB / 0.9046 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004863/1.615, allocations: 0.8152 MB / 0.9054 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001181/1.616, allocations: 95.98 kB / 0.9055 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005799/1.621, allocations: 2.093 MB / 0.9075 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.621, allocations: 0 / 0.9075 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01204/1.634, allocations: 1.8 MB / 0.9093 GB, free: 1.387 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00229/1.636, allocations: 200.2 kB / 0.9095 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03376/1.67, allocations: 8.817 MB / 0.9181 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.67, allocations: 0 / 0.9181 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02548/1.695, allocations: 5.87 MB / 0.9238 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0079/1.703, allocations: 380.3 kB / 0.9242 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02526/1.728, allocations: 7.894 MB / 0.9319 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00432/1.733, allocations: 1.927 MB / 0.9338 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002663/1.735, allocations: 375.1 kB / 0.9341 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.737, allocations: 252.4 kB / 0.9344 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of SimCode: time 1.733e-06/1.737, allocations: 0 / 0.9344 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of Templates: time 0.4429/2.18, allocations: 96.6 MB / 1.029 GB, free: 164.5 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.416781019419432] Failed to read output from testmodel.py, exit status != 0: 2.1910245157778263 2.202546851 2.071010165 Calling exit ...