Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001061/0.001061, allocations: 182.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.251/1.251, allocations: 222.9 MB / 239.6 MB, free: 11 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.001019/0.001019, allocations: 110.9 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4246/0.4246, allocations: 78.47 MB / 418.5 MB, free: 8.867 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 497.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2361, allocations: 68.11 MB / 0.5523 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.008818/0.245, allocations: 14.38 MB / 0.5663 GB, free: 5.805 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.2509, allocations: 3.604 MB / 0.5699 GB, free: 2.191 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.253, allocations: 32 kB / 0.5699 GB, free: 2.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.2541, allocations: 437.2 kB / 0.5703 GB, free: 1.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.2574, allocations: 1.239 MB / 0.5715 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.2602, allocations: 1.403 MB / 0.5729 GB, free: 15.11 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.264, allocations: 3.561 MB / 0.5764 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.2651, allocations: 0.804 MB / 0.5771 GB, free: 10.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.2669, allocations: 1.399 MB / 0.5785 GB, free: 9.277 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.2689, allocations: 1.87 MB / 0.5803 GB, free: 7.398 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004355/0.2693, allocations: 176 kB / 0.5805 GB, free: 7.227 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.2701, allocations: 303.9 kB / 0.5808 GB, free: 6.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004987/0.2706, allocations: 0.6568 MB / 0.5814 GB, free: 6.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.2719, allocations: 1.526 MB / 0.5829 GB, free: 4.734 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.2753, allocations: 3.806 MB / 0.5866 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2753, allocations: 0 / 0.5866 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2753, allocations: 0 / 0.5866 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.432e-05/0.2754, allocations: 4 kB / 0.5866 GB, free: 0.9102 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.02266/0.298, allocations: 6.586 MB / 0.5931 GB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2981, allocations: 8.031 kB / 0.5931 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.3122, allocations: 2.275 MB / 0.5953 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.3156, allocations: 1.863 MB / 0.5971 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006114/0.3162, allocations: 0.7291 MB / 0.5978 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004736/0.3167, allocations: 216 kB / 0.598 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005989/0.3227, allocations: 3.027 MB / 0.601 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.3228, allocations: 0 / 0.601 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.323, allocations: 91.94 kB / 0.6011 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.323, allocations: 48 kB / 0.6011 GB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005825/0.3289, allocations: 2.788 MB / 0.6039 GB, free: 14.91 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.01784/0.3467, allocations: 9.868 MB / 0.6135 GB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.3577, allocations: 4.188 MB / 0.6176 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004383/0.3621, allocations: 1.964 MB / 0.6195 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.3625, allocations: 37.97 kB / 0.6195 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004693/0.3672, allocations: 2.235 MB / 0.6217 GB, free: 12.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 4.128e-06/0.3672, allocations: 0 / 0.6217 GB, free: 12.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=247): time 0.1297/0.497, allocations: 29.46 MB / 0.6505 GB, free: 14.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.4971, allocations: 184.3 kB / 0.6507 GB, free: 14.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.5003, allocations: 2.281 MB / 0.6529 GB, free: 11.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000568/0.5009, allocations: 69.7 kB / 0.653 GB, free: 11.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007874/0.5017, allocations: 1.179 MB / 0.6541 GB, free: 10.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009753/0.5027, allocations: 0.8665 MB / 0.655 GB, free: 9.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.5038, allocations: 0.5539 MB / 0.6555 GB, free: 9.219 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.5039, allocations: 313 kB / 0.6558 GB, free: 8.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004267/0.5081, allocations: 1.951 MB / 0.6577 GB, free: 6.957 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.5128, allocations: 2.314 MB / 0.66 GB, free: 4.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05576/0.5686, allocations: 14 MB / 0.6736 GB, free: 6.316 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.5686, allocations: 0 / 0.6736 GB, free: 6.316 MB / 490.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.2601/0.8288, allocations: 12.29 MB / 0.6856 GB, free: 108.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.028e-05/0.8289, allocations: 120.6 kB / 0.6858 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.8289, allocations: 6.188 kB / 0.6858 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01907/0.848, allocations: 5.316 MB / 0.691 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/0.8509, allocations: 0.5582 MB / 0.6915 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05625/0.9071, allocations: 21.61 MB / 0.7126 GB, free: 96.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/0.9113, allocations: 487.9 kB / 0.7131 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006037/0.912, allocations: 120 kB / 0.7132 GB, free: 95.89 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.001531/0.9135, allocations: 0.5217 MB / 0.7137 GB, free: 95.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007831/0.9143, allocations: 298.7 kB / 0.714 GB, free: 95.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03817/0.9525, allocations: 11.9 MB / 0.7256 GB, free: 83.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.9526, allocations: 24.88 kB / 0.7256 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.559e-05/0.9526, allocations: 20 kB / 0.7256 GB, free: 83.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.188e-05/0.9527, allocations: 15.95 kB / 0.7257 GB, free: 83.09 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.04158/0.9943, allocations: 15.48 MB / 0.7408 GB, free: 67.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.9943, allocations: 5.641 kB / 0.7408 GB, free: 67.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.9957, allocations: 247.6 kB / 0.741 GB, free: 67.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01624/1.012, allocations: 5.287 MB / 0.7462 GB, free: 62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003888/1.012, allocations: 59.92 kB / 0.7462 GB, free: 61.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04968/1.062, allocations: 22.68 MB / 0.7684 GB, free: 38.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.062, allocations: 0 / 0.7684 GB, free: 38.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2754/1.337, allocations: 93.24 MB / 0.8594 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007777/1.338, allocations: 404.9 kB / 0.8598 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006002/1.339, allocations: 51.98 kB / 0.8599 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/1.342, allocations: 303.4 kB / 0.8602 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002124/1.344, allocations: 0.5683 MB / 0.8607 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002383/1.344, allocations: 71.98 kB / 0.8608 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002172/1.347, allocations: 1.507 MB / 0.8623 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.347, allocations: 4 kB / 0.8623 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004455/1.351, allocations: 1.635 MB / 0.8639 GB, free: 4.32 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.0004332/1.352, allocations: 169.6 kB / 0.864 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01881/1.37, allocations: 6.598 MB / 0.8705 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.37, allocations: 0 / 0.8705 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01364/1.384, allocations: 4.403 MB / 0.8748 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/1.386, allocations: 263 kB / 0.875 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.407, allocations: 10.04 MB / 0.8848 GB, free: 14.59 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/1.409, allocations: 1.923 MB / 0.8867 GB, free: 12.63 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001213/1.41, allocations: 270.5 kB / 0.8869 GB, free: 12.37 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006191/1.411, allocations: 171.4 kB / 0.8871 GB, free: 12.2 MB / 0.573 GB Notification: Performance of SimCode: time 3.61e-07/1.411, allocations: 0 / 0.8871 GB, free: 12.2 MB / 0.573 GB Notification: Performance of Templates: time 0.2966/1.707, allocations: 87.68 MB / 0.9727 GB, free: 139.2 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)