Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 108.1 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.1 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001515, allocations: 192.5 kB / 290.4 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.453/0.453, allocations: 78.53 MB / 419.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 79.88 kB / 0.5543 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3309, allocations: 68.16 MB / 0.6209 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses): time 0.01043/0.3414, allocations: 13.09 MB / 0.6336 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00721/0.3486, allocations: 3.556 MB / 0.6371 GB, free: 9.531 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.3504, allocations: 20 kB / 0.6371 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.3517, allocations: 0.5187 MB / 0.6376 GB, free: 8.988 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer2.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.003602/0.3553, allocations: 1.56 MB / 0.6392 GB, free: 7.426 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen1.gen.xq <> gen1.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen2.gen.xq <> gen2.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen3.gen.xq <> gen3.gen.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.3579, allocations: 1.313 MB / 0.6404 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004354/0.3623, allocations: 4.038 MB / 0.6444 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.3634, allocations: 0.9308 MB / 0.6453 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.3653, allocations: 1.576 MB / 0.6468 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.3671, allocations: 1.902 MB / 0.6487 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004545/0.3676, allocations: 356 kB / 0.649 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008462/0.3685, allocations: 0.4999 MB / 0.6495 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000615/0.3691, allocations: 0.8093 MB / 0.6503 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.3705, allocations: 1.674 MB / 0.6519 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004059/0.3745, allocations: 4.419 MB / 0.6563 GB, free: 5.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3745, allocations: 0 / 0.6563 GB, free: 5.812 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3746, allocations: 7.938 kB / 0.6563 GB, free: 5.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.621e-05/0.3746, allocations: 0 / 0.6563 GB, free: 5.805 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: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.01531/0.3899, allocations: 5.42 MB / 0.6616 GB, free: 284 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.39, allocations: 8.031 kB / 0.6616 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.4002, allocations: 1.629 MB / 0.6632 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/0.4039, allocations: 2.019 MB / 0.6651 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/0.4043, allocations: 468.6 kB / 0.6656 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.4047, allocations: 199.9 kB / 0.6658 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/0.409, allocations: 2.38 MB / 0.6681 GB, free: 9.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.4091, allocations: 11.94 kB / 0.6681 GB, free: 9.422 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.4093, allocations: 72 kB / 0.6682 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.4093, allocations: 44 kB / 0.6682 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004277/0.4136, allocations: 2.212 MB / 0.6704 GB, free: 7.094 MB / 478.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.01462/0.4282, allocations: 8.988 MB / 0.6791 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00976/0.438, allocations: 4.393 MB / 0.6834 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.4408, allocations: 1.531 MB / 0.6849 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.441, allocations: 41.95 kB / 0.685 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003085/0.4441, allocations: 1.763 MB / 0.6867 GB, free: 5.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=236): time 4.869e-06/0.4441, allocations: 0 / 0.6867 GB, free: 5.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=236): time 0.07753/0.5216, allocations: 18.33 MB / 0.7046 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.5218, allocations: 235.7 kB / 0.7048 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003889/0.5257, allocations: 2.507 MB / 0.7073 GB, free: 500 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003974/0.5261, allocations: 69.7 kB / 0.7073 GB, free: 424 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008522/0.5269, allocations: 1.143 MB / 0.7085 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008731/0.5278, allocations: 0.8792 MB / 0.7093 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.5289, allocations: 0.5736 MB / 0.7099 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.529, allocations: 313.1 kB / 0.7102 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.5321, allocations: 1.58 MB / 0.7117 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.5354, allocations: 1.906 MB / 0.7136 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04406/0.5795, allocations: 11 MB / 0.7243 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.5796, allocations: 4 kB / 0.7243 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02078/0.6003, allocations: 7.442 MB / 0.7316 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.806e-05/0.6005, allocations: 174.2 kB / 0.7318 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.6005, allocations: 8 kB / 0.7318 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01071/0.6112, allocations: 2.815 MB / 0.7345 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/0.6145, allocations: 0.6281 MB / 0.7351 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03607/0.6506, allocations: 19.19 MB / 0.7539 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/0.6547, allocations: 406 kB / 0.7543 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006693/0.6554, allocations: 116 kB / 0.7544 GB, free: 15.04 MB / 0.5606 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.delta:VARIABLE(flow=false start = gen1.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.delta:VARIABLE(flow=false start = gen2.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.gen.e1q:VARIABLE(start = gen2.gen.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: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,2), (29,30), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001861/0.6573, allocations: 0.618 MB / 0.755 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009262/0.6582, allocations: 317.9 kB / 0.7553 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02318/0.6814, allocations: 7.337 MB / 0.7624 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/0.6815, allocations: 19.89 kB / 0.7625 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.6815, allocations: 3.938 kB / 0.7625 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008994/0.6824, allocations: 450.4 kB / 0.7629 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006282/0.683, allocations: 52 kB / 0.7629 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/0.6855, allocations: 215.8 kB / 0.7631 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002058/0.6876, allocations: 0.7468 MB / 0.7639 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01432/0.7019, allocations: 5.104 MB / 0.7689 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2774/0.9794, allocations: 4.97 MB / 0.7737 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002909/0.9823, allocations: 1.3 MB / 0.775 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003027/0.9854, allocations: 1.672 MB / 0.7766 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of Backend: time 1.042e-06/0.9854, allocations: 0 / 0.7766 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01135/0.9968, allocations: 4.749 MB / 0.7812 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007183/1.004, allocations: 6.625 MB / 0.7877 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.06643/1.07, allocations: 51.29 MB / 0.8378 GB, free: 79.34 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)