Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.008008/0.008008, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.325/1.325, 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.0009224/0.0009225, allocations: 98.83 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06211/0.06211, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3934/0.3934, allocations: 78.53 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005, allocations: 20.44 kB / 0.528 GB, free: 35.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1132, allocations: 69.24 MB / 0.5956 GB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.2293, allocations: 99.75 MB / 0.693 GB, free: 436 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.2295, allocations: 83.95 kB / 0.6931 GB, free: 352 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3032/0.5327, allocations: 29.26 MB / 0.7217 GB, free: 89.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.5328, allocations: 4 kB / 0.7217 GB, free: 89.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001364/0.5329, allocations: 20 kB / 0.7217 GB, free: 89.95 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005598/0.5385, allocations: 1.979 MB / 0.7236 GB, free: 87.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5386, allocations: 15.98 kB / 0.7237 GB, free: 87.89 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003416/0.5389, allocations: 122.5 kB / 0.7238 GB, free: 87.76 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/0.5423, allocations: 0.5679 MB / 0.7243 GB, free: 87.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.5441, allocations: 0.8112 MB / 0.7251 GB, free: 86.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.5444, allocations: 238.4 kB / 0.7254 GB, free: 86.06 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.5446, allocations: 83.89 kB / 0.7254 GB, free: 85.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.5466, allocations: 1.142 MB / 0.7265 GB, free: 84.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.5467, allocations: 3.938 kB / 0.7266 GB, free: 84.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-05/0.5468, allocations: 24 kB / 0.7266 GB, free: 84.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.5468, allocations: 23.95 kB / 0.7266 GB, free: 84.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.5487, allocations: 1.07 MB / 0.7276 GB, free: 83.7 MB / 474.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.006227/0.5549, allocations: 3.828 MB / 0.7314 GB, free: 79.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006932/0.5619, allocations: 2.875 MB / 0.7342 GB, free: 76.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.562, allocations: 12.95 kB / 0.7342 GB, free: 76.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.562, allocations: 51.48 kB / 0.7342 GB, free: 76.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 3.637e-06/0.5621, allocations: 0 / 0.7342 GB, free: 76.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.02615/0.5882, allocations: 8.034 MB / 0.7421 GB, free: 68.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.5883, allocations: 137.5 kB / 0.7422 GB, free: 68.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.59, allocations: 0.9172 MB / 0.7431 GB, free: 67.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000217/0.5903, allocations: 41.7 kB / 0.7432 GB, free: 67.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.5906, allocations: 0.5129 MB / 0.7437 GB, free: 66.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.591, allocations: 327.2 kB / 0.744 GB, free: 66.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.5911, allocations: 16 kB / 0.744 GB, free: 66.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.5912, allocations: 341.9 kB / 0.7443 GB, free: 66.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.5924, allocations: 0.6383 MB / 0.7449 GB, free: 65.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.5937, allocations: 0.7682 MB / 0.7457 GB, free: 64.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.5949, allocations: 0.7461 MB / 0.7464 GB, free: 64.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.595, allocations: 4 kB / 0.7464 GB, free: 64.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01217/0.6071, allocations: 4.664 MB / 0.751 GB, free: 59.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.6074, allocations: 1.207 MB / 0.7522 GB, free: 58.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.6075, allocations: 0 / 0.7522 GB, free: 58.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005543/0.613, allocations: 1.847 MB / 0.754 GB, free: 56.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/0.614, allocations: 159.8 kB / 0.7541 GB, free: 56.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/0.6321, allocations: 9.244 MB / 0.7631 GB, free: 46.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.6338, allocations: 191.2 kB / 0.7633 GB, free: 46.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.6341, allocations: 39.98 kB / 0.7634 GB, free: 46.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.6341, allocations: 7.953 kB / 0.7634 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0119/0.646, allocations: 4.512 MB / 0.7678 GB, free: 41.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.6461, allocations: 0 / 0.7678 GB, free: 41.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005404/0.6515, allocations: 1.851 MB / 0.7696 GB, free: 40 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/0.6524, allocations: 151.8 kB / 0.7697 GB, free: 39.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/0.6704, allocations: 9.25 MB / 0.7788 GB, free: 30.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.6724, allocations: 183.4 kB / 0.7789 GB, free: 30.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/0.6727, allocations: 35.98 kB / 0.779 GB, free: 30.26 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.001094/0.6738, allocations: 359.1 kB / 0.7793 GB, free: 29.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006002/0.6744, allocations: 126.4 kB / 0.7794 GB, free: 29.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.6868, allocations: 4.614 MB / 0.7839 GB, free: 25.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.6868, allocations: 15.94 kB / 0.784 GB, free: 25.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.6869, allocations: 8 kB / 0.784 GB, free: 25.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.6869, allocations: 7.969 kB / 0.784 GB, free: 25.11 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.01398/0.7009, allocations: 6.225 MB / 0.79 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.701, allocations: 0 / 0.79 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.7017, allocations: 111.8 kB / 0.7902 GB, free: 18.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004779/0.7065, allocations: 1.8 MB / 0.7919 GB, free: 16.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/0.7067, allocations: 23.98 kB / 0.7919 GB, free: 16.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.722, allocations: 8.011 MB / 0.7998 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.722, allocations: 4 kB / 0.7998 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/0.7354, allocations: 5.528 MB / 0.8052 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.736, allocations: 223.4 kB / 0.8054 GB, free: 2.871 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004702/0.7365, allocations: 23.92 kB / 0.8054 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.7379, allocations: 136.1 kB / 0.8055 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005556/0.7385, allocations: 180.7 kB / 0.8057 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.7386, allocations: 27.94 kB / 0.8057 GB, free: 2.512 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.7398, allocations: 0.7274 MB / 0.8064 GB, free: 1.777 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7399, allocations: 0 / 0.8064 GB, free: 1.777 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002366/0.7422, allocations: 0.6631 MB / 0.8071 GB, free: 1.113 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01457/0.7568, allocations: 6.202 MB / 0.8131 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0118/0.7687, allocations: 4.175 MB / 0.8172 GB, free: 6.613 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.7687, allocations: 3.938 kB / 0.8172 GB, free: 6.609 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004311/0.773, allocations: 1.665 MB / 0.8188 GB, free: 4.918 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.7742, allocations: 104.6 kB / 0.8189 GB, free: 4.812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/0.7807, allocations: 5.066 MB / 0.8239 GB, free: 15.64 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.7814, allocations: 1.155 MB / 0.825 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0005739/0.782, allocations: 126.4 kB / 0.8251 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/0.7827, allocations: 471.3 kB / 0.8256 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of SimCode: time 8.92e-07/0.7827, allocations: 0 / 0.8256 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06102/0.8437, allocations: 35.73 MB / 0.8605 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.844, allocations: 227.4 kB / 0.8607 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/3.876, allocations: 0 / 0.8607 GB, free: 10.05 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)