Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 112.3 kB / 16.42 MB, free: 6.508 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.338/1.338, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001347/0.001347, allocations: 195.3 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4476/0.4476, allocations: 78.53 MB / 419.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 79.88 kB / 0.5544 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2803, allocations: 68.16 MB / 0.6209 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI): time 0.01031/0.2907, allocations: 13.62 MB / 0.6342 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007749/0.2985, allocations: 3.539 MB / 0.6377 GB, free: 9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.3005, allocations: 31.94 kB / 0.6377 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.3023, allocations: 0.5615 MB / 0.6383 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004584/0.3069, allocations: 1.577 MB / 0.6398 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.3106, allocations: 1.558 MB / 0.6413 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004643/0.3152, allocations: 3.753 MB / 0.645 GB, free: 1.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.3165, allocations: 0.8228 MB / 0.6458 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.3185, allocations: 1.525 MB / 0.6473 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.321, allocations: 1.991 MB / 0.6492 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007417/0.3217, allocations: 288 kB / 0.6495 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.3228, allocations: 435.9 kB / 0.6499 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008168/0.3236, allocations: 0.7779 MB / 0.6507 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.3255, allocations: 1.643 MB / 0.6523 GB, free: 9.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.3299, allocations: 4.027 MB / 0.6562 GB, free: 5.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.33, allocations: 3.938 kB / 0.6562 GB, free: 5.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.33, allocations: 0 / 0.6562 GB, free: 5.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001052/0.3301, allocations: 0 / 0.6562 GB, free: 5.938 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.02281/0.3529, allocations: 6.732 MB / 0.6628 GB, free: 15.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.353, allocations: 8.031 kB / 0.6628 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.3678, allocations: 2.296 MB / 0.665 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.3716, allocations: 1.932 MB / 0.6669 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000616/0.3722, allocations: 0.6711 MB / 0.6676 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004894/0.3727, allocations: 212 kB / 0.6678 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006185/0.3789, allocations: 3.068 MB / 0.6708 GB, free: 6.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-05/0.379, allocations: 3.938 kB / 0.6708 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/0.3792, allocations: 84 kB / 0.6709 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/0.3793, allocations: 52 kB / 0.6709 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006038/0.3853, allocations: 2.831 MB / 0.6737 GB, free: 3.684 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.01844/0.4038, allocations: 10 MB / 0.6834 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.4146, allocations: 4.129 MB / 0.6875 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004237/0.4188, allocations: 1.99 MB / 0.6894 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/0.4192, allocations: 46.03 kB / 0.6895 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.4193, allocations: 64.5 kB / 0.6895 GB, free: 2.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=244): time 4.689e-06/0.4193, allocations: 0 / 0.6895 GB, free: 2.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=244): time 0.1242/0.5435, allocations: 29.02 MB / 0.7179 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.5437, allocations: 231.6 kB / 0.7181 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003694/0.5474, allocations: 2.325 MB / 0.7204 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005887/0.548, allocations: 65.7 kB / 0.7204 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009261/0.5489, allocations: 1.201 MB / 0.7216 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/0.5502, allocations: 0.9063 MB / 0.7225 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/0.5518, allocations: 0.546 MB / 0.723 GB, free: 400 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.5519, allocations: 305.1 kB / 0.7233 GB, free: 92 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004621/0.5565, allocations: 1.984 MB / 0.7252 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004922/0.5615, allocations: 2.358 MB / 0.7275 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05687/0.6184, allocations: 14.32 MB / 0.7415 GB, free: 13.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.6184, allocations: 4 kB / 0.7415 GB, free: 13.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.04179/0.6602, allocations: 12.47 MB / 0.7537 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/0.6604, allocations: 118.8 kB / 0.7538 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.6604, allocations: 4 kB / 0.7538 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01846/0.6789, allocations: 5.442 MB / 0.7591 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.6818, allocations: 0.5344 MB / 0.7597 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3043/0.9861, allocations: 23.66 MB / 0.7828 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/0.99, allocations: 477.8 kB / 0.7832 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/0.9904, allocations: 116.8 kB / 0.7833 GB, free: 120.5 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 Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004402/0.9948, allocations: 2.311 MB / 0.7856 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003871/0.9987, allocations: 2.323 MB / 0.7879 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05069/1.049, allocations: 14.26 MB / 0.8018 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.365e-05/1.049, allocations: 4 kB / 0.8018 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=405) (initialization_lambda0): time 0.0369/1.086, allocations: 12.41 MB / 0.8139 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/1.086, allocations: 118.8 kB / 0.814 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.086, allocations: 12.44 kB / 0.814 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01681/1.103, allocations: 5.441 MB / 0.8194 GB, free: 99.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/1.106, allocations: 0.5266 MB / 0.8199 GB, free: 99.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05411/1.16, allocations: 23.67 MB / 0.843 GB, free: 75.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/1.164, allocations: 446.8 kB / 0.8434 GB, free: 74.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004293/1.165, allocations: 112 kB / 0.8435 GB, free: 74.72 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 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 311 * 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 {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0006607/1.165, allocations: 401.3 kB / 0.8439 GB, free: 74.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006138/1.166, allocations: 318 kB / 0.8442 GB, free: 74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03517/1.201, allocations: 11.72 MB / 0.8556 GB, free: 62.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.298e-05/1.201, allocations: 11.95 kB / 0.8557 GB, free: 62.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.201, allocations: 4 kB / 0.8557 GB, free: 62.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/1.202, allocations: 425.9 kB / 0.8561 GB, free: 61.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008042/1.203, allocations: 51.98 kB / 0.8561 GB, free: 61.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.206, allocations: 285.3 kB / 0.8564 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003879/1.21, allocations: 1.387 MB / 0.8577 GB, free: 60.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01492/1.225, allocations: 5.787 MB / 0.8634 GB, free: 54.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01104/1.236, allocations: 5.994 MB / 0.8693 GB, free: 48.29 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003338/1.239, allocations: 1.636 MB / 0.8708 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002057/1.241, allocations: 1.535 MB / 0.8723 GB, free: 45.12 MB / 0.5606 GB Notification: Performance of Backend: time 5.41e-07/1.241, allocations: 0 / 0.8723 GB, free: 45.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02696/1.268, allocations: 10.12 MB / 0.8822 GB, free: 34.89 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006764/1.275, allocations: 6.488 MB / 0.8886 GB, free: 28.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.1217/1.397, allocations: 92.2 MB / 0.9786 GB, free: 184 kB / 0.6231 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)