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.00095/0.0009501, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.3 MB / 213.4 MB, free: 13.75 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.0009097/0.0009098, allocations: 85.91 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07265/0.07265, allocations: 12.19 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3342/0.3342, allocations: 78.06 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.215e-05, allocations: 4 kB / 0.5142 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1945, allocations: 69.24 MB / 0.5818 GB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5905/0.7851, allocations: 100.8 MB / 0.6802 GB, free: 7.852 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.7854, allocations: 72.03 kB / 0.6803 GB, free: 7.816 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1889/0.9743, allocations: 70.24 MB / 0.7489 GB, free: 12.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.9744, allocations: 0 / 0.7489 GB, free: 12.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003357/0.9748, allocations: 55.94 kB / 0.749 GB, free: 12.45 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.01292/0.9877, allocations: 3.46 MB / 0.7523 GB, free: 8.934 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.9878, allocations: 12.03 kB / 0.7524 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.9981, allocations: 1.455 MB / 0.7538 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006292/1.004, allocations: 1.718 MB / 0.7554 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006352/1.005, allocations: 382.8 kB / 0.7558 GB, free: 5.254 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009585/1.006, allocations: 115.9 kB / 0.7559 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005173/1.011, allocations: 1.956 MB / 0.7578 GB, free: 3.184 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/1.017, allocations: 1.777 MB / 0.7596 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/1.017, allocations: 4 kB / 0.7596 GB, free: 1.391 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/1.017, allocations: 7.922 kB / 0.7596 GB, free: 1.383 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/1.017, allocations: 43.94 kB / 0.7596 GB, free: 1.34 MB / 490.7 MB 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.02369/1.041, allocations: 9.223 MB / 0.7686 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/1.052, allocations: 4.26 MB / 0.7728 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/1.055, allocations: 1.291 MB / 0.7741 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004173/1.055, allocations: 37.97 kB / 0.7741 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/1.055, allocations: 60.45 kB / 0.7741 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=223): time 4.648e-06/1.055, allocations: 0 / 0.7741 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=223): time 0.02752/1.083, allocations: 8.122 MB / 0.7821 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/1.083, allocations: 73.41 kB / 0.7821 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005398/1.088, allocations: 2.058 MB / 0.7842 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008577/1.089, allocations: 33.7 kB / 0.7842 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.091, allocations: 1.221 MB / 0.7854 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001602/1.092, allocations: 0.7543 MB / 0.7861 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/1.092, allocations: 0 / 0.7861 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002988/1.093, allocations: 382.2 kB / 0.7865 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/1.095, allocations: 1.02 MB / 0.7875 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/1.097, allocations: 1.28 MB / 0.7887 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/1.1, allocations: 1.142 MB / 0.7898 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/1.1, allocations: 11.94 kB / 0.7899 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01851/1.118, allocations: 5.924 MB / 0.7956 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/1.118, allocations: 9.719 kB / 0.7956 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/1.118, allocations: 8 kB / 0.7957 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01363/1.132, allocations: 3.245 MB / 0.7988 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006908/1.139, allocations: 1.491 MB / 0.8003 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02746/1.166, allocations: 17.11 MB / 0.817 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004583/1.171, allocations: 322 kB / 0.8173 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000919/1.172, allocations: 75.98 kB / 0.8174 GB, free: 4.418 MB / 0.5417 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.0009258/1.173, allocations: 164.8 kB / 0.8175 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02617/1.199, allocations: 8.127 MB / 0.8255 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002636/1.202, allocations: 308.1 kB / 0.8258 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02704/1.229, allocations: 8.361 MB / 0.8339 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/1.229, allocations: 27.94 kB / 0.8339 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.229, allocations: 0 / 0.8339 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.708e-05/1.229, allocations: 11.95 kB / 0.834 GB, free: 3.379 MB / 0.5573 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.03525/1.264, allocations: 12.13 MB / 0.8458 GB, free: 7.031 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.264, allocations: 3.938 kB / 0.8458 GB, free: 7.027 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.266, allocations: 215.7 kB / 0.846 GB, free: 6.816 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01308/1.279, allocations: 3.948 MB / 0.8499 GB, free: 2.859 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008137/1.28, allocations: 8 kB / 0.8499 GB, free: 2.852 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03135/1.312, allocations: 13.02 MB / 0.8626 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.312, allocations: 0 / 0.8626 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3516/1.663, allocations: 10.11 MB / 0.8725 GB, free: 161 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/1.664, allocations: 468.7 kB / 0.8729 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006992/1.665, allocations: 6.219 kB / 0.8729 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/1.668, allocations: 184.1 kB / 0.8731 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001233/1.669, allocations: 380.3 kB / 0.8735 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.669, allocations: 56 kB / 0.8735 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00213/1.671, allocations: 1.551 MB / 0.875 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/1.671, allocations: 0 / 0.875 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003567/1.675, allocations: 0.9142 MB / 0.8759 GB, free: 160.8 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.03287/1.708, allocations: 10.84 MB / 0.8865 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01354/1.721, allocations: 5.283 MB / 0.8917 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.721, allocations: 0 / 0.8917 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.009749/1.731, allocations: 3.173 MB / 0.8948 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/1.734, allocations: 176.1 kB / 0.8949 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.747, allocations: 5.034 MB / 0.8998 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/1.749, allocations: 1.824 MB / 0.9016 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001497/1.751, allocations: 196.6 kB / 0.9018 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.752, allocations: 1.2 MB / 0.903 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/1.752, allocations: 0 / 0.903 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/1.893, allocations: 68.3 MB / 0.9697 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.893, allocations: 126.4 kB / 0.9698 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.18/7.073, allocations: 0 / 0.9698 GB, free: 125.6 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)