Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, 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.354/1.354, allocations: 221.4 MB / 234.6 MB, free: 14.41 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.000808/0.000808, allocations: 90.12 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4753/0.4753, allocations: 78.09 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.059e-05, allocations: 0 / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3006, allocations: 69.34 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4222, allocations: 99.83 MB / 0.6456 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.4225, allocations: 83.89 kB / 0.6457 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4659/0.8884, allocations: 66.64 MB / 0.7107 GB, free: 97.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.8885, allocations: 4 kB / 0.7107 GB, free: 97.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002493/0.8887, allocations: 57.47 kB / 0.7108 GB, free: 97.16 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01253/0.9013, allocations: 4.003 MB / 0.7147 GB, free: 94.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.9013, allocations: 11.97 kB / 0.7147 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009203/0.9023, allocations: 298.8 kB / 0.715 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009964/0.9122, allocations: 1.596 MB / 0.7166 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/0.9163, allocations: 1.642 MB / 0.7182 GB, free: 90.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006125/0.917, allocations: 0.6906 MB / 0.7188 GB, free: 89.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008902/0.9179, allocations: 211.9 kB / 0.719 GB, free: 89.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005705/0.9236, allocations: 2.557 MB / 0.7215 GB, free: 86.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-05/0.9237, allocations: 0 / 0.7215 GB, free: 86.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/0.9241, allocations: 88 kB / 0.7216 GB, free: 86.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.9241, allocations: 48 kB / 0.7217 GB, free: 86.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004168/0.9283, allocations: 2.32 MB / 0.7239 GB, free: 84.41 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.01797/0.9463, allocations: 9.989 MB / 0.7337 GB, free: 73.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008537/0.9549, allocations: 4.025 MB / 0.7376 GB, free: 69.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/0.9573, allocations: 1.523 MB / 0.7391 GB, free: 68.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/0.9577, allocations: 38.05 kB / 0.7391 GB, free: 68.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.9577, allocations: 72.47 kB / 0.7392 GB, free: 68.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 3.857e-06/0.9577, allocations: 0 / 0.7392 GB, free: 68.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.03642/0.9941, allocations: 12.27 MB / 0.7512 GB, free: 55.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/0.9943, allocations: 239.6 kB / 0.7514 GB, free: 55.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.9972, allocations: 1.83 MB / 0.7532 GB, free: 53.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006701/0.9979, allocations: 65.7 kB / 0.7533 GB, free: 53.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007176/0.9986, allocations: 1.196 MB / 0.7544 GB, free: 52.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.9996, allocations: 0.8354 MB / 0.7553 GB, free: 51.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.9999, allocations: 48 kB / 0.7553 GB, free: 51.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/1, allocations: 394.6 kB / 0.7557 GB, free: 51.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/1.002, allocations: 1.223 MB / 0.7569 GB, free: 49.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/1.004, allocations: 1.532 MB / 0.7584 GB, free: 48.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/1.007, allocations: 1.461 MB / 0.7598 GB, free: 46.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/1.007, allocations: 4 kB / 0.7598 GB, free: 46.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03565/1.042, allocations: 12.44 MB / 0.7719 GB, free: 34.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000528/1.043, allocations: 2.867 MB / 0.7747 GB, free: 31.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.043, allocations: 8 kB / 0.7748 GB, free: 31.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/1.058, allocations: 5.098 MB / 0.7797 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/1.06, allocations: 379.4 kB / 0.7801 GB, free: 25.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03669/1.097, allocations: 17.49 MB / 0.7972 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/1.101, allocations: 0.5173 MB / 0.7977 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/1.101, allocations: 79.98 kB / 0.7978 GB, free: 7.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/1.101, allocations: 8 kB / 0.7978 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03646/1.138, allocations: 12.15 MB / 0.8096 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/1.138, allocations: 11.98 kB / 0.8096 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01642/1.154, allocations: 5.094 MB / 0.8146 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.157, allocations: 367.5 kB / 0.815 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04077/1.197, allocations: 17.48 MB / 0.832 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/1.201, allocations: 0.4901 MB / 0.8325 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003382/1.202, allocations: 83.98 kB / 0.8326 GB, free: 3.512 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: 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 order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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 (208): * Single equations (assignments): 203 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006639/1.202, allocations: 289.5 kB / 0.8329 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00069/1.203, allocations: 296.3 kB / 0.8332 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03801/1.241, allocations: 12.63 MB / 0.8455 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-05/1.241, allocations: 27.95 kB / 0.8455 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/1.241, allocations: 24 kB / 0.8455 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.515e-05/1.241, allocations: 11.95 kB / 0.8455 GB, free: 6.18 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.04437/1.286, allocations: 16.34 MB / 0.8615 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/1.286, allocations: 0 / 0.8615 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/1.288, allocations: 271.6 kB / 0.8618 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01541/1.303, allocations: 4.827 MB / 0.8665 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006348/1.304, allocations: 55.98 kB / 0.8665 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03616/1.34, allocations: 15.36 MB / 0.8815 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.34, allocations: 0 / 0.8815 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04114/1.381, allocations: 14.55 MB / 0.8957 GB, free: 2.414 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.382, allocations: 408.9 kB / 0.8961 GB, free: 1.992 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005865/1.383, allocations: 44 kB / 0.8962 GB, free: 1.949 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.386, allocations: 403.6 kB / 0.8966 GB, free: 1.555 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002091/1.388, allocations: 0.5525 MB / 0.8971 GB, free: 1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.388, allocations: 59.98 kB / 0.8972 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.3399/1.728, allocations: 1.393 MB / 0.8985 GB, free: 171.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.11e-07/1.728, allocations: 0 / 0.8985 GB, free: 171.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008269/1.736, allocations: 1.756 MB / 0.9002 GB, free: 171.6 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 160 * 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: 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.04161/1.778, allocations: 15.33 MB / 0.9152 GB, free: 170.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02659/1.804, allocations: 10.02 MB / 0.925 GB, free: 169.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.805, allocations: 3.875 kB / 0.925 GB, free: 169.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01207/1.817, allocations: 4.064 MB / 0.929 GB, free: 168.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/1.819, allocations: 234.9 kB / 0.9292 GB, free: 168.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009448/1.828, allocations: 4.627 MB / 0.9337 GB, free: 167.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/1.83, allocations: 1.905 MB / 0.9356 GB, free: 166.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001795/1.831, allocations: 449 kB / 0.936 GB, free: 166.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.833, allocations: 1.156 MB / 0.9371 GB, free: 165.2 MB / 0.573 GB Notification: Performance of SimCode: time 8.72e-07/1.833, allocations: 0 / 0.9371 GB, free: 165.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1353/1.968, allocations: 99.68 MB / 1.034 GB, free: 76.96 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/1.968, allocations: 195.3 kB / 1.035 GB, free: 76.73 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.301/7.269, allocations: 4 kB / 1.035 GB, free: 76.73 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)