Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.001262/0.001262, allocations: 78.33 kB / 19.18 MB, free: 2.527 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.425/1.425, allocations: 177.2 MB / 199.4 MB, free: 8.438 MB / 190.1 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.001865/0.001865, allocations: 172 kB / 256 MB, free: 4.309 MB / 238.1 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.594/0.594, allocations: 80.25 MB / 392.6 MB, free: 29.7 MB / 334.1 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5553 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.595e-05, allocations: 9.062 kB / 0.5553 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01148/0.01152, allocations: 11.65 MB / 0.5667 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009345/0.02087, allocations: 3.435 MB / 0.5701 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.02427, allocations: 32.81 kB / 0.5701 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.02594, allocations: 0.5523 MB / 0.5706 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005892/0.03184, allocations: 1.607 MB / 0.5722 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.03575, allocations: 1.544 MB / 0.5737 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007219/0.04297, allocations: 3.743 MB / 0.5774 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.04497, allocations: 0.5822 MB / 0.5779 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006659/0.05163, allocations: 2.13 MB / 0.58 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004009/0.05564, allocations: 1.553 MB / 0.5815 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.05707, allocations: 284 kB / 0.5818 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.05964, allocations: 447.8 kB / 0.5822 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001576/0.06122, allocations: 0.7777 MB / 0.583 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003386/0.06461, allocations: 1.078 MB / 0.584 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008538/0.07314, allocations: 4.08 MB / 0.588 GB, free: 4.711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.07315, allocations: 3.984 kB / 0.588 GB, free: 4.707 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.07315, allocations: 0 / 0.588 GB, free: 4.707 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001904/0.07334, allocations: 4 kB / 0.588 GB, free: 4.703 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02939/0.1027, allocations: 7.335 MB / 0.5952 GB, free: 13.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.1028, allocations: 12.03 kB / 0.5952 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/0.1197, allocations: 2.32 MB / 0.5975 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006131/0.1258, allocations: 1.809 MB / 0.5992 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001205/0.127, allocations: 0.8217 MB / 0.6 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.1284, allocations: 216 kB / 0.6003 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.139, allocations: 3.081 MB / 0.6033 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-05/0.139, allocations: 0 / 0.6033 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007844/0.1398, allocations: 91.98 kB / 0.6034 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.1399, allocations: 48 kB / 0.6034 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008167/0.1481, allocations: 2.826 MB / 0.6062 GB, free: 1.723 MB / 462.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.02372/0.1718, allocations: 7.383 MB / 0.6134 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.1843, allocations: 3.571 MB / 0.6169 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005239/0.1895, allocations: 1.834 MB / 0.6186 GB, free: 4.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005031/0.19, allocations: 33.98 kB / 0.6187 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006443/0.1965, allocations: 2.282 MB / 0.6209 GB, free: 2.375 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 8.526e-06/0.1965, allocations: 4 kB / 0.6209 GB, free: 2.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=247): time 0.1417/0.3382, allocations: 29.25 MB / 0.6495 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001846/0.3384, allocations: 180.2 kB / 0.6496 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004961/0.3433, allocations: 2.248 MB / 0.6518 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009036/0.3442, allocations: 73.77 kB / 0.6519 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.3456, allocations: 1.201 MB / 0.6531 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001676/0.3472, allocations: 0.9023 MB / 0.654 GB, free: 360 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002297/0.3495, allocations: 0.5265 MB / 0.6545 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3497, allocations: 309.1 kB / 0.6548 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005412/0.3551, allocations: 2.035 MB / 0.6568 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005913/0.361, allocations: 2.398 MB / 0.6591 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06755/0.4286, allocations: 14.26 MB / 0.673 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.392e-05/0.4286, allocations: 4 kB / 0.673 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.05092/0.4795, allocations: 12.28 MB / 0.685 GB, free: 52 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.4796, allocations: 121.3 kB / 0.6851 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.4797, allocations: 8 kB / 0.6852 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02262/0.5023, allocations: 5.407 MB / 0.6904 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/0.5056, allocations: 0.55 MB / 0.691 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07604/0.5817, allocations: 22.8 MB / 0.7132 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/0.5864, allocations: 481.9 kB / 0.7137 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006988/0.5871, allocations: 124 kB / 0.7138 GB, free: 2.418 MB / 0.5606 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 order3_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 (315): * Single equations (assignments): 310 * 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 {(64,25)} Notification: Performance of prepare postOptimizeDAE: time 0.002071/0.5891, allocations: 0.5283 MB / 0.7143 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/0.5902, allocations: 314 kB / 0.7146 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04875/0.6389, allocations: 11.87 MB / 0.7262 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.491e-05/0.639, allocations: 27.94 kB / 0.7262 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.34e-05/0.639, allocations: 24 kB / 0.7263 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-05/0.6391, allocations: 11.95 kB / 0.7263 GB, free: 5.566 MB / 0.5762 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.3217/0.9608, allocations: 14.2 MB / 0.7402 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/0.9608, allocations: 0 / 0.7402 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.9625, allocations: 251.6 kB / 0.7404 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01924/0.9817, allocations: 5.27 MB / 0.7455 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007433/0.9825, allocations: 51.58 kB / 0.7456 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05931/1.042, allocations: 23.99 MB / 0.769 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.042, allocations: 3.984 kB / 0.769 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04346/1.085, allocations: 14.29 MB / 0.783 GB, free: 131.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.086, allocations: 338.1 kB / 0.7833 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/1.088, allocations: 51.5 kB / 0.7834 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003353/1.091, allocations: 299.6 kB / 0.7836 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002168/1.093, allocations: 0.6072 MB / 0.7842 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/1.093, allocations: 71.92 kB / 0.7843 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001954/1.095, allocations: 1.483 MB / 0.7857 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.095, allocations: 0 / 0.7857 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003423/1.099, allocations: 1.176 MB / 0.7869 GB, free: 127.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0004541/1.099, allocations: 179 kB / 0.7871 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01715/1.116, allocations: 6.536 MB / 0.7934 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.116, allocations: 1.75 kB / 0.7934 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01325/1.13, allocations: 4.271 MB / 0.7976 GB, free: 116 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/1.133, allocations: 264 kB / 0.7979 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.143, allocations: 5.249 MB / 0.803 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.144, allocations: 1.252 MB / 0.8042 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001072/1.145, allocations: 266.2 kB / 0.8045 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/1.145, allocations: 168.5 kB / 0.8046 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1.145, allocations: 0 / 0.8046 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.0807/1.226, allocations: 69.93 MB / 0.8729 GB, free: 39.07 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.006959926337004] Failed to read output from testmodel.py, exit status != 0: 1.2353101670742035 1.244302828 1.168778792 Calling exit ...