Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.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_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",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.0009817/0.0009817, 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 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0007397/0.0007397, allocations: 82.7 kB / 266.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06446/0.06446, allocations: 12.19 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2782/0.2782, allocations: 78.02 MB / 455.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.827e-05, allocations: 4 kB / 0.5213 GB, free: 24.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 69.24 MB / 0.5889 GB, free: 2.965 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/0.4722, allocations: 104.3 MB / 0.6908 GB, free: 12.12 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.4724, allocations: 83.45 kB / 0.6909 GB, free: 12.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2481/0.7205, allocations: 98.32 MB / 0.7869 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7206, allocations: 0 / 0.7869 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004529/0.721, allocations: 87.94 kB / 0.787 GB, free: 3.941 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01953/0.7406, allocations: 5.798 MB / 0.7926 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.7406, allocations: 15.98 kB / 0.7927 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001826/0.7425, allocations: 492.7 kB / 0.7931 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/0.7601, allocations: 2.787 MB / 0.7959 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006382/0.7665, allocations: 2.257 MB / 0.7981 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001293/0.7678, allocations: 0.9886 MB / 0.799 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/0.7695, allocations: 347.9 kB / 0.7994 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.7796, allocations: 4.1 MB / 0.8034 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.368e-05/0.7797, allocations: 0 / 0.8034 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/0.7801, allocations: 147.9 kB / 0.8035 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.7802, allocations: 84 kB / 0.8036 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006763/0.787, allocations: 3.628 MB / 0.8071 GB, free: 14.98 MB / 0.5417 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.03514/0.8221, allocations: 18.68 MB / 0.8254 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.8329, allocations: 4.833 MB / 0.8301 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004305/0.8372, allocations: 2.237 MB / 0.8323 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/0.8379, allocations: 66.92 kB / 0.8323 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005914/0.8438, allocations: 2.631 MB / 0.8349 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 7.173e-06/0.8438, allocations: 4 kB / 0.8349 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.05396/0.8978, allocations: 17.61 MB / 0.8521 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.8979, allocations: 141.8 kB / 0.8522 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/0.9023, allocations: 2.698 MB / 0.8549 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0008999/0.9032, allocations: 89.7 kB / 0.855 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.9046, allocations: 2.01 MB / 0.8569 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001602/0.9062, allocations: 1.309 MB / 0.8582 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.9065, allocations: 72 kB / 0.8583 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.9067, allocations: 445.8 kB / 0.8587 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/0.9099, allocations: 1.851 MB / 0.8605 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003635/0.9135, allocations: 2.434 MB / 0.8629 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.9169, allocations: 2.112 MB / 0.8649 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.917, allocations: 4 kB / 0.865 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.3427/1.26, allocations: 17.83 MB / 0.8824 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.26, allocations: 70.03 kB / 0.8824 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-05/1.26, allocations: 18.53 kB / 0.8825 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02386/1.284, allocations: 7.058 MB / 0.8893 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/1.287, allocations: 0.5534 MB / 0.8899 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06059/1.348, allocations: 27.12 MB / 0.9164 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005745/1.353, allocations: 0.7052 MB / 0.9171 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006493/1.354, allocations: 138 kB / 0.9172 GB, free: 127.3 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008209/1.355, allocations: 330.6 kB / 0.9175 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009977/1.356, allocations: 467.5 kB / 0.918 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04816/1.404, allocations: 18.17 MB / 0.9357 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/1.404, allocations: 38.72 kB / 0.9357 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/1.404, allocations: 26 kB / 0.9358 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.593e-05/1.404, allocations: 19.17 kB / 0.9358 GB, free: 124.5 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.05315/1.457, allocations: 23.18 MB / 0.9584 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/1.457, allocations: 3.938 kB / 0.9584 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/1.46, allocations: 395.5 kB / 0.9588 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02016/1.48, allocations: 7.028 MB / 0.9657 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007804/1.481, allocations: 70.52 kB / 0.9657 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04595/1.527, allocations: 24.51 MB / 0.9897 GB, free: 88.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.527, allocations: 0 / 0.9897 GB, free: 88.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0547/1.581, allocations: 21.03 MB / 1.01 GB, free: 71.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.583, allocations: 0.5654 MB / 1.011 GB, free: 70.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/1.584, allocations: 60 kB / 1.011 GB, free: 70.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005064/1.589, allocations: 0.4943 MB / 1.011 GB, free: 70.25 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003167/1.593, allocations: 0.7841 MB / 1.012 GB, free: 69.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006725/1.593, allocations: 95.47 kB / 1.012 GB, free: 69.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003098/1.596, allocations: 2.048 MB / 1.014 GB, free: 67.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2e-07/1.596, allocations: 0 / 1.014 GB, free: 67.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005511/1.602, allocations: 1.77 MB / 1.016 GB, free: 66.13 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05395/1.656, allocations: 21.77 MB / 1.037 GB, free: 48.12 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02099/1.677, allocations: 8.384 MB / 1.045 GB, free: 40.42 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.677, allocations: 0 / 1.045 GB, free: 40.42 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01714/1.694, allocations: 6.155 MB / 1.051 GB, free: 34.96 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/1.697, allocations: 308.4 kB / 1.052 GB, free: 34.67 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.716, allocations: 6.761 MB / 1.058 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/1.718, allocations: 2.547 MB / 1.061 GB, free: 25.39 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001728/1.72, allocations: 300.9 kB / 1.061 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.722, allocations: 1.952 MB / 1.063 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of SimCode: time 1.412e-06/1.722, allocations: 0 / 1.063 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4362/2.158, allocations: 114.5 MB / 1.175 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/2.158, allocations: 194.2 kB / 1.175 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.203/8.361, allocations: 4 kB / 1.175 GB, free: 140.2 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)