Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001886/0.001886, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 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.598/1.598, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 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.002094/0.002094, allocations: 170.9 kB / 256.3 MB, free: 13.17 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.5271/0.5271, allocations: 80.25 MB / 393 MB, free: 2.223 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 489.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.511e-05/3.699e-05, allocations: 5.672 kB / 489.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.02336/0.02339, allocations: 12.94 MB / 0.4903 GB, free: 14.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.03681, allocations: 3.532 MB / 0.4938 GB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.04076, allocations: 28.81 kB / 0.4938 GB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.04375, allocations: 0.5653 MB / 0.4944 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009008/0.05275, allocations: 1.621 MB / 0.4959 GB, free: 8.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005952/0.05871, allocations: 1.54 MB / 0.4974 GB, free: 7.242 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008897/0.0676, allocations: 3.833 MB / 0.5012 GB, free: 3.395 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.06926, allocations: 0.5859 MB / 0.5018 GB, free: 2.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005034/0.0743, allocations: 2.171 MB / 0.5039 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/0.07761, allocations: 1.612 MB / 0.5055 GB, free: 14.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009699/0.07858, allocations: 296 kB / 0.5057 GB, free: 14.67 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.07998, allocations: 460.2 kB / 0.5062 GB, free: 14.22 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009188/0.0809, allocations: 0.8018 MB / 0.507 GB, free: 13.42 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.08314, allocations: 1.102 MB / 0.508 GB, free: 12.31 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00659/0.08973, allocations: 4.185 MB / 0.5121 GB, free: 8.113 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.08974, allocations: 0 / 0.5121 GB, free: 8.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.08974, allocations: 0.6562 kB / 0.5121 GB, free: 8.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001342/0.08987, allocations: 0 / 0.5121 GB, free: 8.113 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.02911/0.119, allocations: 8.244 MB / 0.5202 GB, free: 15.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.119, allocations: 12.03 kB / 0.5202 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.1355, allocations: 2.729 MB / 0.5229 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005014/0.1405, allocations: 1.863 MB / 0.5247 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/0.1416, allocations: 0.8062 MB / 0.5255 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009164/0.1425, allocations: 223.9 kB / 0.5257 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008033/0.1505, allocations: 3.117 MB / 0.5287 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.1505, allocations: 0 / 0.5287 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.1508, allocations: 88 kB / 0.5288 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-05/0.1509, allocations: 59.94 kB / 0.5289 GB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006965/0.1578, allocations: 2.69 MB / 0.5315 GB, free: 3.855 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.0228/0.1806, allocations: 8.146 MB / 0.5394 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.1914, allocations: 3.156 MB / 0.5425 GB, free: 8.336 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004643/0.196, allocations: 1.796 MB / 0.5443 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003655/0.1964, allocations: 53.98 kB / 0.5443 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005381/0.2018, allocations: 2.309 MB / 0.5466 GB, free: 4.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 4.799e-06/0.2018, allocations: 4 kB / 0.5466 GB, free: 4.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.3649/0.5667, allocations: 25.41 MB / 0.5714 GB, free: 91.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.5668, allocations: 184.4 kB / 0.5716 GB, free: 91.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/0.5707, allocations: 2.69 MB / 0.5742 GB, free: 91.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000608/0.5713, allocations: 77.88 kB / 0.5743 GB, free: 91.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.5723, allocations: 1.346 MB / 0.5756 GB, free: 91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.5735, allocations: 0.9823 MB / 0.5765 GB, free: 90.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.5748, allocations: 0.6644 MB / 0.5772 GB, free: 90.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.5749, allocations: 478.1 kB / 0.5776 GB, free: 89.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004458/0.5793, allocations: 1.953 MB / 0.5796 GB, free: 89.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004023/0.5833, allocations: 2.49 MB / 0.582 GB, free: 87.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.5949, allocations: 7.108 MB / 0.5889 GB, free: 84.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-05/0.5949, allocations: 4 kB / 0.5889 GB, free: 84.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.03356/0.6285, allocations: 11.36 MB / 0.6 GB, free: 73.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.22e-05/0.6286, allocations: 110.8 kB / 0.6001 GB, free: 73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.6286, allocations: 8 kB / 0.6001 GB, free: 72.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02905/0.6576, allocations: 6.705 MB / 0.6067 GB, free: 66.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00331/0.6609, allocations: 0.5695 MB / 0.6072 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05123/0.7122, allocations: 22.2 MB / 0.6289 GB, free: 43.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004448/0.7166, allocations: 418.8 kB / 0.6293 GB, free: 43.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006709/0.7173, allocations: 120 kB / 0.6294 GB, free: 42.96 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 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.001427/0.7187, allocations: 0.5705 MB / 0.63 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000926/0.7196, allocations: 386 kB / 0.6304 GB, free: 42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03255/0.7522, allocations: 10.58 MB / 0.6407 GB, free: 31.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/0.7522, allocations: 27.94 kB / 0.6407 GB, free: 31.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.712e-05/0.7523, allocations: 20 kB / 0.6407 GB, free: 31.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-05/0.7523, allocations: 15.94 kB / 0.6408 GB, free: 31.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03714/0.7895, allocations: 13.48 MB / 0.6539 GB, free: 17.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.7895, allocations: 4.062 kB / 0.6539 GB, free: 17.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.7912, allocations: 255.6 kB / 0.6542 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02873/0.8199, allocations: 6.57 MB / 0.6606 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007708/0.8207, allocations: 53.08 kB / 0.6606 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05914/0.8798, allocations: 24.53 MB / 0.6846 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8798, allocations: 0 / 0.6846 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04645/0.9263, allocations: 13.05 MB / 0.6973 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.9275, allocations: 352.6 kB / 0.6977 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007616/0.9283, allocations: 44.88 kB / 0.6977 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/0.9314, allocations: 227.8 kB / 0.6979 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002316/0.9337, allocations: 0.6033 MB / 0.6985 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/0.934, allocations: 67.98 kB / 0.6986 GB, free: 3.527 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002897/0.9369, allocations: 1.632 MB / 0.7002 GB, free: 1.891 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9369, allocations: 0 / 0.7002 GB, free: 1.891 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004626/0.9415, allocations: 1.2 MB / 0.7013 GB, free: 0.7266 MB / 474.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.0005885/0.9421, allocations: 183 kB / 0.7015 GB, free: 0.543 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02086/0.9629, allocations: 6.506 MB / 0.7079 GB, free: 9.895 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.9629, allocations: 0 / 0.7079 GB, free: 9.895 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01459/0.9775, allocations: 4.286 MB / 0.7121 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/0.9807, allocations: 322 kB / 0.7124 GB, free: 5.184 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.9935, allocations: 5.53 MB / 0.7178 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.9952, allocations: 1.265 MB / 0.719 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001384/0.9966, allocations: 258.6 kB / 0.7192 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.9976, allocations: 180.5 kB / 0.7194 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of SimCode: time 1.844e-06/0.9976, allocations: 0 / 0.7194 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.3188/1.316, allocations: 74.48 MB / 0.7922 GB, free: 165.3 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.204474634025246]