Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.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.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008938/0.0008942, allocations: 173.6 kB / 7.643 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.5 MB / 229.6 MB, free: 7.523 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.0008358/0.0008358, allocations: 99.22 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.453/0.453, allocations: 78.07 MB / 409.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.036e-05, allocations: 4 kB / 484.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1411, allocations: 69.35 MB / 0.5413 GB, free: 6.871 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.5269, allocations: 100.3 MB / 0.6393 GB, free: 15.28 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.5272, allocations: 76.52 kB / 0.6393 GB, free: 15.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2507/0.7779, allocations: 97.27 MB / 0.7343 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7779, allocations: 0 / 0.7343 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004781/0.7784, allocations: 87.94 kB / 0.7344 GB, free: 13.48 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02028/0.7987, allocations: 5.723 MB / 0.74 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.7988, allocations: 8.031 kB / 0.74 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.8173, allocations: 2.776 MB / 0.7427 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007374/0.8247, allocations: 2.259 MB / 0.7449 GB, free: 2.547 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001059/0.8258, allocations: 0.8346 MB / 0.7457 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.8273, allocations: 207.9 kB / 0.7459 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008042/0.8354, allocations: 3.439 MB / 0.7493 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/0.842, allocations: 3.579 MB / 0.7528 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-05/0.8421, allocations: 0 / 0.7528 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003242/0.8425, allocations: 0 / 0.7528 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.043e-05/0.8425, allocations: 84 kB / 0.7529 GB, free: 10.24 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.346/1.189, allocations: 18.08 MB / 0.7705 GB, free: 86.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009175/1.198, allocations: 4.637 MB / 0.775 GB, free: 86.33 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003344/1.201, allocations: 2.113 MB / 0.7771 GB, free: 86.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004548/1.202, allocations: 67.72 kB / 0.7772 GB, free: 86.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/1.202, allocations: 76.94 kB / 0.7772 GB, free: 86.25 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 8.406e-06/1.202, allocations: 3.5 kB / 0.7772 GB, free: 86.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.05012/1.252, allocations: 17.15 MB / 0.794 GB, free: 85.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/1.252, allocations: 168.9 kB / 0.7942 GB, free: 85.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004544/1.256, allocations: 2.436 MB / 0.7965 GB, free: 85.31 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009809/1.257, allocations: 29.33 kB / 0.7966 GB, free: 85.28 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001452/1.259, allocations: 2.002 MB / 0.7985 GB, free: 84.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001802/1.261, allocations: 1.241 MB / 0.7997 GB, free: 84.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/1.261, allocations: 0 / 0.7997 GB, free: 84.19 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.261, allocations: 438.8 kB / 0.8001 GB, free: 83.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/1.264, allocations: 1.748 MB / 0.8019 GB, free: 83.87 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/1.267, allocations: 2.303 MB / 0.8041 GB, free: 83.31 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/1.271, allocations: 1.942 MB / 0.806 GB, free: 83.24 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/1.271, allocations: 4.625 kB / 0.806 GB, free: 83.24 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05111/1.322, allocations: 17.25 MB / 0.8228 GB, free: 82.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001245/1.323, allocations: 6.671 MB / 0.8294 GB, free: 75.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.129e-05/1.323, allocations: 14.59 kB / 0.8294 GB, free: 75.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02122/1.344, allocations: 6.848 MB / 0.8361 GB, free: 74.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/1.347, allocations: 0.5322 MB / 0.8366 GB, free: 74.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05333/1.401, allocations: 25.06 MB / 0.8611 GB, free: 66.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005896/1.407, allocations: 0.622 MB / 0.8617 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008489/1.408, allocations: 133.8 kB / 0.8618 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.408, allocations: 3.281 kB / 0.8618 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04526/1.453, allocations: 16.75 MB / 0.8782 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.329e-05/1.453, allocations: 17.58 kB / 0.8782 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02098/1.474, allocations: 6.846 MB / 0.8849 GB, free: 57.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/1.477, allocations: 0.5317 MB / 0.8854 GB, free: 57.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05089/1.528, allocations: 25.03 MB / 0.9098 GB, free: 35.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005879/1.534, allocations: 0.5901 MB / 0.9104 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008287/1.535, allocations: 127.8 kB / 0.9105 GB, free: 34.81 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 317 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009877/1.536, allocations: 213.1 kB / 0.9107 GB, free: 34.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/1.537, allocations: 451 kB / 0.9112 GB, free: 34.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.047/1.584, allocations: 17.6 MB / 0.9283 GB, free: 20.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/1.584, allocations: 36 kB / 0.9284 GB, free: 20.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-05/1.584, allocations: 28 kB / 0.9284 GB, free: 20.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.353e-05/1.584, allocations: 21.95 kB / 0.9284 GB, free: 20.53 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.05364/1.638, allocations: 22.5 MB / 0.9504 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/1.638, allocations: 4 kB / 0.9504 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.64, allocations: 401.8 kB / 0.9508 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02863/1.669, allocations: 7.488 MB / 0.9581 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009233/1.67, allocations: 24.48 kB / 0.9581 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05114/1.721, allocations: 22.28 MB / 0.9799 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.721, allocations: 0 / 0.9799 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3834/2.105, allocations: 20.44 MB / 0.9998 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/2.107, allocations: 0.5524 MB / 1 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001963/2.109, allocations: 3.625 kB / 1 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005882/2.114, allocations: 435.5 kB / 1.001 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002928/2.117, allocations: 0.7645 MB / 1.002 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004977/2.118, allocations: 94.33 kB / 1.002 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002689/2.121, allocations: 1.801 MB / 1.003 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.61e-07/2.121, allocations: 0 / 1.003 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009/2.13, allocations: 2.608 MB / 1.006 GB, free: 108.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006683/2.13, allocations: 157.4 kB / 1.006 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04098/2.171, allocations: 13.96 MB / 1.02 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/2.171, allocations: 0 / 1.02 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01912/2.191, allocations: 5.839 MB / 1.025 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/2.194, allocations: 242.9 kB / 1.026 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/2.21, allocations: 5.798 MB / 1.031 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003361/2.213, allocations: 2.593 MB / 1.034 GB, free: 104 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003873/2.217, allocations: 0.6041 MB / 1.034 GB, free: 104 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006956/2.218, allocations: 172.6 kB / 1.035 GB, free: 104 MB / 0.5886 GB Notification: Performance of SimCode: time 1.333e-06/2.218, allocations: 0.5625 kB / 1.035 GB, free: 104 MB / 0.5886 GB Notification: Performance of Templates: time 0.1494/2.367, allocations: 104.1 MB / 1.136 GB, free: 63.17 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)