Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0009575/0.0009575, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.9297/0.9297, allocations: 177.2 MB / 200.3 MB, free: 3.688 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.001509/0.001509, allocations: 163 kB / 256.9 MB, free: 15.95 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.4088/0.4088, allocations: 80.23 MB / 393.7 MB, free: 9.789 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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 490.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.002e-05, allocations: 2.312 kB / 490.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.2044/0.2044, allocations: 12.41 MB / 0.4909 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007163/0.2116, allocations: 3.474 MB / 0.4943 GB, free: 43.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.2143, allocations: 31.75 kB / 0.4944 GB, free: 43.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2158, allocations: 0.5586 MB / 0.4949 GB, free: 43.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.2205, allocations: 1.615 MB / 0.4965 GB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.2235, allocations: 1.517 MB / 0.498 GB, free: 42.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004454/0.228, allocations: 3.74 MB / 0.5016 GB, free: 40.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.229, allocations: 0.585 MB / 0.5022 GB, free: 39.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.2325, allocations: 2.132 MB / 0.5043 GB, free: 38.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.2346, allocations: 1.587 MB / 0.5058 GB, free: 38.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009072/0.2355, allocations: 285 kB / 0.5061 GB, free: 38.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.2366, allocations: 445.2 kB / 0.5065 GB, free: 38.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005235/0.2371, allocations: 0.7717 MB / 0.5073 GB, free: 37.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.2384, allocations: 1.091 MB / 0.5083 GB, free: 37.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.2415, allocations: 2.883 MB / 0.5112 GB, free: 35.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2415, allocations: 1.844 kB / 0.5112 GB, free: 35.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2415, allocations: 3.938 kB / 0.5112 GB, free: 35.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.454e-05/0.2416, allocations: 0 / 0.5112 GB, free: 35.61 MB / 410.7 MB 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.01189/0.2535, allocations: 7.65 MB / 0.5186 GB, free: 32.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2536, allocations: 11.56 kB / 0.5186 GB, free: 32.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007589/0.2611, allocations: 2.721 MB / 0.5213 GB, free: 31.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.2639, allocations: 1.699 MB / 0.523 GB, free: 30.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/0.2643, allocations: 0.8174 MB / 0.5238 GB, free: 30.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.2647, allocations: 213.8 kB / 0.524 GB, free: 29.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.267, allocations: 1.799 MB / 0.5257 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.2671, allocations: 0 / 0.5257 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.2672, allocations: 85.03 kB / 0.5258 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.2673, allocations: 49.22 kB / 0.5259 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.2689, allocations: 1.047 MB / 0.5269 GB, free: 29.18 MB / 410.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.01131/0.2802, allocations: 6.596 MB / 0.5333 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.2839, allocations: 1.951 MB / 0.5352 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.285, allocations: 0.7381 MB / 0.5359 GB, free: 25.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.2852, allocations: 52.78 kB / 0.536 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/0.2868, allocations: 1.192 MB / 0.5372 GB, free: 24.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=247): time 4.739e-06/0.2868, allocations: 0 / 0.5372 GB, free: 24.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=247): time 0.04824/0.3351, allocations: 21.69 MB / 0.5583 GB, free: 6.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.3351, allocations: 180.2 kB / 0.5585 GB, free: 6.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.3369, allocations: 1.968 MB / 0.5604 GB, free: 4.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005886/0.3375, allocations: 73.7 kB / 0.5605 GB, free: 4.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.338, allocations: 1.297 MB / 0.5618 GB, free: 2.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006782/0.3387, allocations: 0.914 MB / 0.5627 GB, free: 2.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006062/0.3393, allocations: 0.5803 MB / 0.5632 GB, free: 1.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.3393, allocations: 480.8 kB / 0.5637 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.3404, allocations: 0.8757 MB / 0.5645 GB, free: 72 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.3419, allocations: 1.344 MB / 0.5659 GB, free: 14.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004246/0.3461, allocations: 3.474 MB / 0.5692 GB, free: 10.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.3462, allocations: 5.062 kB / 0.5692 GB, free: 10.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01509/0.3612, allocations: 8.239 MB / 0.5773 GB, free: 2.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.589e-05/0.3613, allocations: 122.8 kB / 0.5774 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3613, allocations: 4 kB / 0.5774 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0136/0.375, allocations: 5.358 MB / 0.5826 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.3768, allocations: 0.55 MB / 0.5832 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/0.3942, allocations: 9.319 MB / 0.5923 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.397, allocations: 410 kB / 0.5927 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.3973, allocations: 87.95 kB / 0.5928 GB, free: 2.586 MB / 442.7 MB 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 (319): * Single equations (assignments): 314 * 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.0008529/0.3981, allocations: 394.1 kB / 0.5931 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006081/0.3987, allocations: 382 kB / 0.5935 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.4126, allocations: 7.457 MB / 0.6008 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.4127, allocations: 31.94 kB / 0.6008 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/0.4127, allocations: 16 kB / 0.6008 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.117e-05/0.4128, allocations: 11.95 kB / 0.6008 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.4313, allocations: 9.5 MB / 0.6101 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/0.4313, allocations: 3.984 kB / 0.6101 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/0.4323, allocations: 239.7 kB / 0.6103 GB, free: 404 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0131/0.4454, allocations: 5.249 MB / 0.6155 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008732/0.4463, allocations: 51.98 kB / 0.6155 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/0.4658, allocations: 13.03 MB / 0.6282 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4658, allocations: 0 / 0.6282 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/0.4821, allocations: 8.245 MB / 0.6363 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009261/0.483, allocations: 349.3 kB / 0.6366 GB, free: 4.961 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.4834, allocations: 51.92 kB / 0.6367 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.4847, allocations: 211.8 kB / 0.6369 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/0.4859, allocations: 0.5799 MB / 0.6374 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000298/0.4862, allocations: 47.98 kB / 0.6375 GB, free: 4.074 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009323/0.4872, allocations: 1.119 MB / 0.6386 GB, free: 2.949 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4872, allocations: 0 / 0.6386 GB, free: 2.949 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002722/0.4899, allocations: 1.171 MB / 0.6397 GB, free: 1.777 MB / 490.7 MB 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.0003773/0.4903, allocations: 179 kB / 0.6399 GB, free: 1.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007006/0.4973, allocations: 4.252 MB / 0.6441 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4973, allocations: 128 / 0.6441 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005379/0.5027, allocations: 3.176 MB / 0.6472 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.5043, allocations: 320.3 kB / 0.6475 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/0.5116, allocations: 4.847 MB / 0.6522 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.5121, allocations: 0.5398 MB / 0.6527 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007674/0.5129, allocations: 250.3 kB / 0.653 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006419/0.5135, allocations: 382.1 kB / 0.6533 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of SimCode: time 2.174e-06/0.5135, allocations: 0 / 0.6533 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of Templates: time 0.2694/0.7829, allocations: 75.82 MB / 0.7274 GB, free: 149.8 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.328613042831421]