Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.0007408/0.0007408, allocations: 76.25 kB / 20.03 MB, free: 4.492 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.8394/0.8394, allocations: 177.2 MB / 200.3 MB, free: 5.906 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.001114/0.001114, allocations: 164.6 kB / 256.9 MB, free: 13.3 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.2561/0.2561, allocations: 80.36 MB / 393.6 MB, free: 2.312 MB / 314.7 MB " [Timeout remaining time 179] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.5565 GB, free: 11.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.831e-05, allocations: 5.547 kB / 0.5565 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.007856/0.007884, allocations: 11.81 MB / 0.568 GB, free: 20 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006886/0.01477, allocations: 3.48 MB / 0.5714 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.01679, allocations: 27.94 kB / 0.5714 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.0182, allocations: 0.5576 MB / 0.572 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.02216, allocations: 1.626 MB / 0.5736 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.02469, allocations: 1.532 MB / 0.5751 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004046/0.02873, allocations: 3.794 MB / 0.5788 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008021/0.02953, allocations: 0.5815 MB / 0.5793 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.03202, allocations: 2.158 MB / 0.5814 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.03336, allocations: 1.593 MB / 0.583 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.03363, allocations: 292 kB / 0.5833 GB, free: 280 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.03422, allocations: 447.8 kB / 0.5837 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005108/0.03473, allocations: 0.7895 MB / 0.5845 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006986/0.03543, allocations: 1.094 MB / 0.5855 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.03852, allocations: 4.142 MB / 0.5896 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.03853, allocations: 4 kB / 0.5896 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.422e-06/0.03853, allocations: 0 / 0.5896 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.114e-05/0.03857, allocations: 0 / 0.5896 GB, free: 9.785 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01348/0.05205, allocations: 7.409 MB / 0.5968 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.0521, allocations: 8.031 kB / 0.5968 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1932/0.2453, allocations: 2.69 MB / 0.5995 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.2481, allocations: 1.875 MB / 0.6013 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004164/0.2485, allocations: 0.8304 MB / 0.6021 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/0.2489, allocations: 220.8 kB / 0.6023 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.2525, allocations: 3.1 MB / 0.6053 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.2526, allocations: 3.281 kB / 0.6053 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.2527, allocations: 80.88 kB / 0.6054 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.2528, allocations: 55.47 kB / 0.6055 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/0.2561, allocations: 2.833 MB / 0.6082 GB, free: 88.02 MB / 0.5105 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.01103/0.2672, allocations: 7.488 MB / 0.6155 GB, free: 84.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006373/0.2735, allocations: 3.584 MB / 0.619 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/0.2765, allocations: 1.834 MB / 0.6208 GB, free: 82.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/0.2768, allocations: 57.09 kB / 0.6209 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003358/0.2801, allocations: 2.29 MB / 0.6231 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 5.711e-06/0.2801, allocations: 1.094 kB / 0.6231 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=249): time 0.05997/0.3401, allocations: 27.33 MB / 0.6498 GB, free: 66.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3401, allocations: 184.2 kB / 0.65 GB, free: 66.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.3423, allocations: 2.284 MB / 0.6522 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005368/0.3429, allocations: 73.7 kB / 0.6523 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.3433, allocations: 1.196 MB / 0.6535 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000655/0.3439, allocations: 0.9051 MB / 0.6543 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006823/0.3446, allocations: 0.5462 MB / 0.6549 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.398e-05/0.3447, allocations: 305.1 kB / 0.6552 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/0.3471, allocations: 2.063 MB / 0.6572 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/0.3495, allocations: 2.431 MB / 0.6596 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02795/0.3775, allocations: 14.51 MB / 0.6737 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.3775, allocations: 0 / 0.6737 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.02112/0.3986, allocations: 12.68 MB / 0.6861 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.3987, allocations: 119.7 kB / 0.6862 GB, free: 29.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3987, allocations: 8 kB / 0.6862 GB, free: 29.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008898/0.4076, allocations: 5.27 MB / 0.6914 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.4094, allocations: 0.5734 MB / 0.6919 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03139/0.4408, allocations: 22.61 MB / 0.714 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/0.4438, allocations: 479.8 kB / 0.7145 GB, free: 340 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/0.444, allocations: 120 kB / 0.7146 GB, free: 220 kB / 0.5105 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (324): * Single equations (assignments): 319 * 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.001129/0.4452, allocations: 0.5357 MB / 0.7151 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006801/0.4459, allocations: 386 kB / 0.7155 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02196/0.4678, allocations: 11.89 MB / 0.7271 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.4678, allocations: 24 kB / 0.7271 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/0.4679, allocations: 23.94 kB / 0.7271 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.643e-05/0.4679, allocations: 15.94 kB / 0.7272 GB, free: 3.223 MB / 0.5261 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.02635/0.4943, allocations: 14.26 MB / 0.7411 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.4943, allocations: 0 / 0.7411 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4953, allocations: 251.6 kB / 0.7413 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009757/0.5051, allocations: 5.292 MB / 0.7465 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004991/0.5055, allocations: 59.42 kB / 0.7466 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03522/0.5408, allocations: 24.09 MB / 0.7701 GB, free: 6.871 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5408, allocations: 0 / 0.7701 GB, free: 6.871 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02609/0.5669, allocations: 14.43 MB / 0.7842 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/0.5677, allocations: 345.3 kB / 0.7845 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004998/0.5682, allocations: 48 kB / 0.7845 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.5698, allocations: 299.6 kB / 0.7848 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001501/0.5713, allocations: 0.5995 MB / 0.7854 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/0.5715, allocations: 71.98 kB / 0.7855 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001613/0.5731, allocations: 1.507 MB / 0.787 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5731, allocations: 0 / 0.787 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002972/0.576, allocations: 1.182 MB / 0.7881 GB, free: 4.25 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0003957/0.5764, allocations: 189.2 kB / 0.7883 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01044/0.5869, allocations: 6.492 MB / 0.7946 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5869, allocations: 0 / 0.7946 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.007813/0.5947, allocations: 4.309 MB / 0.7988 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.5964, allocations: 278.5 kB / 0.7991 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007422/0.6039, allocations: 5.476 MB / 0.8045 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008828/0.6048, allocations: 1.253 MB / 0.8057 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007839/0.6055, allocations: 266.3 kB / 0.8059 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.606, allocations: 172.5 kB / 0.8061 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of SimCode: time 1.473e-06/0.606, allocations: 0 / 0.8061 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of Templates: time 0.2412/0.8472, allocations: 69.79 MB / 0.8743 GB, free: 193.4 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.247149781323969] Failed to read output from testmodel.py, exit status != 0: 0.8537225667387247 0.865583824 0.8246004849999999 Calling exit ...