Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004865/0.004865, allocations: 171 kB / 15.11 MB, free: 6.039 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.286/1.286, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008663/0.0008665, allocations: 93.69 kB / 290.2 MB, free: 13.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.4358/0.4358, allocations: 78.58 MB / 419.9 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 12 kB / 499.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3144, allocations: 69.35 MB / 0.5558 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4255, allocations: 99.26 MB / 0.6527 GB, free: 7.223 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.4258, allocations: 79.95 kB / 0.6528 GB, free: 7.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08645/0.5122, allocations: 32.23 MB / 0.6843 GB, free: 6.762 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5123, allocations: 0 / 0.6843 GB, free: 6.762 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.32e-05/0.5124, allocations: 28 kB / 0.6843 GB, free: 6.734 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.006039/0.5184, allocations: 2.052 MB / 0.6863 GB, free: 4.617 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5185, allocations: 8.031 kB / 0.6863 GB, free: 4.609 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003566/0.522, allocations: 0.5796 MB / 0.6869 GB, free: 4.027 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.524, allocations: 0.8135 MB / 0.6877 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.5243, allocations: 272.1 kB / 0.6879 GB, free: 2.855 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.5246, allocations: 75.91 kB / 0.688 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.5271, allocations: 1.153 MB / 0.6891 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5271, allocations: 0 / 0.6891 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.5273, allocations: 32 kB / 0.6891 GB, free: 1.586 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.5273, allocations: 19.98 kB / 0.6892 GB, free: 1.566 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.5295, allocations: 1.058 MB / 0.6902 GB, free: 0.5039 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 preOpt removeSimpleEquations (simulation): time 0.007346/0.5369, allocations: 3.854 MB / 0.694 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008098/0.545, allocations: 2.912 MB / 0.6968 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.5452, allocations: 16.98 kB / 0.6968 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/0.5469, allocations: 0.888 MB / 0.6977 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=97): time 2.966e-06/0.5469, allocations: 0 / 0.6977 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.02947/0.5764, allocations: 8.436 MB / 0.7059 GB, free: 52 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/0.5765, allocations: 115.8 kB / 0.706 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.5782, allocations: 0.9532 MB / 0.707 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.5784, allocations: 45.64 kB / 0.707 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.5789, allocations: 0.517 MB / 0.7075 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.5793, allocations: 342.9 kB / 0.7078 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.5794, allocations: 28.03 kB / 0.7079 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5796, allocations: 341.9 kB / 0.7082 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.581, allocations: 0.6543 MB / 0.7088 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.5825, allocations: 0.7848 MB / 0.7096 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.5841, allocations: 0.7589 MB / 0.7103 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5841, allocations: 0 / 0.7103 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01401/0.5981, allocations: 4.704 MB / 0.7149 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/0.5982, allocations: 59.41 kB / 0.715 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.5982, allocations: 4 kB / 0.715 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006439/0.6047, allocations: 1.92 MB / 0.7169 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6059, allocations: 199.8 kB / 0.7171 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02122/0.6272, allocations: 9.416 MB / 0.7263 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.6289, allocations: 207 kB / 0.7265 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.6291, allocations: 39.98 kB / 0.7265 GB, free: 10.69 MB / 0.5261 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006061/0.6297, allocations: 285.1 kB / 0.7268 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.6299, allocations: 130.4 kB / 0.7269 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.6435, allocations: 4.752 MB / 0.7315 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.6435, allocations: 12 kB / 0.7315 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.6435, allocations: 8 kB / 0.7315 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.6436, allocations: 7.938 kB / 0.7316 GB, free: 5.457 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.01581/0.6594, allocations: 6.334 MB / 0.7377 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.6594, allocations: 4 kB / 0.7377 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.6602, allocations: 107.8 kB / 0.7378 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005721/0.6659, allocations: 1.879 MB / 0.7397 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/0.6662, allocations: 24 kB / 0.7397 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/0.6867, allocations: 10.12 MB / 0.7496 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6868, allocations: 7.922 kB / 0.7496 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.7028, allocations: 5.693 MB / 0.7552 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/0.7034, allocations: 227.3 kB / 0.7554 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.7036, allocations: 28 kB / 0.7554 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.7049, allocations: 144.1 kB / 0.7555 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005787/0.7055, allocations: 196.7 kB / 0.7557 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.7055, allocations: 31.98 kB / 0.7558 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001153/0.7067, allocations: 0.7475 MB / 0.7565 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7067, allocations: 0 / 0.7565 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001335/0.7081, allocations: 451.4 kB / 0.7569 GB, free: 11.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002801/0.7084, allocations: 159.1 kB / 0.7571 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006347/0.7147, allocations: 2.517 MB / 0.7595 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.7148, allocations: 4.25 kB / 0.7595 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004421/0.7192, allocations: 1.808 MB / 0.7613 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.7201, allocations: 113.6 kB / 0.7614 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.7245, allocations: 2.78 MB / 0.7641 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/0.7252, allocations: 1.151 MB / 0.7652 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005611/0.7258, allocations: 102.9 kB / 0.7653 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.726, allocations: 71.36 kB / 0.7654 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/0.7261, allocations: 4 kB / 0.7654 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of Templates: time 0.2383/0.9644, allocations: 20.93 MB / 0.7858 GB, free: 145.7 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)