Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01158/0.01158, allocations: 169.3 kB / 15.11 MB, free: 5.973 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.366/1.366, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009106/0.0009105, allocations: 99.66 kB / 290.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5036/0.5036, allocations: 78.58 MB / 419.9 MB, free: 36.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 19.98 kB / 499.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1555, allocations: 69.35 MB / 0.5558 GB, free: 1.855 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.5313, allocations: 99.56 MB / 0.653 GB, free: 2.613 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.5315, allocations: 82.02 kB / 0.6531 GB, free: 2.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1789/0.7104, allocations: 69.39 MB / 0.7209 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7105, allocations: 8 kB / 0.7209 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000183/0.7106, allocations: 55.94 kB / 0.7209 GB, free: 13.54 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.0152/0.7258, allocations: 4.63 MB / 0.7254 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.7259, allocations: 11.97 kB / 0.7255 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.7371, allocations: 1.615 MB / 0.727 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/0.7438, allocations: 1.685 MB / 0.7287 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/0.745, allocations: 0.7487 MB / 0.7294 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/0.7462, allocations: 207.9 kB / 0.7296 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007969/0.7542, allocations: 3.203 MB / 0.7327 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.7543, allocations: 0 / 0.7327 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.7546, allocations: 84 kB / 0.7328 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.181e-05/0.7546, allocations: 48 kB / 0.7329 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006402/0.761, allocations: 2.975 MB / 0.7358 GB, free: 13.97 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02042/0.7815, allocations: 9.904 MB / 0.7454 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/0.7935, allocations: 4.854 MB / 0.7502 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.7939, allocations: 43.5 kB / 0.7502 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005106/0.799, allocations: 2.408 MB / 0.7526 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=247): time 4.849e-06/0.7991, allocations: 4 kB / 0.7526 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=247): time 0.1224/0.9215, allocations: 33.27 MB / 0.7851 GB, free: 10.78 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.9216, allocations: 184.3 kB / 0.7852 GB, free: 10.57 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/0.925, allocations: 1.928 MB / 0.7871 GB, free: 8.625 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005903/0.9256, allocations: 69.69 kB / 0.7872 GB, free: 8.551 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009936/0.9266, allocations: 1.204 MB / 0.7884 GB, free: 7.336 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/0.9277, allocations: 0.8508 MB / 0.7892 GB, free: 6.473 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.9279, allocations: 52 kB / 0.7892 GB, free: 6.422 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.9282, allocations: 398.9 kB / 0.7896 GB, free: 6.027 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004188/0.9324, allocations: 1.879 MB / 0.7915 GB, free: 4.145 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004223/0.9366, allocations: 2.183 MB / 0.7936 GB, free: 1.863 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2721/1.209, allocations: 2.094 MB / 0.7956 GB, free: 123.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/1.209, allocations: 2.281 kB / 0.7956 GB, free: 123.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.04241/1.251, allocations: 14.46 MB / 0.8098 GB, free: 122.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/1.251, allocations: 114.5 kB / 0.8099 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/1.251, allocations: 7.562 kB / 0.8099 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01915/1.27, allocations: 6.375 MB / 0.8161 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/1.273, allocations: 414.3 kB / 0.8165 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05958/1.332, allocations: 26.5 MB / 0.8424 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004083/1.336, allocations: 0.5371 MB / 0.8429 GB, free: 120.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/1.337, allocations: 88.64 kB / 0.843 GB, free: 120.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001266/1.338, allocations: 0.5051 MB / 0.8435 GB, free: 120.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/1.339, allocations: 301.2 kB / 0.8438 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.041/1.38, allocations: 14.73 MB / 0.8582 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/1.38, allocations: 25.94 kB / 0.8582 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/1.38, allocations: 19.03 kB / 0.8582 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/1.38, allocations: 15.08 kB / 0.8582 GB, free: 118.8 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04213/1.422, allocations: 18.28 MB / 0.8761 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.422, allocations: 3.469 kB / 0.8761 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.424, allocations: 244.2 kB / 0.8763 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01734/1.441, allocations: 6.23 MB / 0.8824 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006299/1.442, allocations: 56.5 kB / 0.8824 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05305/1.495, allocations: 26.9 MB / 0.9087 GB, free: 91.71 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.495, allocations: 0 / 0.9087 GB, free: 91.71 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04325/1.538, allocations: 17.32 MB / 0.9256 GB, free: 77.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009557/1.539, allocations: 417.5 kB / 0.926 GB, free: 77.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004725/1.54, allocations: 44 kB / 0.9261 GB, free: 77.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002809/1.542, allocations: 413.7 kB / 0.9265 GB, free: 76.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001924/1.544, allocations: 0.5801 MB / 0.927 GB, free: 76.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.545, allocations: 69.38 kB / 0.9271 GB, free: 76.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001932/1.546, allocations: 1.49 MB / 0.9285 GB, free: 75.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.546, allocations: 4 kB / 0.9285 GB, free: 75.34 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002759/1.549, allocations: 1.118 MB / 0.9296 GB, free: 74.26 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003811/1.55, allocations: 186.7 kB / 0.9298 GB, free: 74.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0157/1.565, allocations: 7.023 MB / 0.9367 GB, free: 67.97 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.565, allocations: 0 / 0.9367 GB, free: 67.97 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01212/1.577, allocations: 5.069 MB / 0.9416 GB, free: 63.58 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/1.579, allocations: 223.3 kB / 0.9418 GB, free: 63.38 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008397/1.588, allocations: 6.376 MB / 0.9481 GB, free: 57.47 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.589, allocations: 1.866 MB / 0.9499 GB, free: 56.01 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00106/1.59, allocations: 212.9 kB / 0.9501 GB, free: 55.86 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/1.59, allocations: 143.2 kB / 0.9502 GB, free: 55.74 MB / 0.573 GB Notification: Performance of SimCode: time 1.283e-06/1.59, allocations: 0 / 0.9502 GB, free: 55.74 MB / 0.573 GB Notification: Performance of Templates: time 0.07092/1.661, allocations: 55.38 MB / 1.004 GB, free: 2.719 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)