Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07641/0.07641, allocations: 12.2 MB / 28.08 MB, free: 1.352 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.001153/0.001154, allocations: 121.2 kB / 31.59 MB, free: 4.574 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.484/1.484, allocations: 205.1 MB / 240.1 MB, free: 10.86 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.001373/0.001373, allocations: 192.5 kB / 290.2 MB, free: 13.81 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4587/0.4587, allocations: 78.5 MB / 418.8 MB, free: 11.92 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.002407/0.002407, allocations: 147.7 kB / 499.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3566, allocations: 68.02 MB / 0.5538 GB, free: 22.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01017/0.3668, allocations: 14.42 MB / 0.5679 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008095/0.375, allocations: 3.57 MB / 0.5714 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.3783, allocations: 31.94 kB / 0.5714 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.3799, allocations: 433.1 kB / 0.5718 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.3854, allocations: 1.227 MB / 0.573 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.3886, allocations: 1.403 MB / 0.5744 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005211/0.3938, allocations: 3.694 MB / 0.578 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.3955, allocations: 0.8973 MB / 0.5789 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.3987, allocations: 1.536 MB / 0.5804 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.4019, allocations: 1.948 MB / 0.5823 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007297/0.4026, allocations: 288 kB / 0.5826 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.4038, allocations: 431.8 kB / 0.583 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007122/0.4045, allocations: 0.7585 MB / 0.5837 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.4063, allocations: 1.65 MB / 0.5853 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.41, allocations: 3.086 MB / 0.5883 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.41, allocations: 0 / 0.5883 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.41, allocations: 0 / 0.5883 GB, free: 2.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.821e-05/0.4101, allocations: 0 / 0.5883 GB, free: 2.863 MB / 398.1 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.02304/0.4331, allocations: 6.567 MB / 0.5947 GB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.4332, allocations: 15.98 kB / 0.5948 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.4477, allocations: 2.279 MB / 0.597 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004351/0.4521, allocations: 1.874 MB / 0.5988 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007588/0.4528, allocations: 0.7174 MB / 0.5995 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004626/0.4533, allocations: 219.9 kB / 0.5997 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006338/0.4597, allocations: 3.035 MB / 0.6027 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.4597, allocations: 0 / 0.6027 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.46, allocations: 83.94 kB / 0.6028 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/0.46, allocations: 52 kB / 0.6028 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005638/0.4657, allocations: 2.784 MB / 0.6055 GB, free: 0.8633 MB / 414.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.02113/0.4868, allocations: 9.864 MB / 0.6152 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.4976, allocations: 4.176 MB / 0.6192 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003955/0.5015, allocations: 1.964 MB / 0.6212 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.5018, allocations: 49.89 kB / 0.6212 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004428/0.5063, allocations: 2.227 MB / 0.6234 GB, free: 14.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 5.1e-06/0.5063, allocations: 4 kB / 0.6234 GB, free: 14 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.123/0.6293, allocations: 29.46 MB / 0.6522 GB, free: 420 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.6294, allocations: 188.1 kB / 0.6523 GB, free: 192 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.633, allocations: 2.277 MB / 0.6546 GB, free: 13.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007321/0.6338, allocations: 69.7 kB / 0.6546 GB, free: 13.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008744/0.6347, allocations: 1.18 MB / 0.6558 GB, free: 12.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.6358, allocations: 0.8703 MB / 0.6566 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.6369, allocations: 0.554 MB / 0.6572 GB, free: 11.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.637, allocations: 301.1 kB / 0.6575 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004058/0.6411, allocations: 1.947 MB / 0.6594 GB, free: 8.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004388/0.6455, allocations: 2.314 MB / 0.6616 GB, free: 6.527 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05461/0.7001, allocations: 14.04 MB / 0.6753 GB, free: 8.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.7002, allocations: 4 kB / 0.6753 GB, free: 8.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.3128/1.013, allocations: 12.28 MB / 0.6873 GB, free: 108.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.013, allocations: 116.3 kB / 0.6874 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/1.013, allocations: 6.281 kB / 0.6874 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01963/1.033, allocations: 5.327 MB / 0.6927 GB, free: 108.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/1.036, allocations: 0.566 MB / 0.6932 GB, free: 108.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05544/1.091, allocations: 23.51 MB / 0.7162 GB, free: 98.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004834/1.096, allocations: 490.8 kB / 0.7166 GB, free: 98.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/1.097, allocations: 116 kB / 0.7167 GB, free: 98.01 MB / 494.1 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.001427/1.098, allocations: 0.5228 MB / 0.7173 GB, free: 97.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006936/1.099, allocations: 302.1 kB / 0.7175 GB, free: 97.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03649/1.135, allocations: 11.9 MB / 0.7292 GB, free: 85.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.174e-05/1.135, allocations: 24 kB / 0.7292 GB, free: 85.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.541e-05/1.135, allocations: 22.06 kB / 0.7292 GB, free: 85.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-05/1.136, allocations: 11.95 kB / 0.7292 GB, free: 85.21 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.04088/1.176, allocations: 15.5 MB / 0.7444 GB, free: 69.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/1.177, allocations: 4 kB / 0.7444 GB, free: 69.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.178, allocations: 243.7 kB / 0.7446 GB, free: 69.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01586/1.194, allocations: 5.287 MB / 0.7498 GB, free: 64.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007689/1.195, allocations: 51.98 kB / 0.7498 GB, free: 64.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0528/1.248, allocations: 24.96 MB / 0.7742 GB, free: 38.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.248, allocations: 11.92 kB / 0.7742 GB, free: 38.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04187/1.29, allocations: 14.25 MB / 0.7881 GB, free: 24.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009062/1.291, allocations: 409.6 kB / 0.7885 GB, free: 23.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005421/1.291, allocations: 48 kB / 0.7885 GB, free: 23.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002875/1.294, allocations: 302.2 kB / 0.7888 GB, free: 23.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002082/1.296, allocations: 0.5802 MB / 0.7894 GB, free: 22.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/1.296, allocations: 64.05 kB / 0.7895 GB, free: 22.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001867/1.298, allocations: 1.511 MB / 0.7909 GB, free: 21.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.298, allocations: 0 / 0.7909 GB, free: 21.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003343/1.302, allocations: 1.174 MB / 0.7921 GB, free: 20.23 MB / 494.1 MB 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.0004121/1.302, allocations: 186.1 kB / 0.7923 GB, free: 20.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01903/1.321, allocations: 6.801 MB / 0.7989 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/1.321, allocations: 1.75 kB / 0.7989 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01305/1.334, allocations: 4.398 MB / 0.8032 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/1.338, allocations: 264.8 kB / 0.8034 GB, free: 8.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.349, allocations: 6.467 MB / 0.8098 GB, free: 1.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/1.351, allocations: 1.802 MB / 0.8115 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.352, allocations: 187.4 kB / 0.8117 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/1.352, allocations: 4 kB / 0.8117 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.08869/1.441, allocations: 63.78 MB / 0.874 GB, free: 148 kB / 0.545 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)