Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08265/0.08265, allocations: 12.6 MB / 28.91 MB, free: 0.5977 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 107.5 kB / 32.51 MB, free: 3.535 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 192.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4877/0.4877, allocations: 78.52 MB / 420 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 134.6 kB / 0.5565 GB, free: 28.44 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1623, allocations: 68.13 MB / 0.6231 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.009831/0.1722, allocations: 6.585 MB / 0.6295 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005317/0.1776, allocations: 1.975 MB / 0.6314 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.1791, allocations: 16 kB / 0.6314 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1804, allocations: 245.9 kB / 0.6317 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.1836, allocations: 0.8692 MB / 0.6325 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1854, allocations: 0.6509 MB / 0.6332 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003016/0.1884, allocations: 1.604 MB / 0.6347 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007355/0.1892, allocations: 322.4 kB / 0.635 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.1905, allocations: 0.6574 MB / 0.6357 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.192, allocations: 0.8479 MB / 0.6365 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00048/0.1925, allocations: 124 kB / 0.6366 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009204/0.1934, allocations: 263.9 kB / 0.6369 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005962/0.194, allocations: 346.6 kB / 0.6372 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.1953, allocations: 0.6797 MB / 0.6379 GB, free: 172 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.198, allocations: 1.704 MB / 0.6395 GB, free: 14.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1981, allocations: 0 / 0.6395 GB, free: 14.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1981, allocations: 0 / 0.6395 GB, free: 14.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.618e-05/0.1982, allocations: 0 / 0.6395 GB, free: 14.46 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.01066/0.2088, allocations: 2.773 MB / 0.6422 GB, free: 11.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.2089, allocations: 11.98 kB / 0.6423 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.214, allocations: 0.7874 MB / 0.643 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.2162, allocations: 0.9266 MB / 0.6439 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/0.2166, allocations: 238.5 kB / 0.6442 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.2169, allocations: 87.95 kB / 0.6442 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.2195, allocations: 1.103 MB / 0.6453 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.2195, allocations: 3.938 kB / 0.6453 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.2196, allocations: 32 kB / 0.6454 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.2196, allocations: 20 kB / 0.6454 GB, free: 8.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.2219, allocations: 1.007 MB / 0.6464 GB, free: 7.305 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.008275/0.2302, allocations: 3.91 MB / 0.6502 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007813/0.238, allocations: 2.353 MB / 0.6525 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.2398, allocations: 0.6918 MB / 0.6531 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.24, allocations: 20.98 kB / 0.6532 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.475e-05/0.2401, allocations: 43.64 kB / 0.6532 GB, free: 15.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 6.112e-06/0.2401, allocations: 0 / 0.6532 GB, free: 15.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02778/0.2679, allocations: 6.729 MB / 0.6598 GB, free: 9.215 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/0.268, allocations: 137.5 kB / 0.6599 GB, free: 9.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.2703, allocations: 1.123 MB / 0.661 GB, free: 7.914 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.2707, allocations: 49.7 kB / 0.6611 GB, free: 7.859 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/0.2712, allocations: 0.5053 MB / 0.6615 GB, free: 7.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005707/0.2718, allocations: 360.9 kB / 0.6619 GB, free: 6.992 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008187/0.2726, allocations: 283.5 kB / 0.6622 GB, free: 6.711 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2727, allocations: 301.1 kB / 0.6624 GB, free: 6.414 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.2745, allocations: 0.7855 MB / 0.6632 GB, free: 5.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.2764, allocations: 0.9507 MB / 0.6641 GB, free: 4.629 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02469/0.3011, allocations: 5.774 MB / 0.6698 GB, free: 14.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.3012, allocations: 0 / 0.6698 GB, free: 14.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01399/0.3152, allocations: 4.438 MB / 0.6741 GB, free: 10.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.227e-05/0.3154, allocations: 55.41 kB / 0.6742 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.3154, allocations: 4 kB / 0.6742 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005885/0.3213, allocations: 1.638 MB / 0.6758 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.3228, allocations: 267.6 kB / 0.676 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/0.3436, allocations: 8.628 MB / 0.6845 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.3458, allocations: 199.2 kB / 0.6846 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003128/0.3462, allocations: 55.92 kB / 0.6847 GB, free: 15.3 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002448/0.3486, allocations: 0.9692 MB / 0.6856 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001836/0.3505, allocations: 0.9351 MB / 0.6866 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02438/0.3749, allocations: 5.747 MB / 0.6922 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.165e-05/0.375, allocations: 4 kB / 0.6922 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=190) (initialization_lambda0): time 0.01413/0.3891, allocations: 4.403 MB / 0.6965 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.3892, allocations: 63.34 kB / 0.6965 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3892, allocations: 0 / 0.6965 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005827/0.3951, allocations: 1.632 MB / 0.6981 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.3967, allocations: 267.6 kB / 0.6984 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.4177, allocations: 8.624 MB / 0.7068 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.4199, allocations: 175.4 kB / 0.707 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/0.4202, allocations: 63.91 kB / 0.707 GB, free: 8.102 MB / 0.5137 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * 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): 1 system {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000718/0.421, allocations: 292.3 kB / 0.7073 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.4215, allocations: 131.2 kB / 0.7074 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.4337, allocations: 3.794 MB / 0.7111 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.146e-05/0.4338, allocations: 3.984 kB / 0.7111 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.4338, allocations: 3.938 kB / 0.7111 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006891/0.4345, allocations: 235.9 kB / 0.7114 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005362/0.435, allocations: 19.98 kB / 0.7114 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.4366, allocations: 103.9 kB / 0.7115 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/0.4378, allocations: 416.4 kB / 0.7119 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006577/0.4444, allocations: 2.197 MB / 0.714 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.4232/0.8676, allocations: 2.312 MB / 0.7163 GB, free: 84.53 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001577/0.8692, allocations: 0.5798 MB / 0.7169 GB, free: 84.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001716/0.8709, allocations: 0.7565 MB / 0.7176 GB, free: 84.42 MB / 0.5137 GB Notification: Performance of Backend: time 4.51e-07/0.8709, allocations: 3.531 kB / 0.7176 GB, free: 84.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01329/0.8842, allocations: 4.043 MB / 0.7215 GB, free: 83.16 MB / 0.5137 GB Notification: Performance of SimCode: time 0.005313/0.8896, allocations: 3.001 MB / 0.7245 GB, free: 81.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.05918/0.9488, allocations: 34.21 MB / 0.7579 GB, free: 61.98 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)