Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 106.6 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3967/0.3967, allocations: 78.51 MB / 418.5 MB, free: 8.586 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 64.12 kB / 497.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2264, allocations: 68.17 MB / 0.5524 GB, free: 19.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.008088/0.2345, allocations: 14.37 MB / 0.5664 GB, free: 5.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.2396, allocations: 3.597 MB / 0.57 GB, free: 1.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.2407, allocations: 35.94 kB / 0.57 GB, free: 1.828 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.2415, allocations: 445.1 kB / 0.5704 GB, free: 1.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.2438, allocations: 1.22 MB / 0.5716 GB, free: 176 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.2463, allocations: 1.407 MB / 0.573 GB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002926/0.2492, allocations: 3.565 MB / 0.5765 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008765/0.2501, allocations: 0.8038 MB / 0.5773 GB, free: 10.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.2514, allocations: 1.403 MB / 0.5786 GB, free: 8.949 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.253, allocations: 1.862 MB / 0.5804 GB, free: 7.078 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003138/0.2534, allocations: 172 kB / 0.5806 GB, free: 6.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.254, allocations: 315.9 kB / 0.5809 GB, free: 6.602 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004662/0.2544, allocations: 0.6568 MB / 0.5815 GB, free: 5.941 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.2555, allocations: 1.526 MB / 0.583 GB, free: 4.406 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.2581, allocations: 3.806 MB / 0.5868 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2581, allocations: 0 / 0.5868 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2582, allocations: 0 / 0.5868 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.932e-05/0.2582, allocations: 0 / 0.5868 GB, free: 0.5859 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02026/0.2785, allocations: 6.575 MB / 0.5932 GB, free: 9.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2785, allocations: 12.03 kB / 0.5932 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.2916, allocations: 2.279 MB / 0.5954 GB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.2944, allocations: 1.874 MB / 0.5972 GB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005681/0.295, allocations: 0.7252 MB / 0.5979 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.2954, allocations: 220 kB / 0.5982 GB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005311/0.3007, allocations: 3.027 MB / 0.6011 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.3007, allocations: 0 / 0.6011 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.3009, allocations: 83.94 kB / 0.6012 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.301, allocations: 55.94 kB / 0.6012 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/0.3061, allocations: 2.788 MB / 0.604 GB, free: 14.57 MB / 426.7 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.01511/0.3213, allocations: 9.864 MB / 0.6136 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009928/0.3312, allocations: 4.184 MB / 0.6177 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/0.3348, allocations: 1.968 MB / 0.6196 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.3351, allocations: 41.95 kB / 0.6197 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003997/0.3391, allocations: 2.228 MB / 0.6218 GB, free: 11.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 4.088e-06/0.3391, allocations: 0 / 0.6218 GB, free: 11.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=247): time 0.1192/0.4583, allocations: 29.46 MB / 0.6506 GB, free: 14.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.4584, allocations: 188.2 kB / 0.6508 GB, free: 13.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.4613, allocations: 2.277 MB / 0.653 GB, free: 11.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004286/0.4617, allocations: 73.7 kB / 0.6531 GB, free: 11.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007307/0.4625, allocations: 1.176 MB / 0.6542 GB, free: 10.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009087/0.4634, allocations: 0.8665 MB / 0.6551 GB, free: 9.453 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009941/0.4644, allocations: 0.5577 MB / 0.6556 GB, free: 8.887 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.4645, allocations: 301.1 kB / 0.6559 GB, free: 8.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003976/0.4685, allocations: 1.951 MB / 0.6578 GB, free: 6.637 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004241/0.4727, allocations: 2.314 MB / 0.6601 GB, free: 4.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04989/0.5226, allocations: 14.01 MB / 0.6737 GB, free: 5.988 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.5227, allocations: 8 kB / 0.6738 GB, free: 5.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.2423/0.765, allocations: 12.27 MB / 0.6857 GB, free: 108.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.7651, allocations: 120.2 kB / 0.6859 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.7651, allocations: 5.75 kB / 0.6859 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01785/0.783, allocations: 5.322 MB / 0.6911 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/0.7858, allocations: 0.5621 MB / 0.6916 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04944/0.8352, allocations: 21.59 MB / 0.7127 GB, free: 95.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/0.8391, allocations: 499.4 kB / 0.7132 GB, free: 95.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004152/0.8395, allocations: 112 kB / 0.7133 GB, free: 95.31 MB / 490.7 MB 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 order3_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: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009759/0.8405, allocations: 0.5305 MB / 0.7138 GB, free: 94.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004733/0.841, allocations: 302.7 kB / 0.7141 GB, free: 94.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03611/0.8771, allocations: 11.9 MB / 0.7257 GB, free: 82.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.8772, allocations: 24 kB / 0.7257 GB, free: 82.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/0.8772, allocations: 20 kB / 0.7257 GB, free: 82.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.986e-05/0.8772, allocations: 11.95 kB / 0.7257 GB, free: 82.51 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.03844/0.9157, allocations: 15.48 MB / 0.7409 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.9157, allocations: 7.719 kB / 0.7409 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.9171, allocations: 247.7 kB / 0.7411 GB, free: 66.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01579/0.9329, allocations: 5.283 MB / 0.7463 GB, free: 61.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003839/0.9333, allocations: 59.86 kB / 0.7463 GB, free: 61.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0467/0.9801, allocations: 22.69 MB / 0.7685 GB, free: 38.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9801, allocations: 0 / 0.7685 GB, free: 38.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2544/1.234, allocations: 93.24 MB / 0.8595 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006653/1.235, allocations: 408.9 kB / 0.8599 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004578/1.236, allocations: 44 kB / 0.86 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.239, allocations: 299.6 kB / 0.8603 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001931/1.24, allocations: 0.5644 MB / 0.8608 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.241, allocations: 67.98 kB / 0.8609 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002049/1.243, allocations: 1.503 MB / 0.8623 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/1.243, allocations: 0 / 0.8623 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00444/1.247, allocations: 1.643 MB / 0.8639 GB, free: 3.742 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004379/1.248, allocations: 173.6 kB / 0.8641 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01684/1.265, allocations: 6.595 MB / 0.8706 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.265, allocations: 0 / 0.8706 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01244/1.277, allocations: 4.402 MB / 0.8749 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/1.279, allocations: 275.5 kB / 0.8751 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.299, allocations: 10.03 MB / 0.8849 GB, free: 14.03 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.301, allocations: 1.923 MB / 0.8868 GB, free: 12.07 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001145/1.302, allocations: 274.4 kB / 0.8871 GB, free: 11.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/1.302, allocations: 167.4 kB / 0.8872 GB, free: 11.64 MB / 0.573 GB Notification: Performance of SimCode: time 5.01e-07/1.302, allocations: 0 / 0.8872 GB, free: 11.64 MB / 0.573 GB Notification: Performance of Templates: time 0.2824/1.585, allocations: 87.69 MB / 0.9728 GB, free: 138.4 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)