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.001097/0.001097, allocations: 174.6 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.377/1.377, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009113/0.0009113, allocations: 101.7 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4589/0.4589, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.851e-05, allocations: 4 kB / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3497, allocations: 69.5 MB / 0.5491 GB, free: 19.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4737, allocations: 99.1 MB / 0.6459 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.474, allocations: 79.94 kB / 0.646 GB, free: 440 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08767/0.5617, allocations: 31.49 MB / 0.6767 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5618, allocations: 0 / 0.6767 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.5619, allocations: 24 kB / 0.6767 GB, free: 0.7109 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.298/0.8599, allocations: 1.682 MB / 0.6784 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.86, allocations: 13.03 kB / 0.6784 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003967/0.8639, allocations: 0.5618 MB / 0.6789 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.8656, allocations: 0.7658 MB / 0.6797 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.8659, allocations: 261.3 kB / 0.6799 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.8661, allocations: 79.62 kB / 0.68 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.8679, allocations: 0.937 MB / 0.6809 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.8679, allocations: 0 / 0.6809 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.856e-05/0.8681, allocations: 34.66 kB / 0.681 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.8681, allocations: 18.94 kB / 0.681 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.8697, allocations: 0.838 MB / 0.6818 GB, free: 103 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.006661/0.8764, allocations: 3.789 MB / 0.6855 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007267/0.8836, allocations: 2.658 MB / 0.6881 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008625/0.8845, allocations: 0.5356 MB / 0.6886 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.8846, allocations: 19.05 kB / 0.6886 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009249/0.8856, allocations: 0.67 MB / 0.6893 GB, free: 101.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.066e-06/0.8856, allocations: 0 / 0.6893 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01138/0.897, allocations: 4.028 MB / 0.6932 GB, free: 101.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.8971, allocations: 112.2 kB / 0.6933 GB, free: 101 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.8986, allocations: 0.8893 MB / 0.6942 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002925/0.8989, allocations: 48.64 kB / 0.6943 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/0.8993, allocations: 0.5085 MB / 0.6947 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.8997, allocations: 336.6 kB / 0.6951 GB, free: 99.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.8997, allocations: 19.31 kB / 0.6951 GB, free: 99.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.8998, allocations: 344.3 kB / 0.6954 GB, free: 99.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007288/0.9006, allocations: 457.2 kB / 0.6959 GB, free: 99.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/0.9013, allocations: 0.5726 MB / 0.6964 GB, free: 99.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.902, allocations: 0.5511 MB / 0.6969 GB, free: 98.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.902, allocations: 7.203 kB / 0.697 GB, free: 98.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01131/0.9134, allocations: 4.088 MB / 0.7009 GB, free: 97.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.9135, allocations: 58.53 kB / 0.701 GB, free: 97.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.9135, allocations: 3.312 kB / 0.701 GB, free: 97.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005064/0.9186, allocations: 1.529 MB / 0.7025 GB, free: 97.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.9196, allocations: 187.1 kB / 0.7027 GB, free: 97.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.9324, allocations: 6.784 MB / 0.7093 GB, free: 92.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.9342, allocations: 199.1 kB / 0.7095 GB, free: 92.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/0.9345, allocations: 35.89 kB / 0.7095 GB, free: 92.52 MB / 490.7 MB 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.0004457/0.935, allocations: 204.3 kB / 0.7097 GB, free: 92.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005183/0.9355, allocations: 130.4 kB / 0.7098 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.9471, allocations: 4.148 MB / 0.7139 GB, free: 88.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.9472, allocations: 12 kB / 0.7139 GB, free: 88.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/0.9472, allocations: 4 kB / 0.7139 GB, free: 88.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.055e-05/0.9473, allocations: 7.797 kB / 0.7139 GB, free: 88.95 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 postOpt removeSimpleEquations (simulation): time 0.0141/0.9614, allocations: 5.699 MB / 0.7195 GB, free: 84.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.9615, allocations: 0 / 0.7195 GB, free: 84.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/0.9621, allocations: 99.23 kB / 0.7196 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004818/0.967, allocations: 1.504 MB / 0.721 GB, free: 83.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002568/0.9673, allocations: 23.84 kB / 0.7211 GB, free: 83.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.9802, allocations: 7.701 MB / 0.7286 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.9803, allocations: 4 kB / 0.7286 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/0.9931, allocations: 4.874 MB / 0.7334 GB, free: 71.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/0.9938, allocations: 227.2 kB / 0.7336 GB, free: 70.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005249/0.9943, allocations: 20 kB / 0.7336 GB, free: 70.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.996, allocations: 143.9 kB / 0.7337 GB, free: 70.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007183/0.9967, allocations: 200.7 kB / 0.7339 GB, free: 70.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.9969, allocations: 28 kB / 0.7339 GB, free: 70.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.9981, allocations: 0.6859 MB / 0.7346 GB, free: 69.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9981, allocations: 0 / 0.7346 GB, free: 69.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002433/1.001, allocations: 436.4 kB / 0.735 GB, free: 69.35 MB / 490.7 MB 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.0006053/1.001, allocations: 154.2 kB / 0.7352 GB, free: 69.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005161/1.006, allocations: 2.057 MB / 0.7372 GB, free: 67.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.006, allocations: 0 / 0.7372 GB, free: 67.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00443/1.011, allocations: 1.595 MB / 0.7387 GB, free: 65.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/1.012, allocations: 108.5 kB / 0.7389 GB, free: 65.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/1.016, allocations: 1.667 MB / 0.7405 GB, free: 63.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/1.016, allocations: 1.15 MB / 0.7416 GB, free: 62.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005312/1.017, allocations: 94.56 kB / 0.7417 GB, free: 62.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/1.017, allocations: 63.44 kB / 0.7418 GB, free: 62.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.293e-06/1.017, allocations: 3.938 kB / 0.7418 GB, free: 62.37 MB / 490.7 MB Notification: Performance of Templates: time 0.03077/1.048, allocations: 20.55 MB / 0.7618 GB, free: 42.05 MB / 490.7 MB 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)