Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007176/0.007176, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000882/0.000882, allocations: 86.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06162/0.06162, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4244/0.4244, allocations: 78.5 MB / 459.5 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005113, allocations: 22.34 kB / 0.528 GB, free: 35.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 69.24 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.4908, allocations: 103.8 MB / 0.697 GB, free: 99.75 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.491, allocations: 81.41 kB / 0.697 GB, free: 99.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2132/0.7042, allocations: 96.81 MB / 0.7916 GB, free: 17.51 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7042, allocations: 4 kB / 0.7916 GB, free: 17.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000414/0.7047, allocations: 88 kB / 0.7917 GB, free: 17.42 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01897/0.7237, allocations: 6.6 MB / 0.7981 GB, free: 10.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.7237, allocations: 15.98 kB / 0.7981 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001685/0.7254, allocations: 484.8 kB / 0.7986 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.7419, allocations: 2.811 MB / 0.8013 GB, free: 7.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006888/0.7488, allocations: 2.325 MB / 0.8036 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008855/0.7497, allocations: 0.9595 MB / 0.8045 GB, free: 3.918 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/0.7512, allocations: 344 kB / 0.8049 GB, free: 3.582 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/0.7638, allocations: 4.95 MB / 0.8097 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.7639, allocations: 4 kB / 0.8097 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009886/0.7649, allocations: 140 kB / 0.8098 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.677e-05/0.765, allocations: 87.95 kB / 0.8099 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.7758, allocations: 4.517 MB / 0.8143 GB, free: 9.844 MB / 490.7 MB 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.03965/0.8155, allocations: 18.7 MB / 0.8326 GB, free: 5.957 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/0.8287, allocations: 5.672 MB / 0.8381 GB, free: 204 kB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008095/0.8295, allocations: 74.86 kB / 0.8382 GB, free: 128 kB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.685e-05/0.8297, allocations: 69.55 kB / 0.8383 GB, free: 48 kB / 0.4949 GB Notification: Performance of pre-optimization done (n=381): time 6.311e-06/0.8297, allocations: 0 / 0.8383 GB, free: 48 kB / 0.4949 GB Notification: Performance of matching and sorting (n=381): time 0.301/1.131, allocations: 78.51 MB / 0.9149 GB, free: 1.367 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/1.131, allocations: 175.5 kB / 0.9151 GB, free: 1.164 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2627/1.393, allocations: 2.732 MB / 0.9178 GB, free: 128.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.395, allocations: 89.14 kB / 0.9179 GB, free: 128.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/1.396, allocations: 2.008 MB / 0.9198 GB, free: 128.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001378/1.397, allocations: 1.289 MB / 0.9211 GB, free: 127.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/1.397, allocations: 72.06 kB / 0.9212 GB, free: 127.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.398, allocations: 443.3 kB / 0.9216 GB, free: 127.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004903/1.403, allocations: 2.668 MB / 0.9242 GB, free: 127.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/1.408, allocations: 3.247 MB / 0.9274 GB, free: 126.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005829/1.414, allocations: 2.914 MB / 0.9302 GB, free: 126.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.398e-05/1.414, allocations: 5.406 kB / 0.9302 GB, free: 126.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.0538/1.468, allocations: 20.13 MB / 0.9499 GB, free: 126 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001189/1.469, allocations: 6.681 MB / 0.9564 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/1.469, allocations: 16.5 kB / 0.9564 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0246/1.494, allocations: 8.469 MB / 0.9647 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/1.497, allocations: 0.5615 MB / 0.9652 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08194/1.579, allocations: 36.72 MB / 1.001 GB, free: 105.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.584, allocations: 0.6926 MB / 1.002 GB, free: 104.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008887/1.585, allocations: 127.6 kB / 1.002 GB, free: 104.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.585, allocations: 4 kB / 1.002 GB, free: 104.4 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05157/1.637, allocations: 19.69 MB / 1.021 GB, free: 89.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.688e-05/1.637, allocations: 16 kB / 1.021 GB, free: 89.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02384/1.661, allocations: 8.468 MB / 1.029 GB, free: 82.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/1.664, allocations: 0.5554 MB / 1.03 GB, free: 82.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08237/1.746, allocations: 36.71 MB / 1.066 GB, free: 51.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005802/1.752, allocations: 0.6621 MB / 1.066 GB, free: 50.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.753, allocations: 131.7 kB / 1.067 GB, free: 50.51 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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: 0 * Non-linear torn systems: 1 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.003084/1.756, allocations: 0.7188 MB / 1.067 GB, free: 49.82 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001757/1.758, allocations: 462.3 kB / 1.068 GB, free: 49.36 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05672/1.815, allocations: 20.46 MB / 1.088 GB, free: 32.21 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/1.815, allocations: 46.98 kB / 1.088 GB, free: 32.16 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-05/1.815, allocations: 28 kB / 1.088 GB, free: 32.14 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/1.815, allocations: 15.94 kB / 1.088 GB, free: 32.12 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.06563/1.881, allocations: 25.73 MB / 1.113 GB, free: 6.309 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-05/1.881, allocations: 0 / 1.113 GB, free: 6.309 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.884, allocations: 407.5 kB / 1.113 GB, free: 5.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02528/1.909, allocations: 8.553 MB / 1.122 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001229/1.91, allocations: 71.98 kB / 1.122 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3733/2.283, allocations: 32.21 MB / 1.153 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/2.284, allocations: 4.031 kB / 1.153 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06603/2.35, allocations: 24.12 MB / 1.177 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/2.351, allocations: 0.5594 MB / 1.177 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/2.353, allocations: 73.28 kB / 1.177 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004661/2.357, allocations: 492.8 kB / 1.178 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003072/2.36, allocations: 0.7656 MB / 1.179 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006435/2.361, allocations: 92.77 kB / 1.179 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003667/2.365, allocations: 2.095 MB / 1.181 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.41e-07/2.365, allocations: 0 / 1.181 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0115/2.376, allocations: 2.877 MB / 1.184 GB, free: 144.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 1 * 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 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06367/2.44, allocations: 24.85 MB / 1.208 GB, free: 142.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04614/2.486, allocations: 16.94 MB / 1.224 GB, free: 140 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/2.486, allocations: 0 / 1.224 GB, free: 140 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01934/2.506, allocations: 6.926 MB / 1.231 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004464/2.51, allocations: 311 kB / 1.231 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/2.536, allocations: 21.27 MB / 1.252 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/2.539, allocations: 2.594 MB / 1.255 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002774/2.542, allocations: 364.7 kB / 1.255 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/2.544, allocations: 1.962 MB / 1.257 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/2.544, allocations: 0 / 1.257 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4634/3.008, allocations: 139.9 MB / 1.394 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/3.008, allocations: 220.7 kB / 1.394 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/10.26, allocations: 3.5 kB / 1.394 GB, free: 146.2 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)