Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001559/0.00156, allocations: 174.7 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.23/1.23, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.000947/0.0009467, allocations: 86.08 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4151/0.4151, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.462e-05, allocations: 4 kB / 491.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2696, allocations: 69.35 MB / 0.548 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.3741, allocations: 98.6 MB / 0.6442 GB, free: 1.816 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.3743, allocations: 79.95 kB / 0.6443 GB, free: 1.738 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3864/0.7607, allocations: 60.82 MB / 0.7037 GB, free: 100.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.7607, allocations: 0 / 0.7037 GB, free: 100.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001084/0.7608, allocations: 51.5 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.009684/0.7705, allocations: 3.739 MB / 0.7074 GB, free: 98.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.7706, allocations: 11.16 kB / 0.7074 GB, free: 98.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008982/0.7796, allocations: 1.577 MB / 0.709 GB, free: 97.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.782, allocations: 1.458 MB / 0.7104 GB, free: 96.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004544/0.7825, allocations: 0.6856 MB / 0.7111 GB, free: 96.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.7829, allocations: 197.1 kB / 0.7113 GB, free: 96.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.7866, allocations: 2.405 MB / 0.7136 GB, free: 94.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.7866, allocations: 7.953 kB / 0.7136 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.7868, allocations: 76 kB / 0.7137 GB, free: 94.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.7869, allocations: 48 kB / 0.7137 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.7901, allocations: 2.171 MB / 0.7158 GB, free: 92.09 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.01422/0.8043, allocations: 9.609 MB / 0.7252 GB, free: 82.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008475/0.8128, allocations: 4.045 MB / 0.7292 GB, free: 77.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.8147, allocations: 1.432 MB / 0.7306 GB, free: 76.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.815, allocations: 42.12 kB / 0.7306 GB, free: 76.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.815, allocations: 60.5 kB / 0.7307 GB, free: 76.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 3.798e-06/0.815, allocations: 4 kB / 0.7307 GB, free: 76.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03323/0.8482, allocations: 12.05 MB / 0.7425 GB, free: 64.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.8483, allocations: 132.8 kB / 0.7426 GB, free: 64.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.8507, allocations: 1.62 MB / 0.7442 GB, free: 62.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003782/0.8511, allocations: 65.7 kB / 0.7442 GB, free: 62.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/0.8516, allocations: 1.131 MB / 0.7453 GB, free: 61.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007584/0.8524, allocations: 0.7867 MB / 0.7461 GB, free: 60.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.8526, allocations: 40 kB / 0.7461 GB, free: 60.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.8528, allocations: 390.1 kB / 0.7465 GB, free: 60.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.8546, allocations: 1.16 MB / 0.7476 GB, free: 59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.8566, allocations: 1.451 MB / 0.7491 GB, free: 57.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.8585, allocations: 1.269 MB / 0.7503 GB, free: 56.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.8585, allocations: 0 / 0.7503 GB, free: 56.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03395/0.8925, allocations: 12.22 MB / 0.7622 GB, free: 43.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000404/0.8929, allocations: 2.732 MB / 0.7649 GB, free: 40.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.893, allocations: 11.38 kB / 0.7649 GB, free: 40.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01545/0.9084, allocations: 5.221 MB / 0.77 GB, free: 35.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.9101, allocations: 327.5 kB / 0.7703 GB, free: 35.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03668/0.9468, allocations: 17.89 MB / 0.7878 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/0.9502, allocations: 493.8 kB / 0.7883 GB, free: 16.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004347/0.9507, allocations: 75.98 kB / 0.7883 GB, free: 16.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.9507, allocations: 0 / 0.7883 GB, free: 16.85 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0338/0.9845, allocations: 11.96 MB / 0.8 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.9846, allocations: 7.953 kB / 0.8 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01584/1, allocations: 5.227 MB / 0.8051 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.002, allocations: 311.5 kB / 0.8054 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04158/1.044, allocations: 17.88 MB / 0.8229 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/1.047, allocations: 469.9 kB / 0.8233 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/1.048, allocations: 71.98 kB / 0.8234 GB, free: 12.81 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.0007818/1.049, allocations: 234.1 kB / 0.8236 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008593/1.049, allocations: 272.6 kB / 0.8239 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03768/1.087, allocations: 12.39 MB / 0.836 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/1.087, allocations: 23.95 kB / 0.836 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.734e-05/1.087, allocations: 20 kB / 0.836 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.43e-05/1.087, allocations: 11.95 kB / 0.836 GB, free: 15.83 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.04368/1.131, allocations: 15.87 MB / 0.8515 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/1.131, allocations: 7.375 kB / 0.8515 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.133, allocations: 251.6 kB / 0.8518 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01558/1.148, allocations: 4.827 MB / 0.8565 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005205/1.149, allocations: 43.98 kB / 0.8565 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03534/1.184, allocations: 15.36 MB / 0.8715 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.184, allocations: 0 / 0.8715 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04093/1.225, allocations: 14.29 MB / 0.8855 GB, free: 12.87 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008931/1.226, allocations: 381.3 kB / 0.8858 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008249/1.227, allocations: 43.98 kB / 0.8859 GB, free: 12.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003231/1.23, allocations: 371.6 kB / 0.8862 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001971/1.232, allocations: 0.5407 MB / 0.8868 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003282/1.233, allocations: 59.98 kB / 0.8868 GB, free: 11.46 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002081/1.235, allocations: 1.242 MB / 0.888 GB, free: 10.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/1.235, allocations: 0 / 0.888 GB, free: 10.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005314/1.24, allocations: 1.685 MB / 0.8897 GB, free: 8.516 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.0005509/1.24, allocations: 176.5 kB / 0.8899 GB, free: 8.332 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2691/1.51, allocations: 9.373 MB / 0.899 GB, free: 179 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.51, allocations: 1.094 kB / 0.899 GB, free: 179 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01161/1.521, allocations: 3.888 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.001497/1.523, allocations: 192.1 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.007315/1.53, allocations: 3.977 MB / 0.9069 GB, free: 177.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.531, allocations: 1.789 MB / 0.9086 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001513/1.533, allocations: 363.9 kB / 0.909 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/1.533, allocations: 101.5 kB / 0.9091 GB, free: 176.9 MB / 0.573 GB Notification: Performance of SimCode: time 7.01e-07/1.533, allocations: 0 / 0.9091 GB, free: 176.9 MB / 0.573 GB Notification: Performance of Templates: time 0.08406/1.617, allocations: 74.83 MB / 0.9821 GB, free: 126.8 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)