Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08862/0.08862, allocations: 12.6 MB / 28.91 MB, free: 0.6133 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.00116/0.00116, allocations: 111.5 kB / 32.51 MB, free: 3.551 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.398/1.398, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001579/0.001579, allocations: 195.4 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.454/0.454, allocations: 78.51 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.002646/0.002646, allocations: 135.2 kB / 0.5565 GB, free: 28.4 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1422, allocations: 68.13 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI): time 0.007719/0.15, allocations: 6.492 MB / 0.6294 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.1545, allocations: 1.955 MB / 0.6313 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.1558, allocations: 15.94 kB / 0.6313 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.1569, allocations: 238 kB / 0.6316 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.1598, allocations: 0.8423 MB / 0.6324 GB, free: 5.844 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.1616, allocations: 0.6505 MB / 0.633 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.1641, allocations: 1.553 MB / 0.6345 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007092/0.1649, allocations: 314.4 kB / 0.6348 GB, free: 3.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.1661, allocations: 0.6457 MB / 0.6355 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.1675, allocations: 0.8129 MB / 0.6363 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000442/0.1679, allocations: 120 kB / 0.6364 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009487/0.1689, allocations: 255.9 kB / 0.6366 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005415/0.1694, allocations: 326.6 kB / 0.6369 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009717/0.1704, allocations: 0.668 MB / 0.6376 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.1724, allocations: 1.643 MB / 0.6392 GB, free: 14.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1724, allocations: 0 / 0.6392 GB, free: 14.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1724, allocations: 0 / 0.6392 GB, free: 14.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.1724, allocations: 0 / 0.6392 GB, free: 14.85 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.008705/0.1811, allocations: 2.665 MB / 0.6418 GB, free: 12.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.1812, allocations: 11.98 kB / 0.6418 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/0.1863, allocations: 0.7748 MB / 0.6426 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.1879, allocations: 0.894 MB / 0.6434 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.1882, allocations: 226.5 kB / 0.6436 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.1884, allocations: 84 kB / 0.6437 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.1906, allocations: 1.103 MB / 0.6448 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.1907, allocations: 0 / 0.6448 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-05/0.1908, allocations: 32 kB / 0.6448 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.1908, allocations: 16 kB / 0.6448 GB, free: 8.879 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.1929, allocations: 0.9994 MB / 0.6458 GB, free: 7.879 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.006834/0.1997, allocations: 3.835 MB / 0.6496 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007565/0.2073, allocations: 2.349 MB / 0.6519 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.2089, allocations: 0.684 MB / 0.6525 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.026e-05/0.209, allocations: 12.98 kB / 0.6525 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.209, allocations: 47.56 kB / 0.6526 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.747e-06/0.209, allocations: 0 / 0.6526 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.02855/0.2376, allocations: 6.837 MB / 0.6593 GB, free: 9.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.2377, allocations: 145.5 kB / 0.6594 GB, free: 9.598 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.2396, allocations: 1.071 MB / 0.6604 GB, free: 8.512 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.2398, allocations: 49.7 kB / 0.6605 GB, free: 8.457 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.2402, allocations: 492.7 kB / 0.661 GB, free: 7.969 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004746/0.2407, allocations: 351.1 kB / 0.6613 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005971/0.2413, allocations: 267.5 kB / 0.6616 GB, free: 7.355 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2414, allocations: 309.1 kB / 0.6618 GB, free: 7.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.2431, allocations: 0.7621 MB / 0.6626 GB, free: 6.285 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.2449, allocations: 0.939 MB / 0.6635 GB, free: 5.301 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02476/0.2697, allocations: 5.563 MB / 0.6689 GB, free: 15.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.2697, allocations: 0 / 0.6689 GB, free: 15.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01486/0.2846, allocations: 4.308 MB / 0.6731 GB, free: 11.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.187e-05/0.2847, allocations: 59.41 kB / 0.6732 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.2848, allocations: 4 kB / 0.6732 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005855/0.2906, allocations: 1.532 MB / 0.6747 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.2922, allocations: 279.5 kB / 0.675 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/0.3136, allocations: 8.245 MB / 0.683 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.3157, allocations: 186.8 kB / 0.6832 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/0.3161, allocations: 51.97 kB / 0.6833 GB, free: 0.8008 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00255/0.3186, allocations: 0.9556 MB / 0.6842 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001926/0.3206, allocations: 0.9156 MB / 0.6851 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02436/0.345, allocations: 5.528 MB / 0.6905 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.531e-05/0.345, allocations: 0 / 0.6905 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=186) (initialization_lambda0): time 0.01473/0.3598, allocations: 4.289 MB / 0.6947 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/0.3599, allocations: 67.33 kB / 0.6947 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.3599, allocations: 3.938 kB / 0.6947 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005739/0.3657, allocations: 1.53 MB / 0.6962 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.3672, allocations: 275.6 kB / 0.6965 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.388, allocations: 8.23 MB / 0.7045 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.39, allocations: 167 kB / 0.7047 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.3903, allocations: 59.97 kB / 0.7047 GB, free: 10.46 MB / 0.5137 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.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 (156): * 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: 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 {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006263/0.391, allocations: 280.2 kB / 0.705 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/0.3914, allocations: 122.5 kB / 0.7051 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.4044, allocations: 3.767 MB / 0.7088 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.095e-05/0.4045, allocations: 7.969 kB / 0.7088 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.4045, allocations: 8 kB / 0.7088 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/0.4051, allocations: 219.2 kB / 0.709 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004095/0.4055, allocations: 24 kB / 0.7091 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.4069, allocations: 103.9 kB / 0.7092 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/0.408, allocations: 420.3 kB / 0.7096 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006651/0.4146, allocations: 2.13 MB / 0.7116 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005043/0.4197, allocations: 2.276 MB / 0.7139 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001437/0.4212, allocations: 0.5738 MB / 0.7144 GB, free: 444 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.3112/0.7324, allocations: 0.7242 MB / 0.7151 GB, free: 84.71 MB / 0.5137 GB Notification: Performance of Backend: time 1.132e-06/0.7324, allocations: 0 / 0.7151 GB, free: 84.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01215/0.7446, allocations: 3.935 MB / 0.719 GB, free: 84.02 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004022/0.7487, allocations: 2.887 MB / 0.7218 GB, free: 82.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.05081/0.7995, allocations: 32.95 MB / 0.754 GB, free: 66.03 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)