Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 247.7 MB, free: 13.44 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 188.7 kB / 303.1 MB, free: 8.676 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5875/0.5875, allocations: 99.64 MB / 458 MB, free: 4.031 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 91.86 kB / 0.613 GB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1997, allocations: 76.98 MB / 0.6882 GB, free: 9.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.4222/0.6219, allocations: 21.84 MB / 0.7096 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.6366, allocations: 4.869 MB / 0.7143 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007231/0.6439, allocations: 43.66 kB / 0.7144 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.6478, allocations: 0.8777 MB / 0.7152 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.6586, allocations: 2.282 MB / 0.7174 GB, free: 260 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007308/0.6659, allocations: 2.073 MB / 0.7195 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01338/0.6792, allocations: 5.741 MB / 0.7251 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003562/0.6828, allocations: 0.9164 MB / 0.726 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00723/0.69, allocations: 2.394 MB / 0.7283 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008209/0.6982, allocations: 2.946 MB / 0.7312 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003127/0.7014, allocations: 441.7 kB / 0.7316 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.706, allocations: 0.5767 MB / 0.7322 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003457/0.7094, allocations: 1.156 MB / 0.7333 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008102/0.7175, allocations: 2.603 MB / 0.7358 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.7336, allocations: 6.256 MB / 0.7419 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.624e-05/0.7337, allocations: 1.062 kB / 0.7419 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7337, allocations: 0 / 0.7419 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006256/0.7343, allocations: 0 / 0.7419 GB, free: 2.07 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.04909/0.7834, allocations: 9.88 MB / 0.7516 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.7834, allocations: 12.2 kB / 0.7516 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02875/0.8122, allocations: 4.042 MB / 0.7555 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.8227, allocations: 2.573 MB / 0.7581 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00153/0.8242, allocations: 0.9631 MB / 0.759 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.8263, allocations: 344 kB / 0.7593 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.8432, allocations: 4.724 MB / 0.7639 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.8434, allocations: 3.938 kB / 0.7639 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/0.8447, allocations: 140 kB / 0.7641 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.8448, allocations: 84 kB / 0.7642 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.8575, allocations: 4.248 MB / 0.7683 GB, free: 14.02 MB / 0.5294 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.04436/0.9019, allocations: 18.02 MB / 0.7859 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/0.9158, allocations: 4.345 MB / 0.7901 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007257/0.923, allocations: 2.476 MB / 0.7926 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007545/0.9238, allocations: 74.91 kB / 0.7926 GB, free: 3.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008928/0.9327, allocations: 3.169 MB / 0.7957 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=382): time 1.058e-05/0.9327, allocations: 0 / 0.7957 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of matching and sorting (n=382): time 0.3209/1.254, allocations: 67.93 MB / 0.8621 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/1.254, allocations: 145.8 kB / 0.8622 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008815/1.263, allocations: 3.222 MB / 0.8654 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.00156/1.264, allocations: 89.7 kB / 0.8654 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/1.267, allocations: 2.001 MB / 0.8674 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.003812/1.27, allocations: 1.379 MB / 0.8687 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004803/1.275, allocations: 0.6704 MB / 0.8694 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.275, allocations: 301.1 kB / 0.8697 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007256/1.283, allocations: 2.581 MB / 0.8722 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008236/1.291, allocations: 3.201 MB / 0.8753 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07712/1.368, allocations: 18.76 MB / 0.8936 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.021e-05/1.368, allocations: 8.688 kB / 0.8937 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.06554/1.434, allocations: 16.82 MB / 0.9101 GB, free: 10.79 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.434, allocations: 63.41 kB / 0.9101 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.496e-05/1.434, allocations: 16 kB / 0.9102 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02847/1.462, allocations: 7.229 MB / 0.9172 GB, free: 3.465 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/1.466, allocations: 0.6631 MB / 0.9179 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1055/1.572, allocations: 33.66 MB / 0.9507 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007965/1.58, allocations: 0.6299 MB / 0.9514 GB, free: 380 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/1.581, allocations: 152 kB / 0.9515 GB, free: 228 kB / 0.7012 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.003921/1.585, allocations: 0.6675 MB / 0.9521 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002493/1.588, allocations: 485.8 kB / 0.9526 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06242/1.65, allocations: 16.7 MB / 0.9689 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.757e-05/1.65, allocations: 36 kB / 0.969 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001516/1.65, allocations: 31.94 kB / 0.969 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000161/1.65, allocations: 19.92 kB / 0.969 GB, free: 14.2 MB / 0.7325 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.5683/2.219, allocations: 21.68 MB / 0.9902 GB, free: 236.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/2.219, allocations: 0 / 0.9902 GB, free: 236.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/2.221, allocations: 385.7 kB / 0.9905 GB, free: 236.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02917/2.25, allocations: 7.376 MB / 0.9977 GB, free: 236.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001411/2.252, allocations: 75.36 kB / 0.9978 GB, free: 236.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08276/2.335, allocations: 31.65 MB / 1.029 GB, free: 226.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/2.335, allocations: 0 / 1.029 GB, free: 226.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05966/2.394, allocations: 20.09 MB / 1.048 GB, free: 219.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002095/2.396, allocations: 0.5018 MB / 1.049 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/2.398, allocations: 67.88 kB / 1.049 GB, free: 219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004503/2.402, allocations: 381.8 kB / 1.049 GB, free: 218.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002949/2.405, allocations: 0.8161 MB / 1.05 GB, free: 218.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003133/2.405, allocations: 95.75 kB / 1.05 GB, free: 218.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002683/2.408, allocations: 2.111 MB / 1.052 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/2.408, allocations: 0 / 1.052 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005884/2.414, allocations: 1.8 MB / 1.054 GB, free: 214.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006097/2.415, allocations: 200 kB / 1.054 GB, free: 214.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0234/2.438, allocations: 8.889 MB / 1.063 GB, free: 206.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/2.438, allocations: 1.219 kB / 1.063 GB, free: 206.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01829/2.456, allocations: 5.898 MB / 1.069 GB, free: 200.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/2.46, allocations: 382.5 kB / 1.069 GB, free: 199.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/2.476, allocations: 7.956 MB / 1.077 GB, free: 191.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/2.477, allocations: 2.443 MB / 1.079 GB, free: 189.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001942/2.479, allocations: 377.2 kB / 1.079 GB, free: 189 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007987/2.48, allocations: 251.4 kB / 1.08 GB, free: 188.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.372e-06/2.48, allocations: 0 / 1.08 GB, free: 188.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.1346/2.615, allocations: 97.47 MB / 1.175 GB, free: 91.41 MB / 0.7325 GB " [Timeout remaining time 657] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.742045355960727] Failed to read output from testmodel.py, exit status != 0: 2.6251372108235955 2.636267502 1.899930364 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5bd31017b0>