Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009489/0.0009491, 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.219/1.219, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0007932/0.0007933, allocations: 86.91 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4374/0.4374, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.633e-05, allocations: 4 kB / 491.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3222, allocations: 69.34 MB / 0.548 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4453, allocations: 99.01 MB / 0.6447 GB, free: 1.547 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4456, allocations: 79.94 kB / 0.6448 GB, free: 1.469 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4614/0.9071, allocations: 61.63 MB / 0.705 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.9071, allocations: 4 kB / 0.705 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002232/0.9074, allocations: 45.84 kB / 0.705 GB, free: 100.1 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01173/0.9191, allocations: 3.766 MB / 0.7087 GB, free: 98.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.9192, allocations: 13.62 kB / 0.7087 GB, free: 98.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.9293, allocations: 1.581 MB / 0.7102 GB, free: 97.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/0.9332, allocations: 1.478 MB / 0.7117 GB, free: 96.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006313/0.9338, allocations: 0.6878 MB / 0.7123 GB, free: 95.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008558/0.9347, allocations: 199.2 kB / 0.7125 GB, free: 95.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005532/0.9402, allocations: 2.421 MB / 0.7149 GB, free: 93.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.9403, allocations: 3.953 kB / 0.7149 GB, free: 93.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000391/0.9407, allocations: 76 kB / 0.715 GB, free: 93.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.9407, allocations: 44 kB / 0.715 GB, free: 93.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/0.9447, allocations: 2.186 MB / 0.7172 GB, free: 91.04 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.0173/0.962, allocations: 9.661 MB / 0.7266 GB, free: 81.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008726/0.9707, allocations: 4.049 MB / 0.7305 GB, free: 76.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.9732, allocations: 1.452 MB / 0.732 GB, free: 75.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003892/0.9736, allocations: 33.34 kB / 0.732 GB, free: 75.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.9737, allocations: 60.55 kB / 0.7321 GB, free: 75.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 3.627e-06/0.9737, allocations: 0 / 0.7321 GB, free: 75.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03524/1.009, allocations: 12.08 MB / 0.7439 GB, free: 63.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/1.009, allocations: 128.8 kB / 0.744 GB, free: 63.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/1.012, allocations: 1.656 MB / 0.7456 GB, free: 61.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006684/1.013, allocations: 69.64 kB / 0.7457 GB, free: 61.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007447/1.014, allocations: 1.135 MB / 0.7468 GB, free: 60.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.015, allocations: 0.7912 MB / 0.7475 GB, free: 59.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004201/1.015, allocations: 44 kB / 0.7476 GB, free: 59.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/1.015, allocations: 382.3 kB / 0.7479 GB, free: 58.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/1.018, allocations: 1.164 MB / 0.7491 GB, free: 57.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/1.02, allocations: 1.463 MB / 0.7505 GB, free: 56.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/1.022, allocations: 1.273 MB / 0.7518 GB, free: 54.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/1.022, allocations: 4 kB / 0.7518 GB, free: 54.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.0347/1.057, allocations: 12.25 MB / 0.7637 GB, free: 42.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004632/1.057, allocations: 2.735 MB / 0.7664 GB, free: 39.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/1.057, allocations: 8 kB / 0.7664 GB, free: 39.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01593/1.073, allocations: 5.216 MB / 0.7715 GB, free: 34.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.075, allocations: 339.5 kB / 0.7718 GB, free: 34.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03911/1.114, allocations: 17.89 MB / 0.7893 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/1.118, allocations: 497.7 kB / 0.7898 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/1.118, allocations: 75.98 kB / 0.7898 GB, free: 15.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/1.118, allocations: 4 kB / 0.7898 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03423/1.152, allocations: 11.98 MB / 0.8015 GB, free: 3.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/1.153, allocations: 11.95 kB / 0.8015 GB, free: 3.613 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01597/1.169, allocations: 5.212 MB / 0.8066 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/1.171, allocations: 323.5 kB / 0.8069 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04494/1.216, allocations: 17.89 MB / 0.8244 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/1.22, allocations: 470 kB / 0.8249 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005704/1.22, allocations: 75.98 kB / 0.8249 GB, free: 11.55 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * 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.0009641/1.221, allocations: 233.6 kB / 0.8252 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.222, allocations: 276.6 kB / 0.8254 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0377/1.26, allocations: 12.42 MB / 0.8375 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/1.26, allocations: 27.95 kB / 0.8376 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.323e-05/1.26, allocations: 16 kB / 0.8376 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.881e-05/1.26, allocations: 11.95 kB / 0.8376 GB, free: 14.54 MB / 0.5261 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.04555/1.306, allocations: 15.93 MB / 0.8532 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/1.306, allocations: 4 kB / 0.8532 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.308, allocations: 247.7 kB / 0.8534 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01515/1.323, allocations: 4.814 MB / 0.8581 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006249/1.323, allocations: 43.98 kB / 0.8581 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0378/1.361, allocations: 15.36 MB / 0.8731 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.361, allocations: 0 / 0.8731 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04196/1.403, allocations: 14.32 MB / 0.8871 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009461/1.404, allocations: 389.1 kB / 0.8875 GB, free: 11.08 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000832/1.405, allocations: 40 kB / 0.8875 GB, free: 11.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003182/1.408, allocations: 367.7 kB / 0.8879 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001978/1.41, allocations: 0.5408 MB / 0.8884 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/1.411, allocations: 59.98 kB / 0.8885 GB, free: 10.08 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002046/1.413, allocations: 1.278 MB / 0.8897 GB, free: 8.789 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.413, allocations: 0 / 0.8897 GB, free: 8.789 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005094/1.418, allocations: 1.701 MB / 0.8914 GB, free: 7.086 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004965/1.418, allocations: 180.3 kB / 0.8915 GB, free: 6.898 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.319/1.737, allocations: 9.402 MB / 0.9007 GB, free: 178.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/1.737, allocations: 3.188 kB / 0.9007 GB, free: 178.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01357/1.751, allocations: 3.89 MB / 0.9045 GB, free: 178.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.753, allocations: 190.9 kB / 0.9047 GB, free: 178.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009878/1.763, allocations: 4.07 MB / 0.9087 GB, free: 177.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/1.765, allocations: 1.799 MB / 0.9104 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002224/1.767, allocations: 362.8 kB / 0.9108 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/1.767, allocations: 103.6 kB / 0.9109 GB, free: 176.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/1.767, allocations: 3 kB / 0.9109 GB, free: 176.5 MB / 0.573 GB Notification: Performance of Templates: time 0.09797/1.865, allocations: 75.32 MB / 0.9844 GB, free: 124.6 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)