Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.0009405/0.0009405, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8703/0.8703, allocations: 177.2 MB / 200.2 MB, free: 5.938 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.001016/0.001016, allocations: 160.5 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.2565/0.2565, allocations: 80.24 MB / 393.4 MB, free: 2.434 MB / 314.7 MB " [Timeout remaining time 180] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5561 GB, free: 11.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.928e-05, allocations: 9.797 kB / 0.5561 GB, free: 11.67 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.2139/0.2139, allocations: 18.55 MB / 0.5743 GB, free: 14.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007391/0.2213, allocations: 4.867 MB / 0.579 GB, free: 11.44 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.2226, allocations: 48.09 kB / 0.5791 GB, free: 11.43 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.2239, allocations: 0.8816 MB / 0.5799 GB, free: 10.96 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.2271, allocations: 2.358 MB / 0.5822 GB, free: 9.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.2304, allocations: 2.095 MB / 0.5843 GB, free: 8.199 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004426/0.2348, allocations: 5.922 MB / 0.5901 GB, free: 5.062 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009805/0.2358, allocations: 0.8663 MB / 0.5909 GB, free: 4.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/0.2387, allocations: 3.344 MB / 0.5942 GB, free: 3.055 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.2405, allocations: 2.291 MB / 0.5964 GB, free: 2.246 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004666/0.241, allocations: 443.8 kB / 0.5968 GB, free: 2.246 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.2419, allocations: 0.5958 MB / 0.5974 GB, free: 2.203 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005237/0.2424, allocations: 1.185 MB / 0.5986 GB, free: 1.184 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.2436, allocations: 1.734 MB / 0.6003 GB, free: 112 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00488/0.2484, allocations: 6.38 MB / 0.6065 GB, free: 11.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2484, allocations: 0 / 0.6065 GB, free: 11.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2484, allocations: 5.281 kB / 0.6065 GB, free: 11.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.363e-05/0.2485, allocations: 0 / 0.6065 GB, free: 11.43 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01622/0.2647, allocations: 9.915 MB / 0.6162 GB, free: 5.055 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2648, allocations: 8.031 kB / 0.6162 GB, free: 5.047 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.2775, allocations: 4.047 MB / 0.6201 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.2811, allocations: 2.594 MB / 0.6227 GB, free: 14.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005703/0.2816, allocations: 1.033 MB / 0.6237 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/0.2821, allocations: 356 kB / 0.624 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005923/0.288, allocations: 4.764 MB / 0.6287 GB, free: 7.973 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/0.288, allocations: 0 / 0.6287 GB, free: 7.973 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.2883, allocations: 144 kB / 0.6288 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.2884, allocations: 87.75 kB / 0.6289 GB, free: 7.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005435/0.2938, allocations: 4.253 MB / 0.633 GB, free: 3.484 MB / 474.7 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.01718/0.311, allocations: 13.06 MB / 0.6458 GB, free: 6.012 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006945/0.3179, allocations: 4.374 MB / 0.6501 GB, free: 1.625 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0032/0.3211, allocations: 2.511 MB / 0.6525 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.3214, allocations: 58.97 kB / 0.6526 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003888/0.3253, allocations: 3.21 MB / 0.6557 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=384): time 6.402e-06/0.3253, allocations: 4 kB / 0.6557 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.1576/0.4829, allocations: 67.54 MB / 0.7217 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.483, allocations: 141.8 kB / 0.7218 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/0.4863, allocations: 3.249 MB / 0.725 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004462/0.4867, allocations: 89.7 kB / 0.7251 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.4878, allocations: 2.005 MB / 0.727 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.4889, allocations: 1.367 MB / 0.7284 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009533/0.4899, allocations: 0.6666 MB / 0.729 GB, free: 464 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.4899, allocations: 301.1 kB / 0.7293 GB, free: 160 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/0.4934, allocations: 2.651 MB / 0.7319 GB, free: 13.48 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/0.4971, allocations: 3.275 MB / 0.7351 GB, free: 9.977 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03661/0.5337, allocations: 19.18 MB / 0.7538 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/0.5338, allocations: 4 kB / 0.7538 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.03104/0.5648, allocations: 17.21 MB / 0.7706 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.5649, allocations: 71.39 kB / 0.7707 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.5649, allocations: 12 kB / 0.7707 GB, free: 5.156 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/0.5785, allocations: 7.154 MB / 0.7777 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.5806, allocations: 0.6821 MB / 0.7784 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2574/0.838, allocations: 32.31 MB / 0.8099 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/0.842, allocations: 0.6238 MB / 0.8105 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/0.8422, allocations: 152.8 kB / 0.8107 GB, free: 196.8 MB / 0.6355 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.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 (400): * Single equations (assignments): 397 * 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.001374/0.8436, allocations: 0.6784 MB / 0.8113 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/0.8442, allocations: 476.4 kB / 0.8118 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03062/0.8748, allocations: 16.77 MB / 0.8282 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.356e-05/0.8748, allocations: 40.84 kB / 0.8282 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.607e-05/0.8749, allocations: 28.88 kB / 0.8282 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.453e-05/0.875, allocations: 16.12 kB / 0.8282 GB, free: 195.2 MB / 0.6355 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.03205/0.907, allocations: 20.05 MB / 0.8478 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.907, allocations: 0 / 0.8478 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.9083, allocations: 393.8 kB / 0.8482 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01229/0.9206, allocations: 7.37 MB / 0.8554 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004499/0.921, allocations: 79.06 kB / 0.8555 GB, free: 189 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04023/0.9612, allocations: 30.67 MB / 0.8854 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9612, allocations: 0 / 0.8854 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03162/0.9928, allocations: 20.2 MB / 0.9051 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.9942, allocations: 0.5053 MB / 0.9056 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/0.9946, allocations: 64 kB / 0.9057 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/0.9967, allocations: 395 kB / 0.9061 GB, free: 140 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002022/0.9987, allocations: 0.815 MB / 0.9069 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/0.9989, allocations: 95.98 kB / 0.907 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001821/1.001, allocations: 2.121 MB / 0.909 GB, free: 137 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.8e-07/1.001, allocations: 0 / 0.909 GB, free: 137 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003348/1.004, allocations: 1.807 MB / 0.9108 GB, free: 135.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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.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.0004237/1.004, allocations: 205.6 kB / 0.911 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01323/1.018, allocations: 8.832 MB / 0.9196 GB, free: 126.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.018, allocations: 0.5 kB / 0.9196 GB, free: 126.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00936/1.027, allocations: 5.901 MB / 0.9254 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.029, allocations: 374.1 kB / 0.9257 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00994/1.039, allocations: 8.059 MB / 0.9336 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.04, allocations: 1.935 MB / 0.9355 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007654/1.041, allocations: 276.4 kB / 0.9358 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.302e-06/1.041, allocations: 4 kB / 0.9358 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.05888/1.1, allocations: 91.56 MB / 1.025 GB, free: 17.69 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.62592544592917] Failed to read output from testmodel.py, exit status != 0: 1.105932761915028 1.111370255 0.861570729 Calling exit ...