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.00118/0.00118, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.224/1.224, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0009839/0.0009839, allocations: 91.86 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4667/0.4667, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.376e-05, allocations: 7.984 kB / 492.8 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3532, allocations: 69.52 MB / 0.5491 GB, free: 19.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4818, allocations: 100.1 MB / 0.6469 GB, free: 15.55 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.482, allocations: 79.95 kB / 0.6469 GB, free: 15.47 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4791/0.9612, allocations: 70.03 MB / 0.7153 GB, free: 93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.9612, allocations: 0 / 0.7153 GB, free: 93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002632/0.9615, allocations: 56 kB / 0.7154 GB, free: 92.95 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01281/0.9743, allocations: 4.03 MB / 0.7193 GB, free: 88.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.9744, allocations: 15.97 kB / 0.7193 GB, free: 88.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.9844, allocations: 1.603 MB / 0.7209 GB, free: 87.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.9887, allocations: 1.619 MB / 0.7225 GB, free: 85.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006833/0.9894, allocations: 0.7486 MB / 0.7232 GB, free: 84.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009221/0.9904, allocations: 211.9 kB / 0.7234 GB, free: 84.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006247/0.9967, allocations: 2.564 MB / 0.7259 GB, free: 81.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.594e-05/0.9967, allocations: 0 / 0.7259 GB, free: 81.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004912/0.9972, allocations: 87.98 kB / 0.726 GB, free: 81.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/0.9973, allocations: 52 kB / 0.726 GB, free: 81.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/1.002, allocations: 2.316 MB / 0.7283 GB, free: 79.35 MB / 490.7 MB 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.01979/1.022, allocations: 9.9 MB / 0.738 GB, free: 69.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009505/1.031, allocations: 4.191 MB / 0.7421 GB, free: 64.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/1.034, allocations: 1.527 MB / 0.7436 GB, free: 63.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/1.034, allocations: 45.89 kB / 0.7436 GB, free: 63.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003445/1.038, allocations: 1.784 MB / 0.7453 GB, free: 61.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=247): time 6.412e-06/1.038, allocations: 0 / 0.7453 GB, free: 61.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.03642/1.074, allocations: 12.55 MB / 0.7576 GB, free: 48.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/1.074, allocations: 184.2 kB / 0.7578 GB, free: 48.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/1.077, allocations: 1.858 MB / 0.7596 GB, free: 46.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006007/1.078, allocations: 69.7 kB / 0.7597 GB, free: 46.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007187/1.079, allocations: 1.208 MB / 0.7608 GB, free: 45.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.08, allocations: 0.8509 MB / 0.7617 GB, free: 44.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004657/1.08, allocations: 48 kB / 0.7617 GB, free: 44.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/1.081, allocations: 394.9 kB / 0.7621 GB, free: 44.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/1.083, allocations: 1.259 MB / 0.7633 GB, free: 42.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/1.085, allocations: 1.559 MB / 0.7648 GB, free: 41.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/1.088, allocations: 1.481 MB / 0.7663 GB, free: 39.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/1.088, allocations: 0 / 0.7663 GB, free: 39.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03531/1.123, allocations: 12.62 MB / 0.7786 GB, free: 26.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.407e-05/1.123, allocations: 114.8 kB / 0.7787 GB, free: 26.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/1.123, allocations: 8 kB / 0.7787 GB, free: 26.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01575/1.139, allocations: 5.152 MB / 0.7838 GB, free: 21.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/1.141, allocations: 423.4 kB / 0.7842 GB, free: 21.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03862/1.18, allocations: 17.94 MB / 0.8017 GB, free: 3.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/1.184, allocations: 0.5367 MB / 0.8022 GB, free: 2.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/1.185, allocations: 87.97 kB / 0.8023 GB, free: 2.434 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005817/1.185, allocations: 293.5 kB / 0.8026 GB, free: 2.129 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006174/1.186, allocations: 296.3 kB / 0.8028 GB, free: 1.836 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03808/1.224, allocations: 12.9 MB / 0.8154 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/1.224, allocations: 27.94 kB / 0.8155 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/1.224, allocations: 20 kB / 0.8155 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.69e-05/1.224, allocations: 11.95 kB / 0.8155 GB, free: 4.824 MB / 0.4948 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.04346/1.268, allocations: 16.42 MB / 0.8315 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/1.268, allocations: 0 / 0.8315 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.27, allocations: 247.6 kB / 0.8318 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01608/1.286, allocations: 5.016 MB / 0.8367 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006754/1.286, allocations: 48 kB / 0.8367 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04251/1.329, allocations: 19.32 MB / 0.8556 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.329, allocations: 0 / 0.8556 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04383/1.373, allocations: 14.85 MB / 0.8701 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.374, allocations: 412.9 kB / 0.8705 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.375, allocations: 51.98 kB / 0.8705 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003899/1.379, allocations: 407.6 kB / 0.8709 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002466/1.382, allocations: 0.5798 MB / 0.8715 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000453/1.382, allocations: 63.98 kB / 0.8715 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002269/1.384, allocations: 1.417 MB / 0.8729 GB, free: 9.246 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/1.384, allocations: 0 / 0.8729 GB, free: 9.246 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003879/1.388, allocations: 1.116 MB / 0.874 GB, free: 8.129 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005604/1.389, allocations: 196.6 kB / 0.8742 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01511/1.404, allocations: 5.721 MB / 0.8798 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.404, allocations: 0 / 0.8798 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01293/1.417, allocations: 4.382 MB / 0.8841 GB, free: 13.67 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/1.419, allocations: 230.9 kB / 0.8843 GB, free: 13.44 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00969/1.429, allocations: 4.026 MB / 0.8882 GB, free: 9.371 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/1.431, allocations: 1.86 MB / 0.89 GB, free: 7.48 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001323/1.432, allocations: 215.7 kB / 0.8902 GB, free: 7.266 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007217/1.433, allocations: 135.4 kB / 0.8904 GB, free: 7.133 MB / 0.573 GB Notification: Performance of SimCode: time 1.282e-06/1.433, allocations: 4 kB / 0.8904 GB, free: 7.129 MB / 0.573 GB Notification: Performance of Templates: time 0.3624/1.795, allocations: 55.24 MB / 0.9443 GB, free: 159.6 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)