Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.424/1.424, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009168/0.0009168, allocations: 94.25 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4624/0.4624, allocations: 78.95 MB / 410.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.575e-05, allocations: 7.984 kB / 485.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 69.51 MB / 0.5424 GB, free: 5.895 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.5181, allocations: 98.43 MB / 0.6386 GB, free: 15.68 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.5184, allocations: 77.2 kB / 0.6386 GB, free: 15.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08489/0.6033, allocations: 31.13 MB / 0.669 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.6033, allocations: 4 kB / 0.669 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.991e-05/0.6034, allocations: 24 kB / 0.6691 GB, free: 0.4961 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004448/0.6079, allocations: 1.691 MB / 0.6707 GB, free: 14.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6079, allocations: 12.59 kB / 0.6707 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003729/0.6117, allocations: 0.5641 MB / 0.6713 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.6134, allocations: 0.7626 MB / 0.672 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.6137, allocations: 236.2 kB / 0.6722 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.6138, allocations: 44 kB / 0.6723 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/0.6154, allocations: 0.7967 MB / 0.6731 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.6169, allocations: 0.8296 MB / 0.6739 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6169, allocations: 0 / 0.6739 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.617, allocations: 3.984 kB / 0.6739 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.6171, allocations: 20 kB / 0.6739 GB, free: 11.38 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.007014/0.6241, allocations: 3.662 MB / 0.6775 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007376/0.6315, allocations: 2.617 MB / 0.68 GB, free: 4.848 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000886/0.6324, allocations: 0.5094 MB / 0.6805 GB, free: 4.336 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.6325, allocations: 20.77 kB / 0.6805 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.6336, allocations: 0.6371 MB / 0.6812 GB, free: 3.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 5.069e-06/0.6336, allocations: 4 kB / 0.6812 GB, free: 3.656 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01229/0.6459, allocations: 3.922 MB / 0.685 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.6461, allocations: 120 kB / 0.6851 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.6474, allocations: 0.8148 MB / 0.6859 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.6476, allocations: 29.69 kB / 0.6859 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.648, allocations: 0.5128 MB / 0.6864 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/0.6484, allocations: 327.1 kB / 0.6867 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.6485, allocations: 1.125 kB / 0.6867 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6487, allocations: 345.9 kB / 0.6871 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/0.6494, allocations: 438.6 kB / 0.6875 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.6502, allocations: 0.5536 MB / 0.688 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/0.651, allocations: 496.8 kB / 0.6885 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.651, allocations: 0 / 0.6885 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01635/0.6674, allocations: 3.962 MB / 0.6924 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.6675, allocations: 55.41 kB / 0.6924 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.6676, allocations: 4 kB / 0.6924 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009374/0.677, allocations: 1.512 MB / 0.6939 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.6788, allocations: 187.8 kB / 0.6941 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/0.6947, allocations: 6.59 MB / 0.7005 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.6965, allocations: 184.2 kB / 0.7007 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.6967, allocations: 43.97 kB / 0.7007 GB, free: 15.33 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis 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 (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004236/0.6972, allocations: 163 kB / 0.7009 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.6976, allocations: 122.5 kB / 0.701 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.7097, allocations: 4.036 MB / 0.705 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.7098, allocations: 12 kB / 0.705 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.7098, allocations: 4 kB / 0.705 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.7098, allocations: 3.984 kB / 0.705 GB, free: 10.96 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.01428/0.7241, allocations: 5.501 MB / 0.7103 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.7241, allocations: 0 / 0.7103 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.7248, allocations: 99.83 kB / 0.7104 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004731/0.7296, allocations: 1.486 MB / 0.7119 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.7297, allocations: 8 kB / 0.7119 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.7433, allocations: 7.545 MB / 0.7193 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.7433, allocations: 0 / 0.7193 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.7564, allocations: 4.761 MB / 0.7239 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.757, allocations: 227.3 kB / 0.7241 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.7573, allocations: 4 kB / 0.7241 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.7586, allocations: 132.8 kB / 0.7243 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006022/0.7592, allocations: 193 kB / 0.7245 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.589e-05/0.7593, allocations: 24 kB / 0.7245 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009552/0.7603, allocations: 0.6216 MB / 0.7251 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-07/0.7603, allocations: 0 / 0.7251 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001496/0.7618, allocations: 391.5 kB / 0.7255 GB, free: 5.602 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0003495/0.7621, allocations: 153.5 kB / 0.7256 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005062/0.7672, allocations: 1.985 MB / 0.7275 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7672, allocations: 4.25 kB / 0.7275 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003922/0.7712, allocations: 1.545 MB / 0.7291 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009713/0.7722, allocations: 95.81 kB / 0.7291 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.7767, allocations: 1.623 MB / 0.7307 GB, free: 100 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008619/0.7776, allocations: 1.143 MB / 0.7318 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006558/0.7782, allocations: 94.67 kB / 0.7319 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.7786, allocations: 67.36 kB / 0.732 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.863e-06/0.7786, allocations: 0 / 0.732 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.03207/0.8107, allocations: 18.9 MB / 0.7505 GB, free: 12.05 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)