Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 120.3 kB / 16.42 MB, free: 6.027 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.321/1.321, allocations: 222.9 MB / 240.1 MB, free: 4.578 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.001456/0.001456, allocations: 196.4 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4396/0.4396, allocations: 78.53 MB / 419.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 84.16 kB / 0.5544 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.297, allocations: 68.16 MB / 0.6209 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI): time 0.009845/0.3069, allocations: 13.47 MB / 0.6341 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007796/0.3147, allocations: 3.484 MB / 0.6375 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.3172, allocations: 28 kB / 0.6375 GB, free: 9.359 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.3189, allocations: 0.5693 MB / 0.6381 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.3239, allocations: 1.547 MB / 0.6396 GB, free: 7.234 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 order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.3276, allocations: 1.553 MB / 0.6411 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00458/0.3322, allocations: 3.663 MB / 0.6447 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.3336, allocations: 0.8266 MB / 0.6455 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.3356, allocations: 1.49 MB / 0.6469 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.3381, allocations: 1.945 MB / 0.6488 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008401/0.3389, allocations: 276 kB / 0.6491 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.3402, allocations: 419.9 kB / 0.6495 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009005/0.3411, allocations: 0.7624 MB / 0.6502 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.3429, allocations: 1.615 MB / 0.6518 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.3469, allocations: 3.953 MB / 0.6557 GB, free: 6.668 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3469, allocations: 0 / 0.6557 GB, free: 6.668 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3469, allocations: 0 / 0.6557 GB, free: 6.668 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.746e-05/0.347, allocations: 4 kB / 0.6557 GB, free: 6.664 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.02268/0.3697, allocations: 6.631 MB / 0.6622 GB, free: 15.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3697, allocations: 12.03 kB / 0.6622 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.3847, allocations: 2.288 MB / 0.6644 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004481/0.3892, allocations: 1.896 MB / 0.6663 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000774/0.39, allocations: 0.671 MB / 0.6669 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009022/0.391, allocations: 212 kB / 0.6671 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007647/0.3986, allocations: 3.044 MB / 0.6701 GB, free: 7.559 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.548e-05/0.3987, allocations: 0 / 0.6701 GB, free: 7.559 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003692/0.3991, allocations: 83.94 kB / 0.6702 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.3991, allocations: 56 kB / 0.6702 GB, free: 7.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006505/0.4056, allocations: 2.815 MB / 0.673 GB, free: 4.59 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.01919/0.4249, allocations: 9.884 MB / 0.6826 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.4357, allocations: 4.086 MB / 0.6866 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004663/0.4404, allocations: 1.983 MB / 0.6885 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.4409, allocations: 45.95 kB / 0.6886 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.441, allocations: 60.56 kB / 0.6886 GB, free: 3.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.24e-06/0.441, allocations: 0 / 0.6886 GB, free: 3.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=242): time 0.1227/0.5637, allocations: 29.47 MB / 0.7174 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.5638, allocations: 235.6 kB / 0.7177 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/0.5677, allocations: 2.265 MB / 0.7199 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006201/0.5683, allocations: 69.7 kB / 0.7199 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009852/0.5693, allocations: 1.174 MB / 0.7211 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.5706, allocations: 0.8985 MB / 0.722 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/0.5725, allocations: 0.5341 MB / 0.7225 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.5726, allocations: 305.1 kB / 0.7228 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/0.5771, allocations: 1.948 MB / 0.7247 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/0.5818, allocations: 2.318 MB / 0.7269 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05395/0.6358, allocations: 13.99 MB / 0.7406 GB, free: 14.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.6358, allocations: 3.938 kB / 0.7406 GB, free: 14.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.0407/0.6765, allocations: 12.46 MB / 0.7528 GB, free: 1.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-05/0.6767, allocations: 118.8 kB / 0.7529 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.6767, allocations: 8 kB / 0.7529 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.018/0.6947, allocations: 5.277 MB / 0.758 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.6977, allocations: 0.5344 MB / 0.7586 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3371/1.035, allocations: 23.2 MB / 0.7812 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/1.039, allocations: 482.7 kB / 0.7817 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005741/1.04, allocations: 110.7 kB / 0.7818 GB, free: 121.3 MB / 0.5606 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004983/1.045, allocations: 2.278 MB / 0.784 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004163/1.049, allocations: 2.287 MB / 0.7862 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04894/1.098, allocations: 13.92 MB / 0.7998 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.28e-05/1.098, allocations: 3.938 kB / 0.7998 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.03641/1.134, allocations: 12.42 MB / 0.812 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.407e-05/1.134, allocations: 114.8 kB / 0.8121 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.134, allocations: 8 kB / 0.8121 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01566/1.15, allocations: 5.278 MB / 0.8172 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/1.153, allocations: 0.5188 MB / 0.8177 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05138/1.204, allocations: 23.22 MB / 0.8404 GB, free: 78.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/1.208, allocations: 437 kB / 0.8408 GB, free: 77.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005586/1.209, allocations: 112 kB / 0.8409 GB, free: 77.53 MB / 0.5606 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.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 (310): * Single equations (assignments): 305 * 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.0008358/1.21, allocations: 391.4 kB / 0.8413 GB, free: 77.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007677/1.21, allocations: 306 kB / 0.8416 GB, free: 76.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0345/1.245, allocations: 11.68 MB / 0.853 GB, free: 65.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.097e-05/1.245, allocations: 11.95 kB / 0.853 GB, free: 65.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.245, allocations: 4 kB / 0.853 GB, free: 65.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007651/1.246, allocations: 421.1 kB / 0.8534 GB, free: 64.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007019/1.246, allocations: 51.98 kB / 0.8535 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/1.249, allocations: 283.6 kB / 0.8538 GB, free: 64.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003945/1.253, allocations: 1.39 MB / 0.8551 GB, free: 62.97 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01451/1.268, allocations: 5.683 MB / 0.8607 GB, free: 57.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01166/1.28, allocations: 5.927 MB / 0.8665 GB, free: 51.33 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003416/1.283, allocations: 1.62 MB / 0.868 GB, free: 49.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002004/1.285, allocations: 1.495 MB / 0.8695 GB, free: 48.21 MB / 0.5606 GB Notification: Performance of Backend: time 6.82e-07/1.285, allocations: 5.203 kB / 0.8695 GB, free: 48.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02757/1.313, allocations: 9.822 MB / 0.8791 GB, free: 38.28 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00705/1.32, allocations: 6.335 MB / 0.8853 GB, free: 31.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.1189/1.439, allocations: 86.38 MB / 0.9696 GB, free: 9.559 MB / 0.6231 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)