Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",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.0009844/0.0009843, allocations: 174.1 kB / 12.73 MB, free: 2.586 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.295/1.295, 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.0008173/0.0008171, allocations: 89.7 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07112/0.07112, allocations: 12.19 MB / 326.8 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.2847/0.2847, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.536e-05, allocations: 4 kB / 0.5213 GB, free: 24.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 69.25 MB / 0.5889 GB, free: 2.965 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.4939, allocations: 101.4 MB / 0.688 GB, free: 14.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.4941, allocations: 76.61 kB / 0.6881 GB, free: 14.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1808/0.6749, allocations: 71.3 MB / 0.7577 GB, free: 1.996 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.675, allocations: 0 / 0.7577 GB, free: 1.996 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002858/0.6753, allocations: 55.94 kB / 0.7577 GB, free: 1.941 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.01063/0.6859, allocations: 3.46 MB / 0.7611 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.686, allocations: 15.98 kB / 0.7611 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001017/0.687, allocations: 265.3 kB / 0.7614 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009509/0.6965, allocations: 1.463 MB / 0.7628 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/0.7016, allocations: 1.718 MB / 0.7645 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005391/0.7022, allocations: 446.8 kB / 0.7649 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008623/0.703, allocations: 187.8 kB / 0.7651 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005169/0.7082, allocations: 2.03 MB / 0.7671 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.7083, allocations: 0 / 0.7671 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.7085, allocations: 68 kB / 0.7671 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.7085, allocations: 44 kB / 0.7672 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.712, allocations: 2.045 MB / 0.7692 GB, free: 6.016 MB / 0.4948 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.01513/0.7272, allocations: 9.527 MB / 0.7785 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00873/0.7359, allocations: 4.327 MB / 0.7827 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.738, allocations: 1.354 MB / 0.784 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.7383, allocations: 33.97 kB / 0.7841 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.7383, allocations: 64.5 kB / 0.7841 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=223): time 4.388e-06/0.7383, allocations: 0 / 0.7841 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of matching and sorting (n=223): time 0.02433/0.7627, allocations: 8.279 MB / 0.7922 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.7628, allocations: 77.41 kB / 0.7923 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.7665, allocations: 2.244 MB / 0.7945 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006054/0.7671, allocations: 61.7 kB / 0.7945 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008838/0.768, allocations: 1.221 MB / 0.7957 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009593/0.769, allocations: 0.7893 MB / 0.7965 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.7691, allocations: 44 kB / 0.7965 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7693, allocations: 382.1 kB / 0.7969 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.7711, allocations: 1.059 MB / 0.7979 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.7731, allocations: 1.339 MB / 0.7992 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.775, allocations: 1.189 MB / 0.8004 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.775, allocations: 3.938 kB / 0.8004 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01674/0.7917, allocations: 6.127 MB / 0.8064 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.7918, allocations: 11.94 kB / 0.8064 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.7919, allocations: 8 kB / 0.8064 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0127/0.8046, allocations: 3.291 MB / 0.8096 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006534/0.8111, allocations: 1.498 MB / 0.8111 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/0.8359, allocations: 17.62 MB / 0.8283 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/0.8397, allocations: 366 kB / 0.8286 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/0.84, allocations: 71.98 kB / 0.8287 GB, free: 7.121 MB / 0.5573 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005301/0.8405, allocations: 246.2 kB / 0.829 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005847/0.8411, allocations: 308.2 kB / 0.8292 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02349/0.8646, allocations: 8.584 MB / 0.8376 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.8647, allocations: 24 kB / 0.8377 GB, free: 13.94 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.8647, allocations: 0 / 0.8377 GB, free: 13.94 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-05/0.8648, allocations: 15.91 kB / 0.8377 GB, free: 13.92 MB / 0.573 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.02923/0.894, allocations: 12.53 MB / 0.8499 GB, free: 1.164 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/0.8941, allocations: 4 kB / 0.8499 GB, free: 1.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.8957, allocations: 227.7 kB / 0.8501 GB, free: 0.9375 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01189/0.9076, allocations: 3.98 MB / 0.854 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000502/0.9081, allocations: 47.98 kB / 0.8541 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3023/1.21, allocations: 13.21 MB / 0.867 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.21, allocations: 2.391 kB / 0.867 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02897/1.239, allocations: 10.32 MB / 0.877 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/1.241, allocations: 475.7 kB / 0.8775 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006914/1.241, allocations: 41.94 kB / 0.8775 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/1.244, allocations: 219.1 kB / 0.8777 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/1.245, allocations: 375.2 kB / 0.8781 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.245, allocations: 54.41 kB / 0.8781 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002943/1.248, allocations: 1.719 MB / 0.8798 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/1.248, allocations: 0.9375 kB / 0.8798 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003363/1.252, allocations: 1 MB / 0.8808 GB, free: 157.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * 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 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.02798/1.28, allocations: 11.1 MB / 0.8916 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.29, allocations: 5.449 MB / 0.897 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.29, allocations: 2.781 kB / 0.897 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.008402/1.299, allocations: 3.265 MB / 0.9002 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/1.301, allocations: 221.1 kB / 0.9004 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008957/1.31, allocations: 5.22 MB / 0.9055 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.311, allocations: 1.821 MB / 0.9072 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001071/1.312, allocations: 196.7 kB / 0.9074 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/1.313, allocations: 1.209 MB / 0.9086 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/1.313, allocations: 0 / 0.9086 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09888/1.412, allocations: 74.57 MB / 0.9814 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.412, allocations: 172.5 kB / 0.9816 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.19/5.602, allocations: 3.375 kB / 0.9816 GB, free: 109.4 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)