Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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.00094/0.0009401, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.186/1.186, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.0007621/0.0007622, allocations: 82.64 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06054/0.06054, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2748/0.2748, allocations: 78.01 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.998e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 69.25 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.4953, allocations: 103.9 MB / 0.6904 GB, free: 12.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4956, allocations: 78.64 kB / 0.6905 GB, free: 12.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2382/0.7338, allocations: 97 MB / 0.7852 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7338, allocations: 0 / 0.7852 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002811/0.7341, allocations: 91.88 kB / 0.7853 GB, free: 5.629 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01746/0.7516, allocations: 5.794 MB / 0.7909 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.7517, allocations: 11.98 kB / 0.791 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00125/0.7529, allocations: 488.8 kB / 0.7914 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.7695, allocations: 2.791 MB / 0.7941 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005794/0.7754, allocations: 2.287 MB / 0.7964 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/0.7765, allocations: 0.9596 MB / 0.7973 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.7778, allocations: 347.9 kB / 0.7976 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007431/0.7852, allocations: 4.096 MB / 0.8016 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/0.7853, allocations: 4 kB / 0.8017 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/0.7857, allocations: 148 kB / 0.8018 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.7857, allocations: 84 kB / 0.8019 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006254/0.792, allocations: 3.624 MB / 0.8054 GB, free: 0.6758 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 preOpt removeSimpleEquations (simulation): time 0.03318/0.8252, allocations: 18.75 MB / 0.8237 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.8357, allocations: 4.79 MB / 0.8284 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003965/0.8397, allocations: 2.233 MB / 0.8306 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004836/0.8402, allocations: 74.91 kB / 0.8306 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.8403, allocations: 77.56 kB / 0.8307 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 5.911e-06/0.8403, allocations: 0 / 0.8307 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05251/0.8928, allocations: 17.47 MB / 0.8478 GB, free: 3.922 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.8929, allocations: 171.5 kB / 0.848 GB, free: 3.723 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00421/0.8972, allocations: 2.686 MB / 0.8506 GB, free: 1.02 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008858/0.8981, allocations: 89.7 kB / 0.8507 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.8994, allocations: 2.01 MB / 0.8526 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001674/0.9011, allocations: 1.309 MB / 0.8539 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.9014, allocations: 72 kB / 0.854 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.9016, allocations: 441.6 kB / 0.8544 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/0.9047, allocations: 1.835 MB / 0.8562 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/0.9082, allocations: 2.426 MB / 0.8586 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/0.9116, allocations: 2.095 MB / 0.8606 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.9117, allocations: 4 kB / 0.8606 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.3351/1.247, allocations: 17.75 MB / 0.8779 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001245/1.248, allocations: 6.684 MB / 0.8845 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.605e-05/1.248, allocations: 14.53 kB / 0.8845 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02416/1.272, allocations: 6.996 MB / 0.8913 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/1.275, allocations: 0.5417 MB / 0.8918 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05955/1.335, allocations: 26.93 MB / 0.9181 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005943/1.341, allocations: 0.6929 MB / 0.9188 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007828/1.342, allocations: 133.8 kB / 0.9189 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.342, allocations: 3.844 kB / 0.9189 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04622/1.388, allocations: 17.34 MB / 0.9359 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.022e-05/1.388, allocations: 11.84 kB / 0.9359 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02116/1.409, allocations: 6.998 MB / 0.9427 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/1.412, allocations: 0.5296 MB / 0.9432 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.053/1.465, allocations: 26.92 MB / 0.9695 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005555/1.471, allocations: 0.6654 MB / 0.9702 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/1.471, allocations: 131.8 kB / 0.9703 GB, free: 100.8 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 321 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008483/1.472, allocations: 332.8 kB / 0.9706 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.473, allocations: 466.2 kB / 0.9711 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04809/1.521, allocations: 18.03 MB / 0.9887 GB, free: 86.19 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/1.521, allocations: 36 kB / 0.9887 GB, free: 86.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/1.521, allocations: 28 kB / 0.9887 GB, free: 86.13 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.488e-05/1.521, allocations: 21.84 kB / 0.9888 GB, free: 86.13 MB / 0.5886 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.05512/1.577, allocations: 23.32 MB / 1.012 GB, free: 68.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/1.577, allocations: 0 / 1.012 GB, free: 68.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/1.579, allocations: 405.3 kB / 1.012 GB, free: 68.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02089/1.6, allocations: 6.941 MB / 1.019 GB, free: 62.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009568/1.601, allocations: 67.66 kB / 1.019 GB, free: 62.67 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04634/1.647, allocations: 22.56 MB / 1.041 GB, free: 42.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.647, allocations: 0 / 1.041 GB, free: 42.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05229/1.7, allocations: 20.87 MB / 1.061 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.701, allocations: 0.5681 MB / 1.062 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.702, allocations: 66.3 kB / 1.062 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004681/1.707, allocations: 491.6 kB / 1.062 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00276/1.71, allocations: 0.7724 MB / 1.063 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003546/1.71, allocations: 91.98 kB / 1.063 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002522/1.713, allocations: 2.038 MB / 1.065 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2e-07/1.713, allocations: 0 / 1.065 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00725/1.72, allocations: 2.897 MB / 1.068 GB, free: 16.22 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05326/1.773, allocations: 21.61 MB / 1.089 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.3259/2.099, allocations: 14.74 MB / 1.103 GB, free: 142 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/2.099, allocations: 3.781 kB / 1.103 GB, free: 142 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01899/2.118, allocations: 5.994 MB / 1.109 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/2.122, allocations: 314.4 kB / 1.11 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02137/2.143, allocations: 6.888 MB / 1.116 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/2.146, allocations: 2.611 MB / 1.119 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003215/2.149, allocations: 0.6134 MB / 1.119 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/2.151, allocations: 1.916 MB / 1.121 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/2.151, allocations: 0 / 1.121 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.188/2.339, allocations: 149.1 MB / 1.267 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001127/2.339, allocations: 193.5 kB / 1.267 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/10.06, allocations: 0 / 1.267 GB, free: 53.29 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)