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.000801/0.000801, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.8492/0.8492, allocations: 177.2 MB / 200.2 MB, free: 5.941 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.001027/0.001027, allocations: 156.6 kB / 256.7 MB, free: 13.35 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.2528/0.2528, allocations: 80.25 MB / 393.4 MB, free: 2.434 MB / 314.7 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.803e-06/1.803e-06, allocations: 0 / 0.5561 GB, free: 12.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.371e-05, allocations: 10.11 kB / 0.5561 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01434/0.01436, allocations: 18.39 MB / 0.5741 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008268/0.02263, allocations: 4.83 MB / 0.5788 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.02394, allocations: 44 kB / 0.5789 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.02523, allocations: 0.8788 MB / 0.5797 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.02856, allocations: 2.353 MB / 0.582 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.0316, allocations: 2.083 MB / 0.5841 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004378/0.03597, allocations: 5.858 MB / 0.5898 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.03708, allocations: 0.861 MB / 0.5906 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.04032, allocations: 3.304 MB / 0.5938 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.04241, allocations: 2.262 MB / 0.5961 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005704/0.04298, allocations: 436 kB / 0.5965 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000878/0.04385, allocations: 0.5974 MB / 0.5971 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0007112/0.04456, allocations: 1.17 MB / 0.5982 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.234/0.2786, allocations: 1.721 MB / 0.5999 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.2826, allocations: 6.316 MB / 0.606 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2826, allocations: 0 / 0.606 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2826, allocations: 0.6875 kB / 0.606 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.729e-05/0.2827, allocations: 0 / 0.606 GB, free: 64.49 MB / 0.5105 GB 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.01537/0.298, allocations: 9.843 MB / 0.6157 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2981, allocations: 9.219 kB / 0.6157 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.3109, allocations: 4.054 MB / 0.6196 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.3141, allocations: 2.573 MB / 0.6221 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/0.3146, allocations: 1.029 MB / 0.6231 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004548/0.315, allocations: 345.8 kB / 0.6235 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005854/0.3209, allocations: 4.753 MB / 0.6281 GB, free: 58.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.748e-05/0.3209, allocations: 5.344 kB / 0.6281 GB, free: 58.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/0.3212, allocations: 143.1 kB / 0.6283 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/0.3213, allocations: 87.25 kB / 0.6283 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005281/0.3265, allocations: 4.242 MB / 0.6325 GB, free: 56.92 MB / 0.5105 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.01519/0.3417, allocations: 13 MB / 0.6452 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005784/0.3475, allocations: 4.359 MB / 0.6494 GB, free: 47.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.3503, allocations: 2.502 MB / 0.6519 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/0.3505, allocations: 57.83 kB / 0.6519 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003197/0.3537, allocations: 3.195 MB / 0.6551 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=382): time 5.35e-06/0.3537, allocations: 0 / 0.6551 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=382): time 0.1469/0.5006, allocations: 67.99 MB / 0.7214 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.5007, allocations: 141.8 kB / 0.7216 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/0.5041, allocations: 3.217 MB / 0.7247 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003938/0.5045, allocations: 93.72 kB / 0.7248 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009877/0.5055, allocations: 1.996 MB / 0.7268 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.5066, allocations: 1.356 MB / 0.7281 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009473/0.5076, allocations: 0.6586 MB / 0.7287 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.5077, allocations: 305.1 kB / 0.729 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/0.511, allocations: 2.62 MB / 0.7316 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003597/0.5146, allocations: 3.249 MB / 0.7348 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03495/0.5496, allocations: 18.93 MB / 0.7532 GB, free: 8.703 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.5496, allocations: 7.719 kB / 0.7532 GB, free: 8.699 MB / 0.573 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.0292/0.5788, allocations: 16.85 MB / 0.7697 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.5788, allocations: 63.41 kB / 0.7698 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.5789, allocations: 12 kB / 0.7698 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01321/0.5921, allocations: 7.231 MB / 0.7768 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.5936, allocations: 0.6518 MB / 0.7775 GB, free: 60 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04908/0.6427, allocations: 32.72 MB / 0.8094 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/0.6462, allocations: 0.6182 MB / 0.81 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.6464, allocations: 156 kB / 0.8102 GB, free: 14.52 MB / 0.6355 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.001347/0.6477, allocations: 0.6575 MB / 0.8108 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/0.6483, allocations: 480.8 kB / 0.8113 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02914/0.6774, allocations: 16.73 MB / 0.8276 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.6774, allocations: 47.83 kB / 0.8277 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.532e-05/0.6775, allocations: 31.98 kB / 0.8277 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/0.6775, allocations: 19.94 kB / 0.8277 GB, free: 12.63 MB / 0.6511 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.03292/0.7104, allocations: 19.99 MB / 0.8472 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.7104, allocations: 0 / 0.8472 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.7115, allocations: 393.7 kB / 0.8476 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01329/0.7248, allocations: 7.37 MB / 0.8548 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.725, allocations: 75.92 kB / 0.8549 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2631/0.9881, allocations: 30.69 MB / 0.8849 GB, free: 229.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9881, allocations: 0.5625 kB / 0.8849 GB, free: 229.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0322/1.02, allocations: 20.15 MB / 0.9045 GB, free: 222.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.022, allocations: 0.4947 MB / 0.905 GB, free: 222.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/1.022, allocations: 64 kB / 0.9051 GB, free: 222.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.024, allocations: 378 kB / 0.9054 GB, free: 222.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002197/1.026, allocations: 0.8183 MB / 0.9062 GB, free: 221.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/1.027, allocations: 99.36 kB / 0.9063 GB, free: 221.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001655/1.028, allocations: 2.098 MB / 0.9084 GB, free: 219.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3e-08/1.028, allocations: 0 / 0.9084 GB, free: 219.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003035/1.031, allocations: 1.802 MB / 0.9101 GB, free: 217.9 MB / 0.6667 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.0003873/1.032, allocations: 206 kB / 0.9103 GB, free: 217.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.044, allocations: 8.92 MB / 0.919 GB, free: 208.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.044, allocations: 3.609 kB / 0.919 GB, free: 208.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.008748/1.053, allocations: 5.889 MB / 0.9248 GB, free: 202.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/1.054, allocations: 388.5 kB / 0.9252 GB, free: 202.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/1.063, allocations: 7.925 MB / 0.9329 GB, free: 194.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/1.064, allocations: 1.927 MB / 0.9348 GB, free: 192.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000679/1.064, allocations: 272.4 kB / 0.9351 GB, free: 192.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.182e-06/1.064, allocations: 0 / 0.9351 GB, free: 192.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.05277/1.117, allocations: 91.1 MB / 1.024 GB, free: 101 MB / 0.6667 GB " [Timeout remaining time 659] 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: 8.629084268584847] Failed to read output from testmodel.py, exit status != 0: 1.1227665934711695 1.12699537 0.843105074 Calling exit ...