Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0008547/0.0008547, allocations: 176.6 kB / 15.42 MB, free: 5.402 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.197/1.197, allocations: 222.9 MB / 239 MB, free: 1.824 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006848/0.0006848, allocations: 92.44 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4465/0.4465, allocations: 78.41 MB / 418.9 MB, free: 44.29 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 12 kB / 498.4 MB, free: 3.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2925, allocations: 68.74 MB / 0.5539 GB, free: 39.6 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.0102/0.3027, allocations: 14.37 MB / 0.5679 GB, free: 31.72 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006489/0.3092, allocations: 3.605 MB / 0.5714 GB, free: 30.23 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/0.3119, allocations: 30.72 kB / 0.5715 GB, free: 30.23 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.3134, allocations: 437.8 kB / 0.5719 GB, free: 30.05 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.3176, allocations: 1.234 MB / 0.5731 GB, free: 29.22 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.3203, allocations: 1.396 MB / 0.5745 GB, free: 28.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003072/0.3234, allocations: 3.521 MB / 0.5779 GB, free: 26.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000905/0.3243, allocations: 0.7919 MB / 0.5787 GB, free: 26.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.3258, allocations: 1.329 MB / 0.58 GB, free: 25.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.3272, allocations: 1.77 MB / 0.5817 GB, free: 24.86 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003542/0.3276, allocations: 145.4 kB / 0.5818 GB, free: 24.85 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006663/0.3283, allocations: 275.5 kB / 0.5821 GB, free: 24.81 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003739/0.3286, allocations: 0.6091 MB / 0.5827 GB, free: 24.44 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008599/0.3295, allocations: 1.465 MB / 0.5841 GB, free: 23.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.3317, allocations: 3.709 MB / 0.5877 GB, free: 22.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3317, allocations: 0 / 0.5877 GB, free: 22.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3317, allocations: 0 / 0.5877 GB, free: 22.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.783e-05/0.3318, allocations: 0 / 0.5877 GB, free: 22.06 MB / 426.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.01744/0.3492, allocations: 5.932 MB / 0.5935 GB, free: 19.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3492, allocations: 9.531 kB / 0.5935 GB, free: 19.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/0.3628, allocations: 2.274 MB / 0.5958 GB, free: 19.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.3658, allocations: 1.875 MB / 0.5976 GB, free: 18.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004693/0.3663, allocations: 0.7282 MB / 0.5983 GB, free: 17.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003668/0.3667, allocations: 217.3 kB / 0.5985 GB, free: 17.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005647/0.3723, allocations: 3.031 MB / 0.6015 GB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.3724, allocations: 0 / 0.6015 GB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.3726, allocations: 89.83 kB / 0.6016 GB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.3726, allocations: 49.94 kB / 0.6016 GB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005226/0.3779, allocations: 2.783 MB / 0.6043 GB, free: 15.34 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.01551/0.3934, allocations: 9.869 MB / 0.614 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009454/0.4029, allocations: 4.18 MB / 0.618 GB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003443/0.4063, allocations: 1.963 MB / 0.62 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.4066, allocations: 44.08 kB / 0.62 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003755/0.4104, allocations: 2.233 MB / 0.6222 GB, free: 4.676 MB / 426.7 MB Notification: Performance of pre-optimization done (n=247): time 3.847e-06/0.4104, allocations: 1.281 kB / 0.6222 GB, free: 4.676 MB / 426.7 MB Notification: Performance of matching and sorting (n=247): time 0.1136/0.524, allocations: 29.46 MB / 0.651 GB, free: 7.449 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/0.5241, allocations: 188.2 kB / 0.6511 GB, free: 7.227 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/0.5279, allocations: 2.281 MB / 0.6534 GB, free: 4.926 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009128/0.5289, allocations: 69.7 kB / 0.6534 GB, free: 4.852 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009858/0.5298, allocations: 1.172 MB / 0.6546 GB, free: 3.668 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.531, allocations: 0.8703 MB / 0.6554 GB, free: 2.785 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/0.5314, allocations: 284.5 kB / 0.6557 GB, free: 2.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.5315, allocations: 309.1 kB / 0.656 GB, free: 2.195 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004086/0.5356, allocations: 1.947 MB / 0.6579 GB, free: 252 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004237/0.5398, allocations: 2.315 MB / 0.6601 GB, free: 13.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05087/0.5907, allocations: 14 MB / 0.6738 GB, free: 15.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.5908, allocations: 4 kB / 0.6738 GB, free: 15.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.03769/0.6285, allocations: 12.28 MB / 0.6858 GB, free: 3.254 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.572e-05/0.6286, allocations: 119.4 kB / 0.6859 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.6286, allocations: 11.92 kB / 0.6859 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01743/0.6461, allocations: 5.313 MB / 0.6911 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/0.6489, allocations: 0.5626 MB / 0.6917 GB, free: 13.22 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05164/0.7006, allocations: 21.61 MB / 0.7128 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/0.7047, allocations: 493.1 kB / 0.7132 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/0.7051, allocations: 108 kB / 0.7133 GB, free: 6.879 MB / 0.5105 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 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.001197/0.7063, allocations: 0.544 MB / 0.7139 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005217/0.7068, allocations: 296.3 kB / 0.7142 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03698/0.7438, allocations: 11.91 MB / 0.7258 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.7439, allocations: 24 kB / 0.7258 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/0.7439, allocations: 16 kB / 0.7258 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.117e-05/0.744, allocations: 19.89 kB / 0.7258 GB, free: 10.01 MB / 0.5261 GB 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.0428/0.7868, allocations: 15.49 MB / 0.741 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/0.7868, allocations: 1.938 kB / 0.741 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.7884, allocations: 243.7 kB / 0.7412 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01703/0.8055, allocations: 5.287 MB / 0.7464 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006656/0.8061, allocations: 47.98 kB / 0.7464 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2672/1.073, allocations: 22.68 MB / 0.7686 GB, free: 164.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.073, allocations: 2.438 kB / 0.7686 GB, free: 164.1 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04166/1.115, allocations: 14.26 MB / 0.7825 GB, free: 163.7 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/1.116, allocations: 407.1 kB / 0.7829 GB, free: 163.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005525/1.116, allocations: 44.28 kB / 0.7829 GB, free: 163.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.119, allocations: 300.9 kB / 0.7832 GB, free: 163.6 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001877/1.121, allocations: 0.5728 MB / 0.7838 GB, free: 163.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.121, allocations: 66.81 kB / 0.7838 GB, free: 163.5 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.001849/1.123, allocations: 1.511 MB / 0.7853 GB, free: 163.4 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.3e-07/1.123, allocations: 0 / 0.7853 GB, free: 163.4 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.002984/1.126, allocations: 1.167 MB / 0.7865 GB, free: 163.4 MB / 0.5574 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.0003706/1.127, allocations: 181 kB / 0.7866 GB, free: 163.3 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01539/1.142, allocations: 6.582 MB / 0.7931 GB, free: 162.1 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.142, allocations: 3.906 kB / 0.7931 GB, free: 162.1 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01182/1.154, allocations: 4.385 MB / 0.7973 GB, free: 160.4 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/1.156, allocations: 260.3 kB / 0.7976 GB, free: 160.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008629/1.165, allocations: 6.394 MB / 0.8038 GB, free: 156.5 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/1.166, allocations: 1.808 MB / 0.8056 GB, free: 155.7 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001204/1.167, allocations: 264.4 kB / 0.8058 GB, free: 155.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/1.168, allocations: 160.3 kB / 0.806 GB, free: 155.7 MB / 0.5574 GB Notification: Performance of SimCode: time 8.51e-07/1.168, allocations: 1 kB / 0.806 GB, free: 155.7 MB / 0.5574 GB Notification: Performance of Templates: time 0.07066/1.239, allocations: 57.75 MB / 0.8624 GB, free: 112.1 MB / 0.5574 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)