Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001421/0.001421, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.482/1.482, allocations: 177.2 MB / 200.1 MB, free: 9.277 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.001824/0.001824, allocations: 157.5 kB / 256.6 MB, free: 0.7578 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.3629/0.3629, allocations: 59.78 MB / 372.8 MB, free: 13.12 MB / 350.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.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_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.002575/0.002575, allocations: 89.11 kB / 0.5224 GB, free: 55.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1564, allocations: 73.26 MB / 0.594 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01498/0.1714, allocations: 11.77 MB / 0.6055 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1816, allocations: 3.453 MB / 0.6088 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003683/0.1853, allocations: 31.94 kB / 0.6089 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.1879, allocations: 0.5615 MB / 0.6094 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007244/0.1951, allocations: 1.584 MB / 0.611 GB, free: 8.652 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005037/0.2002, allocations: 1.511 MB / 0.6124 GB, free: 7.168 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00902/0.2092, allocations: 3.831 MB / 0.6162 GB, free: 3.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.2109, allocations: 0.5815 MB / 0.6168 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.2143, allocations: 1.603 MB / 0.6183 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.2174, allocations: 1.847 MB / 0.6201 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006984/0.2181, allocations: 292 kB / 0.6204 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.2194, allocations: 447.9 kB / 0.6208 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008815/0.2203, allocations: 0.7857 MB / 0.6216 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.2221, allocations: 1.34 MB / 0.6229 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0062/0.2283, allocations: 4.104 MB / 0.6269 GB, free: 8.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.2283, allocations: 0 / 0.6269 GB, free: 8.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2283, allocations: 0 / 0.6269 GB, free: 8.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.2284, allocations: 0 / 0.6269 GB, free: 8.242 MB / 494.1 MB 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.02701/0.2554, allocations: 7.445 MB / 0.6342 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.2555, allocations: 11.98 kB / 0.6342 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/0.2715, allocations: 2.327 MB / 0.6365 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005433/0.2769, allocations: 1.824 MB / 0.6382 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009815/0.2779, allocations: 0.8295 MB / 0.6391 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006303/0.2785, allocations: 224 kB / 0.6393 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006978/0.2855, allocations: 3.101 MB / 0.6423 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/0.2855, allocations: 0 / 0.6423 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.2858, allocations: 87.94 kB / 0.6424 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.2858, allocations: 48 kB / 0.6424 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00649/0.2923, allocations: 2.834 MB / 0.6452 GB, free: 5.09 MB / 0.4981 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.0212/0.3135, allocations: 7.441 MB / 0.6525 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.3252, allocations: 3.59 MB / 0.656 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00501/0.3303, allocations: 1.83 MB / 0.6578 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004524/0.3307, allocations: 33.98 kB / 0.6578 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006259/0.337, allocations: 2.294 MB / 0.66 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 6.703e-06/0.337, allocations: 0 / 0.66 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.5309/0.8679, allocations: 27.21 MB / 0.6866 GB, free: 58.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.8679, allocations: 185.2 kB / 0.6868 GB, free: 58.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/0.8715, allocations: 2.289 MB / 0.689 GB, free: 57.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006818/0.8722, allocations: 69.52 kB / 0.6891 GB, free: 57.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000677/0.8729, allocations: 1.198 MB / 0.6902 GB, free: 56.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009231/0.8738, allocations: 0.9231 MB / 0.6911 GB, free: 55.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009832/0.8748, allocations: 0.5544 MB / 0.6917 GB, free: 55.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.8749, allocations: 301.1 kB / 0.692 GB, free: 55.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/0.8788, allocations: 2.066 MB / 0.694 GB, free: 54.17 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004258/0.883, allocations: 2.423 MB / 0.6964 GB, free: 52.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05407/0.9371, allocations: 14.52 MB / 0.7105 GB, free: 39.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/0.9371, allocations: 0 / 0.7105 GB, free: 39.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.04156/0.9787, allocations: 12.54 MB / 0.7228 GB, free: 27.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.9788, allocations: 122.8 kB / 0.7229 GB, free: 26.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.9788, allocations: 5.094 kB / 0.7229 GB, free: 26.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01706/0.9959, allocations: 5.265 MB / 0.7281 GB, free: 21.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/0.9993, allocations: 0.5656 MB / 0.7286 GB, free: 21.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05939/1.059, allocations: 22.5 MB / 0.7506 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/1.064, allocations: 489.3 kB / 0.751 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009245/1.065, allocations: 123.8 kB / 0.7512 GB, free: 13.91 MB / 0.5294 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.002401/1.067, allocations: 0.5336 MB / 0.7517 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.069, allocations: 313.9 kB / 0.752 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.046/1.115, allocations: 11.9 MB / 0.7636 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.619e-05/1.115, allocations: 24 kB / 0.7636 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001068/1.115, allocations: 20.98 kB / 0.7637 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001052/1.115, allocations: 11.95 kB / 0.7637 GB, free: 1.008 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 postOpt removeSimpleEquations (simulation): time 0.05204/1.167, allocations: 14.26 MB / 0.7776 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/1.167, allocations: 0 / 0.7776 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.169, allocations: 257 kB / 0.7778 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02006/1.189, allocations: 5.288 MB / 0.783 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007706/1.19, allocations: 47.98 kB / 0.783 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07097/1.26, allocations: 23.99 MB / 0.8065 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.261, allocations: 0 / 0.8065 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05189/1.312, allocations: 14.35 MB / 0.8205 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.314, allocations: 354.4 kB / 0.8208 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/1.315, allocations: 44 kB / 0.8209 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004156/1.319, allocations: 301.1 kB / 0.8211 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002931/1.322, allocations: 0.5995 MB / 0.8217 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006761/1.323, allocations: 67.98 kB / 0.8218 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003609/1.326, allocations: 1.51 MB / 0.8233 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.326, allocations: 0 / 0.8233 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005893/1.332, allocations: 1.184 MB / 0.8244 GB, free: 2.375 MB / 0.5919 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.0008956/1.333, allocations: 174.9 kB / 0.8246 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02184/1.355, allocations: 6.497 MB / 0.8309 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.355, allocations: 0 / 0.8309 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01597/1.371, allocations: 4.32 MB / 0.8352 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003841/1.375, allocations: 271.7 kB / 0.8354 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/1.39, allocations: 5.586 MB / 0.8409 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/1.392, allocations: 1.257 MB / 0.8421 GB, free: 24 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001717/1.394, allocations: 266.3 kB / 0.8424 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009912/1.395, allocations: 168.5 kB / 0.8425 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of SimCode: time 1.413e-06/1.395, allocations: 0 / 0.8425 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.1231/1.518, allocations: 69.78 MB / 0.9107 GB, free: 10.07 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.29944794101175] Failed to read output from testmodel.py, exit status != 0: 1.5282755269436166 1.548313298 1.315063889 Calling exit ...