Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.001454/0.001454, allocations: 79.03 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.448/1.448, allocations: 177.1 MB / 199.4 MB, free: 8.449 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.001706/0.001706, allocations: 164.6 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.5971/0.5971, allocations: 80.24 MB / 392.6 MB, free: 29.71 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5554 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.816e-05, allocations: 7.047 kB / 0.5554 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01528/0.01531, allocations: 18.4 MB / 0.5734 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.0311, allocations: 4.835 MB / 0.5781 GB, free: 13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008814/0.03991, allocations: 43.28 kB / 0.5781 GB, free: 13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004495/0.04441, allocations: 0.8732 MB / 0.579 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.05916, allocations: 2.357 MB / 0.5813 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009305/0.06846, allocations: 2.073 MB / 0.5833 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01298/0.08144, allocations: 5.852 MB / 0.589 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.08467, allocations: 0.8688 MB / 0.5899 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009624/0.09429, allocations: 3.315 MB / 0.5931 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005337/0.09963, allocations: 2.262 MB / 0.5953 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002155/0.1018, allocations: 436 kB / 0.5957 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.1048, allocations: 0.5935 MB / 0.5963 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.107, allocations: 1.17 MB / 0.5975 GB, free: 11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00459/0.1116, allocations: 1.721 MB / 0.5991 GB, free: 9.277 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.1239, allocations: 6.318 MB / 0.6053 GB, free: 2.938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1239, allocations: 0 / 0.6053 GB, free: 2.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1239, allocations: 0 / 0.6053 GB, free: 2.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003304/0.1243, allocations: 8 kB / 0.6053 GB, free: 2.93 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03718/0.1615, allocations: 9.833 MB / 0.6149 GB, free: 9.008 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1615, allocations: 8.031 kB / 0.6149 GB, free: 9 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02898/0.1905, allocations: 4.066 MB / 0.6189 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009563/0.2, allocations: 2.563 MB / 0.6214 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001619/0.2017, allocations: 1.04 MB / 0.6224 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/0.2037, allocations: 348 kB / 0.6228 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.2204, allocations: 4.748 MB / 0.6274 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.479e-05/0.2205, allocations: 0 / 0.6274 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009626/0.2215, allocations: 140 kB / 0.6275 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.487e-05/0.2216, allocations: 87.94 kB / 0.6276 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.2332, allocations: 4.245 MB / 0.6318 GB, free: 7.477 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.0402/0.2735, allocations: 13.01 MB / 0.6445 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/0.288, allocations: 4.357 MB / 0.6487 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007121/0.2951, allocations: 2.501 MB / 0.6512 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007879/0.2959, allocations: 62.95 kB / 0.6512 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00904/0.3049, allocations: 3.194 MB / 0.6543 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=382): time 1.009e-05/0.3049, allocations: 3.938 kB / 0.6543 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=382): time 0.6767/0.9816, allocations: 67.97 MB / 0.7207 GB, free: 137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.9818, allocations: 144.4 kB / 0.7209 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008567/0.9903, allocations: 3.214 MB / 0.724 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001218/0.9915, allocations: 95.73 kB / 0.7241 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.9931, allocations: 2.004 MB / 0.726 GB, free: 136 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00233/0.9955, allocations: 1.354 MB / 0.7274 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.997, allocations: 0.6582 MB / 0.728 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.9971, allocations: 302.5 kB / 0.7283 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006611/1.004, allocations: 2.622 MB / 0.7309 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007785/1.012, allocations: 3.241 MB / 0.734 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07727/1.089, allocations: 18.94 MB / 0.7525 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.964e-05/1.089, allocations: 3.938 kB / 0.7525 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.05742/1.146, allocations: 16.85 MB / 0.769 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/1.146, allocations: 67.34 kB / 0.769 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.146e-05/1.146, allocations: 12 kB / 0.7691 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02637/1.173, allocations: 7.23 MB / 0.7761 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/1.176, allocations: 0.6514 MB / 0.7767 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0834/1.26, allocations: 32.71 MB / 0.8087 GB, free: 72.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00807/1.268, allocations: 0.6243 MB / 0.8093 GB, free: 72.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.269, allocations: 148 kB / 0.8094 GB, free: 71.86 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (391): * Single equations (assignments): 388 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002196/1.271, allocations: 0.6684 MB / 0.8101 GB, free: 71.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.273, allocations: 476.9 kB / 0.8106 GB, free: 70.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05321/1.326, allocations: 16.74 MB / 0.8269 GB, free: 53.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/1.326, allocations: 40 kB / 0.8269 GB, free: 53.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.349e-05/1.326, allocations: 28 kB / 0.827 GB, free: 53.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.304e-05/1.326, allocations: 19.92 kB / 0.827 GB, free: 53.83 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.05928/1.385, allocations: 20 MB / 0.8465 GB, free: 33.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/1.385, allocations: 4 kB / 0.8465 GB, free: 33.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.388, allocations: 391.5 kB / 0.8469 GB, free: 33.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02502/1.413, allocations: 7.363 MB / 0.8541 GB, free: 26.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001123/1.414, allocations: 71.98 kB / 0.8542 GB, free: 26.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07624/1.49, allocations: 30.69 MB / 0.8841 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.49, allocations: 3.281 kB / 0.8841 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07192/1.562, allocations: 20.14 MB / 0.9038 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.564, allocations: 0.4972 MB / 0.9043 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/1.566, allocations: 72.08 kB / 0.9044 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005542/1.571, allocations: 379.4 kB / 0.9047 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004115/1.575, allocations: 0.8114 MB / 0.9055 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006659/1.576, allocations: 95.98 kB / 0.9056 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00405/1.58, allocations: 2.097 MB / 0.9076 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/1.58, allocations: 4 kB / 0.9076 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007985/1.588, allocations: 1.804 MB / 0.9094 GB, free: 1.246 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009592/1.589, allocations: 203.7 kB / 0.9096 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02985/1.619, allocations: 8.928 MB / 0.9183 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.619, allocations: 0 / 0.9183 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02233/1.641, allocations: 5.89 MB / 0.9241 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005882/1.647, allocations: 389.8 kB / 0.9244 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/1.665, allocations: 7.854 MB / 0.9321 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/1.667, allocations: 1.934 MB / 0.934 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001773/1.669, allocations: 367.1 kB / 0.9344 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009594/1.67, allocations: 252.4 kB / 0.9346 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of SimCode: time 1.152e-06/1.67, allocations: 0 / 0.9346 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of Templates: time 0.4515/2.122, allocations: 97.87 MB / 1.03 GB, free: 162.9 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.415285438299179] Failed to read output from testmodel.py, exit status != 0: 2.13140169903636 2.142196576 2.015568817 Calling exit ...