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.0008791/0.0008791, 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.248/1.248, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008479/0.0008479, allocations: 93.14 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.0652/0.0652, allocations: 12.6 MB / 321.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2846/0.2846, allocations: 78.06 MB / 450.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.284e-05/1.286e-05, allocations: 0 / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09664, allocations: 69.33 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4454, allocations: 101.2 MB / 0.6812 GB, free: 6.812 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.4456, allocations: 78.39 kB / 0.6813 GB, free: 6.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1693/0.6149, allocations: 66.63 MB / 0.7464 GB, free: 14.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.615, allocations: 0 / 0.7464 GB, free: 14.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002766/0.6152, allocations: 59.94 kB / 0.7464 GB, free: 14.91 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.01281/0.6281, allocations: 4.022 MB / 0.7504 GB, free: 10.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6281, allocations: 8.031 kB / 0.7504 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.6382, allocations: 1.604 MB / 0.7519 GB, free: 9.184 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004026/0.6423, allocations: 1.631 MB / 0.7535 GB, free: 7.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007908/0.6431, allocations: 0.6783 MB / 0.7542 GB, free: 6.695 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007586/0.6439, allocations: 124 kB / 0.7543 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004927/0.6488, allocations: 2.215 MB / 0.7565 GB, free: 4.352 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005163/0.654, allocations: 2.271 MB / 0.7587 GB, free: 2.012 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.6541, allocations: 0 / 0.7587 GB, free: 2.012 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/0.6544, allocations: 7.984 kB / 0.7587 GB, free: 2.004 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.6545, allocations: 52 kB / 0.7587 GB, free: 1.953 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.01838/0.6728, allocations: 9.587 MB / 0.7681 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009476/0.6823, allocations: 4.095 MB / 0.7721 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/0.6846, allocations: 1.461 MB / 0.7735 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.6849, allocations: 49.89 kB / 0.7736 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002892/0.6878, allocations: 1.713 MB / 0.7752 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=248): time 4.799e-06/0.6878, allocations: 4 kB / 0.7752 GB, free: 500 kB / 0.4948 GB Notification: Performance of matching and sorting (n=248): time 0.03814/0.726, allocations: 12.32 MB / 0.7873 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.7261, allocations: 180.2 kB / 0.7874 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.729, allocations: 1.689 MB / 0.7891 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004035/0.7294, allocations: 29.7 kB / 0.7891 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009418/0.7304, allocations: 1.203 MB / 0.7903 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.7314, allocations: 0.8274 MB / 0.7911 GB, free: 140 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.7317, allocations: 0 / 0.7911 GB, free: 140 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.7319, allocations: 403 kB / 0.7915 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.734, allocations: 1.208 MB / 0.7927 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.7362, allocations: 1.503 MB / 0.7941 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.7384, allocations: 1.324 MB / 0.7954 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.7384, allocations: 0 / 0.7954 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03668/0.7751, allocations: 12.29 MB / 0.8074 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/0.7752, allocations: 114.8 kB / 0.8075 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.7752, allocations: 8 kB / 0.8076 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0158/0.791, allocations: 4.965 MB / 0.8124 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.7932, allocations: 423.4 kB / 0.8128 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03828/0.8315, allocations: 17.56 MB / 0.83 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/0.8355, allocations: 493.7 kB / 0.8304 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/0.836, allocations: 83.98 kB / 0.8305 GB, free: 7.418 MB / 0.5573 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.0007219/0.8367, allocations: 209.5 kB / 0.8307 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007284/0.8374, allocations: 304.3 kB / 0.831 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03765/0.8751, allocations: 12.61 MB / 0.8433 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.8751, allocations: 24 kB / 0.8433 GB, free: 10.22 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/0.8752, allocations: 20 kB / 0.8433 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.907e-05/0.8752, allocations: 11.95 kB / 0.8434 GB, free: 10.19 MB / 0.573 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.2819/1.157, allocations: 15.93 MB / 0.8589 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.157, allocations: 2.031 kB / 0.8589 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.159, allocations: 246.9 kB / 0.8592 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01464/1.173, allocations: 4.936 MB / 0.864 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004378/1.174, allocations: 18.94 kB / 0.864 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03685/1.211, allocations: 18.99 MB / 0.8825 GB, free: 139.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.211, allocations: 7.062 kB / 0.8825 GB, free: 139.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03637/1.247, allocations: 14.58 MB / 0.8968 GB, free: 138.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008438/1.248, allocations: 408.2 kB / 0.8972 GB, free: 138.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004456/1.249, allocations: 10.17 kB / 0.8972 GB, free: 138.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/1.251, allocations: 367.4 kB / 0.8975 GB, free: 138.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001872/1.253, allocations: 0.5823 MB / 0.8981 GB, free: 138.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/1.254, allocations: 72.5 kB / 0.8982 GB, free: 138.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00147/1.255, allocations: 1.258 MB / 0.8994 GB, free: 138.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.3e-07/1.255, allocations: 0 / 0.8994 GB, free: 138.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00255/1.258, allocations: 1 MB / 0.9004 GB, free: 138.1 MB / 0.573 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.0003761/1.258, allocations: 152.5 kB / 0.9005 GB, free: 138 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01241/1.27, allocations: 5.577 MB / 0.906 GB, free: 137.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.27, allocations: 0 / 0.906 GB, free: 137.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01047/1.281, allocations: 4.252 MB / 0.9101 GB, free: 135.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/1.282, allocations: 191.4 kB / 0.9103 GB, free: 135.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006317/1.289, allocations: 3.983 MB / 0.9142 GB, free: 133.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009412/1.29, allocations: 1.865 MB / 0.916 GB, free: 132.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008371/1.29, allocations: 213.7 kB / 0.9162 GB, free: 132.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/1.291, allocations: 137.2 kB / 0.9163 GB, free: 132.7 MB / 0.573 GB Notification: Performance of SimCode: time 7.81e-07/1.291, allocations: 0 / 0.9163 GB, free: 132.7 MB / 0.573 GB Notification: Performance of Templates: time 0.0622/1.353, allocations: 50.93 MB / 0.9661 GB, free: 104.1 MB / 0.573 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)