Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009223/0.0009224, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 87.53 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08852/0.08852, allocations: 12.6 MB / 321.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2826/0.2826, allocations: 78.06 MB / 450.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.238e-05/1.234e-05, allocations: 0 / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 69.32 MB / 0.5824 GB, free: 8.406 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.4967, allocations: 99.48 MB / 0.6795 GB, free: 8.496 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.4971, allocations: 76.95 kB / 0.6796 GB, free: 8.457 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07462/0.5717, allocations: 30.11 MB / 0.709 GB, free: 15.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5717, allocations: 0 / 0.709 GB, free: 15.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.435e-05/0.5718, allocations: 31.94 kB / 0.7091 GB, free: 15.71 MB / 458.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.003911/0.5757, allocations: 1.697 MB / 0.7107 GB, free: 14.08 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.5758, allocations: 12.03 kB / 0.7107 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/0.5789, allocations: 0.5625 MB / 0.7113 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.5801, allocations: 0.7673 MB / 0.712 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.5803, allocations: 236.2 kB / 0.7122 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.5805, allocations: 47.25 kB / 0.7123 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001251/0.5817, allocations: 0.7942 MB / 0.7131 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.583, allocations: 0.8265 MB / 0.7139 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.5831, allocations: 0 / 0.7139 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/0.5831, allocations: 0 / 0.7139 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.5832, allocations: 27.95 kB / 0.7139 GB, free: 11.5 MB / 458.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.005864/0.589, allocations: 3.647 MB / 0.7175 GB, free: 8.594 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006856/0.5959, allocations: 2.62 MB / 0.72 GB, free: 6.215 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/0.5966, allocations: 0.5011 MB / 0.7205 GB, free: 5.941 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.5968, allocations: 28.19 kB / 0.7205 GB, free: 5.914 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009122/0.5977, allocations: 0.6439 MB / 0.7212 GB, free: 5.469 MB / 458.7 MB Notification: Performance of pre-optimization done (n=95): time 2.454e-06/0.5977, allocations: 0 / 0.7212 GB, free: 5.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.01149/0.6092, allocations: 3.935 MB / 0.725 GB, free: 2.047 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.6093, allocations: 115.6 kB / 0.7251 GB, free: 1.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.6103, allocations: 0.8068 MB / 0.7259 GB, free: 1.316 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.896e-05/0.6105, allocations: 25.7 kB / 0.7259 GB, free: 1.285 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.6108, allocations: 0.5282 MB / 0.7264 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.6111, allocations: 322.7 kB / 0.7268 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.6111, allocations: 0 / 0.7268 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6113, allocations: 344.8 kB / 0.7271 GB, free: 392 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/0.6119, allocations: 438.2 kB / 0.7275 GB, free: 160 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.6127, allocations: 0.5575 MB / 0.728 GB, free: 15.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006842/0.6133, allocations: 485.2 kB / 0.7285 GB, free: 15.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6134, allocations: 0 / 0.7285 GB, free: 15.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0114/0.6248, allocations: 3.949 MB / 0.7324 GB, free: 12.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.6249, allocations: 63.41 kB / 0.7324 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6249, allocations: 0 / 0.7324 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00513/0.63, allocations: 1.519 MB / 0.7339 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.6311, allocations: 182.9 kB / 0.7341 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.6443, allocations: 6.599 MB / 0.7405 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.6459, allocations: 175.1 kB / 0.7407 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.646, allocations: 43.98 kB / 0.7407 GB, free: 4.219 MB / 474.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.0003263/0.6464, allocations: 151.5 kB / 0.7409 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.6466, allocations: 134.5 kB / 0.741 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.6582, allocations: 4.035 MB / 0.745 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.6583, allocations: 12 kB / 0.745 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6583, allocations: 4 kB / 0.745 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/0.6583, allocations: 11.98 kB / 0.745 GB, free: 15.84 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.0139/0.6722, allocations: 5.489 MB / 0.7503 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.6723, allocations: 3.938 kB / 0.7503 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.6729, allocations: 103.8 kB / 0.7504 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004603/0.6775, allocations: 1.493 MB / 0.7519 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.6777, allocations: 11.95 kB / 0.7519 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.6912, allocations: 7.53 MB / 0.7593 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6913, allocations: 0 / 0.7593 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.7041, allocations: 4.773 MB / 0.7639 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/0.7046, allocations: 219.4 kB / 0.7641 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.7048, allocations: 4 kB / 0.7641 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.7059, allocations: 135.8 kB / 0.7643 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005595/0.7065, allocations: 193 kB / 0.7645 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.7066, allocations: 28 kB / 0.7645 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008526/0.7074, allocations: 0.6216 MB / 0.7651 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7075, allocations: 0 / 0.7651 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001454/0.7089, allocations: 399.4 kB / 0.7655 GB, free: 10.45 MB / 0.4948 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.0003198/0.7092, allocations: 135.1 kB / 0.7656 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004747/0.714, allocations: 1.991 MB / 0.7675 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.714, allocations: 0 / 0.7675 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003792/0.7178, allocations: 1.542 MB / 0.769 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009581/0.7188, allocations: 84.42 kB / 0.7691 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.7218, allocations: 1.626 MB / 0.7707 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.7225, allocations: 1.155 MB / 0.7718 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003986/0.7229, allocations: 90.69 kB / 0.7719 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.7231, allocations: 59.44 kB / 0.772 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.7231, allocations: 0 / 0.772 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of Templates: time 0.02924/0.7524, allocations: 18.93 MB / 0.7905 GB, free: 0.7031 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)