Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 172.8 kB / 12.73 MB, free: 2.586 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.34/1.34, 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.0007926/0.0007927, allocations: 104.9 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 2.478e-05/2.5e-05, allocations: 0 / 491.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 69.35 MB / 0.548 GB, free: 20.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.4108, allocations: 98.59 MB / 0.6443 GB, free: 1.977 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4111, allocations: 83.95 kB / 0.6444 GB, free: 1.895 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4241/0.8352, allocations: 60.82 MB / 0.7038 GB, free: 100.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.8352, allocations: 0 / 0.7038 GB, free: 100.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001584/0.8354, allocations: 49.78 kB / 0.7038 GB, free: 100.2 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01179/0.8472, allocations: 3.741 MB / 0.7075 GB, free: 98.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.8472, allocations: 14.41 kB / 0.7075 GB, free: 98.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009601/0.8569, allocations: 1.566 MB / 0.709 GB, free: 98.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003425/0.8603, allocations: 1.464 MB / 0.7104 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000588/0.8609, allocations: 0.6793 MB / 0.7111 GB, free: 96.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007602/0.8617, allocations: 194.3 kB / 0.7113 GB, free: 96.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/0.8667, allocations: 2.418 MB / 0.7136 GB, free: 94.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.8668, allocations: 7.891 kB / 0.7136 GB, free: 94.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/0.8671, allocations: 76 kB / 0.7137 GB, free: 94.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.8671, allocations: 44 kB / 0.7138 GB, free: 94.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004001/0.8711, allocations: 2.175 MB / 0.7159 GB, free: 92.28 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.01793/0.8891, allocations: 9.614 MB / 0.7253 GB, free: 82.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009388/0.8985, allocations: 4.045 MB / 0.7292 GB, free: 78.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.9008, allocations: 1.436 MB / 0.7306 GB, free: 76.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000367/0.9012, allocations: 39.53 kB / 0.7307 GB, free: 76.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.9012, allocations: 56.56 kB / 0.7307 GB, free: 76.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 3.747e-06/0.9012, allocations: 4 kB / 0.7307 GB, free: 76.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03634/0.9376, allocations: 12.06 MB / 0.7425 GB, free: 64.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.9377, allocations: 128.8 kB / 0.7426 GB, free: 64.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.9408, allocations: 1.62 MB / 0.7442 GB, free: 62.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006975/0.9416, allocations: 65.7 kB / 0.7443 GB, free: 62.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007803/0.9424, allocations: 1.128 MB / 0.7454 GB, free: 61.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.9435, allocations: 0.7875 MB / 0.7461 GB, free: 60.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/0.944, allocations: 40 kB / 0.7462 GB, free: 60.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.9441, allocations: 390.2 kB / 0.7465 GB, free: 60.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.9465, allocations: 1.153 MB / 0.7477 GB, free: 59.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.9487, allocations: 1.455 MB / 0.7491 GB, free: 57.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.9509, allocations: 1.269 MB / 0.7503 GB, free: 56.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.9509, allocations: 3.938 kB / 0.7503 GB, free: 56.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03579/0.9867, allocations: 12.21 MB / 0.7623 GB, free: 44.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004724/0.9872, allocations: 2.737 MB / 0.7649 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.9872, allocations: 8 kB / 0.7649 GB, free: 41.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/1.003, allocations: 5.22 MB / 0.77 GB, free: 35.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/1.005, allocations: 323.5 kB / 0.7703 GB, free: 35.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03814/1.043, allocations: 17.9 MB / 0.7878 GB, free: 17.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/1.047, allocations: 489.8 kB / 0.7883 GB, free: 17.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/1.047, allocations: 79.97 kB / 0.7884 GB, free: 17.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.047, allocations: 4 kB / 0.7884 GB, free: 17.03 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03364/1.081, allocations: 11.95 MB / 0.8 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/1.081, allocations: 7.953 kB / 0.8001 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01572/1.097, allocations: 5.223 MB / 0.8052 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/1.098, allocations: 303.6 kB / 0.8054 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0407/1.139, allocations: 17.89 MB / 0.8229 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003874/1.143, allocations: 465.9 kB / 0.8234 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003006/1.143, allocations: 79.98 kB / 0.8234 GB, free: 12.98 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 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 185 * 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.0006648/1.144, allocations: 226.1 kB / 0.8236 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006117/1.145, allocations: 276.6 kB / 0.8239 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03685/1.182, allocations: 12.38 MB / 0.836 GB, free: 64 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/1.182, allocations: 31.44 kB / 0.836 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.525e-05/1.182, allocations: 20 kB / 0.8361 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.189e-05/1.182, allocations: 11.97 kB / 0.8361 GB, free: 4 kB / 0.5105 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.04715/1.229, allocations: 15.87 MB / 0.8516 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/1.229, allocations: 7.938 kB / 0.8516 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/1.231, allocations: 247.7 kB / 0.8518 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01584/1.247, allocations: 4.834 MB / 0.8565 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006693/1.247, allocations: 40 kB / 0.8566 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03586/1.283, allocations: 15.36 MB / 0.8716 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.283, allocations: 0 / 0.8716 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0421/1.325, allocations: 14.29 MB / 0.8855 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.327, allocations: 381.3 kB / 0.8859 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/1.328, allocations: 36 kB / 0.8859 GB, free: 12.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003624/1.331, allocations: 367.7 kB / 0.8863 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002211/1.334, allocations: 0.5447 MB / 0.8868 GB, free: 11.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.334, allocations: 59.98 kB / 0.8869 GB, free: 11.64 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002071/1.336, allocations: 1.238 MB / 0.8881 GB, free: 10.39 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.336, allocations: 4 kB / 0.8881 GB, free: 10.38 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005023/1.341, allocations: 1.689 MB / 0.8897 GB, free: 8.691 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (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.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 (147): * Single equations (assignments): 146 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004564/1.341, allocations: 180.7 kB / 0.8899 GB, free: 8.504 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.335/1.676, allocations: 9.368 MB / 0.899 GB, free: 179 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.677, allocations: 0 / 0.899 GB, free: 179 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/1.689, allocations: 3.891 MB / 0.9028 GB, free: 178.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.691, allocations: 193.3 kB / 0.903 GB, free: 178.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008267/1.699, allocations: 3.974 MB / 0.9069 GB, free: 177.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/1.701, allocations: 1.793 MB / 0.9087 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001665/1.703, allocations: 351.2 kB / 0.909 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/1.703, allocations: 108.3 kB / 0.9091 GB, free: 176.9 MB / 0.573 GB Notification: Performance of SimCode: time 8.91e-07/1.703, allocations: 2.812 kB / 0.9091 GB, free: 176.9 MB / 0.573 GB Notification: Performance of Templates: time 0.09554/1.798, allocations: 74.84 MB / 0.9822 GB, free: 126.9 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)