Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.001393/0.001393, allocations: 97.69 kB / 19.59 MB, free: 2.336 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.434/1.434, allocations: 225.6 MB / 248.2 MB, free: 3.082 MB / 190.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.001456/0.001456, allocations: 191.6 kB / 303.6 MB, free: 3.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.349/0.349, allocations: 79.73 MB / 438.6 MB, free: 7.012 MB / 366.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 83.86 kB / 0.5844 GB, free: 7.676 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.419, allocations: 72.12 MB / 0.6548 GB, free: 18.38 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.0129/0.4319, allocations: 13.66 MB / 0.6681 GB, free: 8.293 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009412/0.4413, allocations: 3.491 MB / 0.6716 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004132/0.4454, allocations: 27.53 kB / 0.6716 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.4476, allocations: 0.5621 MB / 0.6721 GB, free: 5.453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006809/0.4544, allocations: 1.572 MB / 0.6737 GB, free: 4.367 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.4586, allocations: 1.531 MB / 0.6752 GB, free: 3.289 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007597/0.4662, allocations: 3.785 MB / 0.6789 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.4678, allocations: 0.6179 MB / 0.6795 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.4716, allocations: 1.577 MB / 0.681 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00448/0.4761, allocations: 1.982 MB / 0.6829 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001675/0.4778, allocations: 284.7 kB / 0.6832 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.4805, allocations: 431.9 kB / 0.6836 GB, free: 14.1 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.4816, allocations: 0.7605 MB / 0.6844 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002586/0.4842, allocations: 1.632 MB / 0.686 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007094/0.4913, allocations: 4.037 MB / 0.6899 GB, free: 9.199 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4913, allocations: 1.062 kB / 0.6899 GB, free: 9.199 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4913, allocations: 7.938 kB / 0.6899 GB, free: 9.191 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001785/0.4915, allocations: 0 / 0.6899 GB, free: 9.191 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02752/0.519, allocations: 7.352 MB / 0.6971 GB, free: 4.516 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.519, allocations: 16.52 kB / 0.6971 GB, free: 4.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/0.5346, allocations: 2.296 MB / 0.6993 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005397/0.54, allocations: 1.801 MB / 0.7011 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009667/0.541, allocations: 0.729 MB / 0.7018 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006064/0.5416, allocations: 223.9 kB / 0.702 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007201/0.5488, allocations: 3.086 MB / 0.705 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.5489, allocations: 0 / 0.705 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002803/0.5491, allocations: 83.94 kB / 0.7051 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.5492, allocations: 52 kB / 0.7052 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006585/0.5558, allocations: 2.842 MB / 0.7079 GB, free: 9.098 MB / 494.1 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.02171/0.5775, allocations: 9.682 MB / 0.7174 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.5888, allocations: 3.582 MB / 0.7209 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004677/0.5935, allocations: 1.826 MB / 0.7227 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.5938, allocations: 49.81 kB / 0.7227 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005129/0.5989, allocations: 2.282 MB / 0.725 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 4.929e-06/0.5989, allocations: 4 kB / 0.725 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1215/0.7205, allocations: 27.1 MB / 0.7514 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.7206, allocations: 184.2 kB / 0.7516 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/0.7244, allocations: 2.273 MB / 0.7538 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006899/0.7251, allocations: 77.77 kB / 0.7539 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.7262, allocations: 1.174 MB / 0.755 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001197/0.7274, allocations: 0.9102 MB / 0.7559 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.7285, allocations: 0.562 MB / 0.7565 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7287, allocations: 305.1 kB / 0.7568 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004695/0.7334, allocations: 2.059 MB / 0.7588 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005086/0.7385, allocations: 2.434 MB / 0.7612 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05763/0.7961, allocations: 14.01 MB / 0.7748 GB, free: 3.523 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.7961, allocations: 0 / 0.7748 GB, free: 3.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04501/0.8411, allocations: 12.55 MB / 0.7871 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.8412, allocations: 118.8 kB / 0.7872 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.8413, allocations: 8 kB / 0.7872 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01912/0.8604, allocations: 5.284 MB / 0.7924 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/0.8638, allocations: 0.5695 MB / 0.7929 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06828/0.932, allocations: 23.1 MB / 0.8155 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005247/0.9373, allocations: 493.9 kB / 0.816 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008657/0.9381, allocations: 116 kB / 0.8161 GB, free: 9.031 MB / 0.5919 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_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 (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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002337/0.9405, allocations: 0.5415 MB / 0.8166 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/0.9416, allocations: 310 kB / 0.8169 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04261/0.9842, allocations: 11.87 MB / 0.8285 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/0.9842, allocations: 24 kB / 0.8285 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.916e-05/0.9843, allocations: 20 kB / 0.8285 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.105e-05/0.9844, allocations: 11.95 kB / 0.8285 GB, free: 12.18 MB / 0.6075 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.442/1.426, allocations: 15.44 MB / 0.8436 GB, free: 150.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/1.426, allocations: 1.312 kB / 0.8436 GB, free: 150.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.428, allocations: 240.6 kB / 0.8438 GB, free: 150.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01905/1.447, allocations: 5.252 MB / 0.849 GB, free: 150.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006482/1.448, allocations: 55.02 kB / 0.849 GB, free: 150.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05938/1.507, allocations: 24.66 MB / 0.8731 GB, free: 140.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.507, allocations: 5.25 kB / 0.8731 GB, free: 140.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04303/1.55, allocations: 14.31 MB / 0.8871 GB, free: 136.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.551, allocations: 350.6 kB / 0.8874 GB, free: 136.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006403/1.552, allocations: 50.88 kB / 0.8875 GB, free: 136.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/1.555, allocations: 301.1 kB / 0.8878 GB, free: 136.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002046/1.557, allocations: 0.6016 MB / 0.8883 GB, free: 136.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.557, allocations: 64.48 kB / 0.8884 GB, free: 136.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001897/1.559, allocations: 1.507 MB / 0.8899 GB, free: 135.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/1.559, allocations: 0 / 0.8899 GB, free: 135.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003378/1.562, allocations: 1.173 MB / 0.891 GB, free: 135.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0004059/1.563, allocations: 168.4 kB / 0.8912 GB, free: 135.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01664/1.58, allocations: 6.489 MB / 0.8975 GB, free: 130.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.58, allocations: 0 / 0.8975 GB, free: 130.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01226/1.592, allocations: 4.271 MB / 0.9017 GB, free: 126 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/1.594, allocations: 275.3 kB / 0.902 GB, free: 125.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00882/1.603, allocations: 5.553 MB / 0.9074 GB, free: 120.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009938/1.604, allocations: 1.806 MB / 0.9091 GB, free: 118.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.605, allocations: 187.4 kB / 0.9093 GB, free: 118.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.573e-06/1.605, allocations: 0 / 0.9093 GB, free: 118.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.07238/1.677, allocations: 64.55 MB / 0.9724 GB, free: 53.59 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.153612341033295] Failed to read output from testmodel.py, exit status != 0: 1.6864705339539796 1.69500507 1.201321635 Calling exit ...