Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 175.8 kB / 7.647 MB, free: 1.434 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.324/1.324, allocations: 221.5 MB / 229.6 MB, free: 7.504 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.0008436/0.000844, allocations: 94.97 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.4339/0.4339, allocations: 78.06 MB / 409.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.528e-05, allocations: 4 kB / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 69.37 MB / 0.5413 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.5124, allocations: 98.75 MB / 0.6377 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5127, allocations: 76.59 kB / 0.6378 GB, free: 0.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08622/0.5989, allocations: 32.2 MB / 0.6692 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.599, allocations: 0 / 0.6692 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.346e-05/0.599, allocations: 27.94 kB / 0.6693 GB, free: 0.5117 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004358/0.6034, allocations: 1.761 MB / 0.671 GB, free: 14.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6035, allocations: 12.03 kB / 0.671 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.6068, allocations: 0.5641 MB / 0.6715 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.6082, allocations: 0.7908 MB / 0.6723 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.6085, allocations: 240.1 kB / 0.6725 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.6087, allocations: 51.91 kB / 0.6726 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001466/0.6102, allocations: 0.8084 MB / 0.6734 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.6117, allocations: 0.8602 MB / 0.6742 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6117, allocations: 0 / 0.6742 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.6118, allocations: 0.8438 kB / 0.6742 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.6118, allocations: 20 kB / 0.6742 GB, free: 11.25 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.006688/0.6185, allocations: 3.752 MB / 0.6779 GB, free: 7.328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007199/0.6257, allocations: 2.65 MB / 0.6805 GB, free: 4.586 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.6269, allocations: 0.5274 MB / 0.681 GB, free: 4.055 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.627, allocations: 20.75 kB / 0.681 GB, free: 4.035 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.6281, allocations: 0.6619 MB / 0.6817 GB, free: 3.355 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.866e-06/0.6281, allocations: 9.031 kB / 0.6817 GB, free: 3.348 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.0122/0.6403, allocations: 3.958 MB / 0.6856 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.6405, allocations: 115.6 kB / 0.6857 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.642, allocations: 0.859 MB / 0.6865 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.6422, allocations: 25.7 kB / 0.6865 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.6426, allocations: 0.5247 MB / 0.687 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.643, allocations: 338.9 kB / 0.6874 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.6431, allocations: 0 / 0.6874 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6432, allocations: 349.9 kB / 0.6877 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007658/0.644, allocations: 454.6 kB / 0.6881 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.6448, allocations: 0.5887 MB / 0.6887 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008137/0.6456, allocations: 0.4979 MB / 0.6892 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6456, allocations: 0 / 0.6892 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01219/0.6578, allocations: 4.057 MB / 0.6932 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.012e-05/0.6579, allocations: 63.34 kB / 0.6932 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.658, allocations: 4 kB / 0.6932 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005775/0.6637, allocations: 1.601 MB / 0.6948 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.6648, allocations: 175.8 kB / 0.6949 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.6791, allocations: 7.884 MB / 0.7026 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.681, allocations: 183 kB / 0.7028 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.6812, allocations: 43.92 kB / 0.7029 GB, free: 13.28 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003866/0.6816, allocations: 158.9 kB / 0.703 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.6819, allocations: 122.5 kB / 0.7031 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.6938, allocations: 4.083 MB / 0.7071 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.6939, allocations: 8 kB / 0.7071 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.6939, allocations: 8 kB / 0.7071 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-05/0.6939, allocations: 3.984 kB / 0.7071 GB, free: 8.867 MB / 0.5105 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.01379/0.7077, allocations: 5.594 MB / 0.7126 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.7078, allocations: 0 / 0.7126 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/0.7085, allocations: 107.8 kB / 0.7127 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004618/0.7132, allocations: 1.494 MB / 0.7142 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.7133, allocations: 8 kB / 0.7142 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.7262, allocations: 7.524 MB / 0.7215 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.7263, allocations: 0 / 0.7215 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.7391, allocations: 4.844 MB / 0.7262 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/0.7396, allocations: 235.2 kB / 0.7265 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.7398, allocations: 0 / 0.7265 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.7411, allocations: 135.9 kB / 0.7266 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004887/0.7416, allocations: 196.9 kB / 0.7268 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-05/0.7417, allocations: 27.98 kB / 0.7268 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009027/0.7426, allocations: 0.6575 MB / 0.7275 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7426, allocations: 0 / 0.7275 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001227/0.7438, allocations: 407.5 kB / 0.7278 GB, free: 3.262 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002615/0.7441, allocations: 140.1 kB / 0.728 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004953/0.7491, allocations: 2.179 MB / 0.7301 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7491, allocations: 0 / 0.7301 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003743/0.7528, allocations: 1.561 MB / 0.7316 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007093/0.7535, allocations: 90.05 kB / 0.7317 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.7568, allocations: 1.87 MB / 0.7335 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.7575, allocations: 1.155 MB / 0.7347 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004034/0.7579, allocations: 99.38 kB / 0.7348 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.7581, allocations: 67.42 kB / 0.7348 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/0.7581, allocations: 0 / 0.7348 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of Templates: time 0.02796/0.7861, allocations: 19.65 MB / 0.754 GB, free: 8.523 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)