Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.2 MB / 218.5 MB, free: 9.227 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.0008452/0.0008451, allocations: 78.67 kB / 266.6 MB, free: 9.293 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.06844/0.06844, allocations: 12.59 MB / 327.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.274/0.274, allocations: 78.02 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.877e-05, allocations: 4 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 69.33 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3828/0.4918, allocations: 101.9 MB / 0.6889 GB, free: 13.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4921, allocations: 82.33 kB / 0.689 GB, free: 13.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.178/0.6701, allocations: 67.48 MB / 0.7549 GB, free: 4.703 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.6702, allocations: 3.984 kB / 0.7549 GB, free: 4.699 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002115/0.6704, allocations: 59.94 kB / 0.755 GB, free: 4.641 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01229/0.6827, allocations: 4.022 MB / 0.7589 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6828, allocations: 11.98 kB / 0.7589 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.693, allocations: 1.6 MB / 0.7605 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.6971, allocations: 1.646 MB / 0.7621 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007445/0.6979, allocations: 0.7525 MB / 0.7628 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/0.6984, allocations: 208 kB / 0.763 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00456/0.703, allocations: 2.56 MB / 0.7655 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.703, allocations: 4 kB / 0.7655 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.7033, allocations: 83.98 kB / 0.7656 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.7034, allocations: 52 kB / 0.7657 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004141/0.7075, allocations: 2.324 MB / 0.7679 GB, free: 7.023 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 preOpt removeSimpleEquations (simulation): time 0.0183/0.7258, allocations: 9.919 MB / 0.7776 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009842/0.7357, allocations: 4.183 MB / 0.7817 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/0.7383, allocations: 1.531 MB / 0.7832 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.7386, allocations: 45.89 kB / 0.7832 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002929/0.7416, allocations: 1.795 MB / 0.785 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=248): time 4.087e-06/0.7416, allocations: 0 / 0.785 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of matching and sorting (n=248): time 0.03924/0.7808, allocations: 12.55 MB / 0.7972 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.728e-05/0.781, allocations: 184.2 kB / 0.7974 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/0.7839, allocations: 1.85 MB / 0.7992 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005355/0.7844, allocations: 65.7 kB / 0.7993 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000856/0.7853, allocations: 1.192 MB / 0.8005 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.7864, allocations: 0.8509 MB / 0.8013 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.7866, allocations: 55.94 kB / 0.8013 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.7868, allocations: 402.9 kB / 0.8017 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.7891, allocations: 1.255 MB / 0.8029 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/0.7916, allocations: 1.567 MB / 0.8045 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/0.7942, allocations: 1.488 MB / 0.8059 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.7942, allocations: 0 / 0.8059 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03946/0.8337, allocations: 12.62 MB / 0.8183 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.8339, allocations: 114.8 kB / 0.8184 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.8339, allocations: 8 kB / 0.8184 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01734/0.8512, allocations: 5.219 MB / 0.8235 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/0.8537, allocations: 423.4 kB / 0.8239 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04093/0.8946, allocations: 17.89 MB / 0.8413 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/0.8988, allocations: 0.5367 MB / 0.8419 GB, free: 10.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/0.8991, allocations: 87.97 kB / 0.842 GB, free: 10.07 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_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 (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006108/0.8997, allocations: 303.2 kB / 0.8422 GB, free: 9.75 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005912/0.9003, allocations: 296.3 kB / 0.8425 GB, free: 9.457 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0398/0.9401, allocations: 12.9 MB / 0.8551 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/0.9402, allocations: 24 kB / 0.8551 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/0.9402, allocations: 20 kB / 0.8552 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.511e-05/0.9403, allocations: 11.95 kB / 0.8552 GB, free: 12.45 MB / 0.5886 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.3036/1.244, allocations: 16.43 MB / 0.8712 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/1.244, allocations: 1 kB / 0.8712 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/1.246, allocations: 249.8 kB / 0.8715 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01588/1.262, allocations: 4.978 MB / 0.8763 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008594/1.262, allocations: 53.41 kB / 0.8764 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03883/1.301, allocations: 19.31 MB / 0.8952 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.301, allocations: 10.42 kB / 0.8952 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03839/1.34, allocations: 14.86 MB / 0.9097 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009618/1.341, allocations: 411.4 kB / 0.9101 GB, free: 148.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000625/1.341, allocations: 51.55 kB / 0.9102 GB, free: 148.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.345, allocations: 405.2 kB / 0.9106 GB, free: 148.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00208/1.347, allocations: 0.5815 MB / 0.9111 GB, free: 148.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.347, allocations: 68.31 kB / 0.9112 GB, free: 148.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001723/1.349, allocations: 1.404 MB / 0.9126 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/1.349, allocations: 0.9375 kB / 0.9126 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002932/1.352, allocations: 1.115 MB / 0.9137 GB, free: 148 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003985/1.352, allocations: 188.4 kB / 0.9138 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.365, allocations: 5.75 MB / 0.9195 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/1.365, allocations: 0 / 0.9195 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01134/1.377, allocations: 4.365 MB / 0.9237 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.379, allocations: 230.8 kB / 0.9239 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/1.386, allocations: 4.086 MB / 0.9279 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.387, allocations: 1.869 MB / 0.9298 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001025/1.388, allocations: 213.5 kB / 0.93 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/1.388, allocations: 140.5 kB / 0.9301 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of SimCode: time 7.41e-07/1.388, allocations: 2.188 kB / 0.9301 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.06987/1.458, allocations: 55.18 MB / 0.984 GB, free: 111.3 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)