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.001481/0.001481, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.332/1.332, allocations: 230.6 MB / 253.4 MB, free: 8.285 MB / 206.1 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.001575/0.001575, allocations: 219.1 kB / 310 MB, free: 3.164 MB / 238.1 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.5051/0.5051, allocations: 101.3 MB / 467.8 MB, free: 10.29 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 87.86 kB / 0.6257 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3623, allocations: 78.6 MB / 0.7025 GB, free: 9.285 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01028/0.3726, allocations: 13.98 MB / 0.7161 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007882/0.3805, allocations: 3.59 MB / 0.7196 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.3819, allocations: 29.5 kB / 0.7197 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.3832, allocations: 0.5666 MB / 0.7202 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.3868, allocations: 1.604 MB / 0.7218 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.39, allocations: 1.533 MB / 0.7233 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004225/0.3943, allocations: 3.869 MB / 0.727 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.3951, allocations: 0.6163 MB / 0.7276 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.3973, allocations: 1.609 MB / 0.7292 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.4001, allocations: 2.044 MB / 0.7312 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005547/0.4006, allocations: 299.1 kB / 0.7315 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4016, allocations: 461.4 kB / 0.7319 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008334/0.4025, allocations: 0.7855 MB / 0.7327 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.4043, allocations: 1.661 MB / 0.7343 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.4092, allocations: 4.087 MB / 0.7383 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4092, allocations: 0 / 0.7383 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4092, allocations: 0 / 0.7383 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.861e-05/0.4093, allocations: 1.062 kB / 0.7383 GB, free: 2.234 MB / 0.4981 GB 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.02333/0.4326, allocations: 7.481 MB / 0.7456 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4327, allocations: 10.25 kB / 0.7456 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.4473, allocations: 2.327 MB / 0.7479 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/0.4529, allocations: 1.838 MB / 0.7497 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/0.4539, allocations: 0.8342 MB / 0.7505 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/0.4544, allocations: 223.2 kB / 0.7507 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006192/0.4606, allocations: 3.056 MB / 0.7537 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.4606, allocations: 0 / 0.7537 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.4608, allocations: 89.69 kB / 0.7538 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.4609, allocations: 48.81 kB / 0.7539 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005777/0.4666, allocations: 2.802 MB / 0.7566 GB, free: 7.355 MB / 0.5137 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.01819/0.4848, allocations: 9.822 MB / 0.7662 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.4955, allocations: 3.568 MB / 0.7697 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003874/0.4994, allocations: 1.792 MB / 0.7714 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.4996, allocations: 37.97 kB / 0.7714 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004508/0.5041, allocations: 2.256 MB / 0.7737 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=250): time 4.158e-06/0.5041, allocations: 0 / 0.7737 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=250): time 0.1171/0.6213, allocations: 28.5 MB / 0.8015 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.6214, allocations: 192.2 kB / 0.8017 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/0.6252, allocations: 2.329 MB / 0.8039 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004921/0.6257, allocations: 69.7 kB / 0.804 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.6267, allocations: 1.193 MB / 0.8052 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.6278, allocations: 0.9296 MB / 0.8061 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.6289, allocations: 0.57 MB / 0.8066 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6291, allocations: 301.1 kB / 0.8069 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004339/0.6334, allocations: 1.99 MB / 0.8089 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004652/0.6381, allocations: 2.362 MB / 0.8112 GB, free: 28 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05666/0.6947, allocations: 14.69 MB / 0.8255 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.6947, allocations: 7.938 kB / 0.8255 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04107/0.7358, allocations: 12.55 MB / 0.8378 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-05/0.7359, allocations: 110.8 kB / 0.8379 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.7359, allocations: 8 kB / 0.8379 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01878/0.7547, allocations: 5.434 MB / 0.8432 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/0.7578, allocations: 0.5773 MB / 0.8438 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06416/0.822, allocations: 23.58 MB / 0.8668 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004785/0.8268, allocations: 0.5016 MB / 0.8673 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006482/0.8274, allocations: 119.9 kB / 0.8674 GB, free: 6.004 MB / 0.6231 GB 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 (336): * Single equations (assignments): 331 * 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.001721/0.8291, allocations: 0.5296 MB / 0.8679 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008768/0.83, allocations: 313.9 kB / 0.8682 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04143/0.8714, allocations: 11.87 MB / 0.8798 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/0.8715, allocations: 24 kB / 0.8798 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.725e-05/0.8715, allocations: 20 kB / 0.8798 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.689e-05/0.8716, allocations: 19.88 kB / 0.8799 GB, free: 9.117 MB / 0.6387 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.04837/0.92, allocations: 15.46 MB / 0.895 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.92, allocations: 0 / 0.895 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.9217, allocations: 251.6 kB / 0.8952 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01783/0.9395, allocations: 5.287 MB / 0.9004 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006054/0.9401, allocations: 48 kB / 0.9004 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05923/0.9993, allocations: 24.66 MB / 0.9245 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.9993, allocations: 0 / 0.9245 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04455/1.044, allocations: 14.28 MB / 0.9384 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.045, allocations: 365.4 kB / 0.9388 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007882/1.046, allocations: 44 kB / 0.9388 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.049, allocations: 299.6 kB / 0.9391 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001936/1.051, allocations: 0.6073 MB / 0.9397 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.051, allocations: 71.92 kB / 0.9398 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00239/1.053, allocations: 1.543 MB / 0.9413 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/1.053, allocations: 0 / 0.9413 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002989/1.056, allocations: 1.198 MB / 0.9424 GB, free: 8.297 MB / 0.7012 GB 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.0004555/1.057, allocations: 183.9 kB / 0.9426 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01708/1.074, allocations: 6.482 MB / 0.949 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.074, allocations: 8.438 kB / 0.949 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01238/1.086, allocations: 4.242 MB / 0.9531 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.088, allocations: 262.9 kB / 0.9534 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.098, allocations: 5.673 MB / 0.9589 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.1, allocations: 1.819 MB / 0.9607 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008048/1.101, allocations: 191.4 kB / 0.9609 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/1.101, allocations: 0 / 0.9609 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of Templates: time 0.321/1.422, allocations: 65.45 MB / 1.025 GB, free: 225 MB / 0.7325 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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.544593773083761] Failed to read output from testmodel.py, exit status != 0: 1.4296810082159936 1.438477741 1.027186916 Calling exit ...