Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.0009256/0.0009256, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.9427/0.9427, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001212/0.001212, allocations: 152.6 kB / 257 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4216/0.4216, allocations: 83.31 MB / 343.6 MB, free: 6.758 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 388 MB, free: 10.63 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.153e-05, allocations: 2.312 kB / 388 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.0142/0.01423, allocations: 12.71 MB / 400.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008206/0.02244, allocations: 3.714 MB / 404.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.02534, allocations: 31.94 kB / 404.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.02785, allocations: 0.581 MB / 405.1 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005161/0.03301, allocations: 1.653 MB / 406.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.03576, allocations: 1.548 MB / 408.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.03973, allocations: 3.831 MB / 412.1 MB, free: 2.473 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008542/0.04059, allocations: 0.6206 MB / 412.7 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.04313, allocations: 2.193 MB / 414.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.04456, allocations: 1.624 MB / 416.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003802/0.04494, allocations: 296 kB / 416.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.0456, allocations: 471.7 kB / 417.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004127/0.04602, allocations: 0.7934 MB / 418.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008701/0.04689, allocations: 1.113 MB / 419.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.04954, allocations: 2.933 MB / 422.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.04954, allocations: 0 / 422.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.04954, allocations: 0 / 422.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.804e-05/0.04959, allocations: 0 / 422.1 MB, free: 8.336 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01135/0.06094, allocations: 6.732 MB / 428.9 MB, free: 1.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.06097, allocations: 8.031 kB / 428.9 MB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009007/0.06998, allocations: 2.907 MB / 431.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.07229, allocations: 1.228 MB / 433 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004669/0.07275, allocations: 0.8178 MB / 433.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003456/0.0731, allocations: 219.9 kB / 434 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.07551, allocations: 1.849 MB / 435.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.07554, allocations: 4 kB / 435.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.07568, allocations: 80 kB / 436 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.07571, allocations: 48 kB / 436 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.07706, allocations: 0.8961 MB / 436.9 MB, free: 9.125 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.008418/0.08547, allocations: 4.998 MB / 441.9 MB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.08848, allocations: 1.848 MB / 443.8 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007831/0.08926, allocations: 0.6199 MB / 444.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.08945, allocations: 53.98 kB / 444.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.09061, allocations: 1.188 MB / 445.6 MB, free: 168 kB / 410.7 MB Notification: Performance of pre-optimization done (n=250): time 5.35e-06/0.09062, allocations: 4 kB / 445.6 MB, free: 164 kB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.2013/0.2919, allocations: 20.57 MB / 466.2 MB, free: 50.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.292, allocations: 185.6 kB / 466.4 MB, free: 50.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.2933, allocations: 1.852 MB / 468.2 MB, free: 49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003969/0.2937, allocations: 76.5 kB / 468.3 MB, free: 48.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.2941, allocations: 0.8061 MB / 469.1 MB, free: 48.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007331/0.2948, allocations: 0.9348 MB / 470 MB, free: 48.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006499/0.2955, allocations: 0.5677 MB / 470.6 MB, free: 47.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.188e-05/0.2955, allocations: 305.1 kB / 470.9 MB, free: 47.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.2967, allocations: 0.8337 MB / 471.7 MB, free: 46.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.2979, allocations: 1.194 MB / 472.9 MB, free: 45.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/0.3014, allocations: 3.438 MB / 476.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.3014, allocations: 0 / 476.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01331/0.3147, allocations: 7.716 MB / 484.1 MB, free: 34.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.3148, allocations: 114.8 kB / 484.2 MB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3148, allocations: 8 kB / 484.2 MB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.012/0.3268, allocations: 5.159 MB / 489.4 MB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.3289, allocations: 0.6972 MB / 490.1 MB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/0.3435, allocations: 8.123 MB / 498.2 MB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.3457, allocations: 410.3 kB / 498.6 MB, free: 21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.3459, allocations: 95.16 kB / 498.7 MB, free: 20.91 MB / 410.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 Syn2.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 (330): * Single equations (assignments): 325 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0006858/0.3466, allocations: 342.5 kB / 499 MB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.347, allocations: 254.5 kB / 499.3 MB, free: 20.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.3591, allocations: 7.037 MB / 0.4944 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.3591, allocations: 28 kB / 0.4945 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/0.3591, allocations: 19.94 kB / 0.4945 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.702e-05/0.3592, allocations: 15.95 kB / 0.4945 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.3734, allocations: 8.453 MB / 0.5027 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.3735, allocations: 3.938 kB / 0.5027 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009561/0.3744, allocations: 273.5 kB / 0.503 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01159/0.386, allocations: 5.157 MB / 0.508 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000533/0.3865, allocations: 47.98 kB / 0.5081 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/0.4032, allocations: 10.5 MB / 0.5183 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4032, allocations: 4 kB / 0.5183 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/0.4193, allocations: 7.729 MB / 0.5259 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.4204, allocations: 288.4 kB / 0.5262 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007762/0.4211, allocations: 48 kB / 0.5262 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.4227, allocations: 223.7 kB / 0.5264 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00153/0.4242, allocations: 0.5643 MB / 0.527 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.4244, allocations: 47.98 kB / 0.527 GB, free: 11.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009093/0.4253, allocations: 0.9894 MB / 0.528 GB, free: 10.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4253, allocations: 0.6562 kB / 0.528 GB, free: 10.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002749/0.428, allocations: 1.193 MB / 0.5292 GB, free: 9.195 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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.0004091/0.4284, allocations: 162.8 kB / 0.5293 GB, free: 9.031 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007063/0.4355, allocations: 4.036 MB / 0.5332 GB, free: 4.871 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.412e-05/0.4355, allocations: 28.06 kB / 0.5333 GB, free: 4.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005289/0.4408, allocations: 2.878 MB / 0.5361 GB, free: 1.871 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.4423, allocations: 317.5 kB / 0.5364 GB, free: 1.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007201/0.4495, allocations: 4.903 MB / 0.5412 GB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.45, allocations: 0.5459 MB / 0.5417 GB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001056/0.4511, allocations: 258.8 kB / 0.542 GB, free: 11.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007075/0.4518, allocations: 363.3 kB / 0.5423 GB, free: 11.45 MB / 458.7 MB Notification: Performance of SimCode: time 2.104e-06/0.4518, allocations: 0 / 0.5423 GB, free: 11.45 MB / 458.7 MB Notification: Performance of Templates: time 0.0804/0.5322, allocations: 73.17 MB / 0.6138 GB, free: 2.812 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.75546989031136]