Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.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.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",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.0008566/0.0008566, 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.21/1.21, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008253/0.0008254, allocations: 86.33 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.06204/0.06204, allocations: 12.2 MB / 321.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2664/0.2664, allocations: 78.05 MB / 450.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.443e-05/1.436e-05, allocations: 4 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 69.23 MB / 0.5818 GB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.4597, allocations: 107.2 MB / 0.6866 GB, free: 1.344 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.46, allocations: 80.58 kB / 0.6866 GB, free: 1.305 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0895/0.5495, allocations: 35.68 MB / 0.7215 GB, free: 4.141 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5495, allocations: 0 / 0.7215 GB, free: 4.141 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.307e-05/0.5496, allocations: 24.66 kB / 0.7215 GB, free: 4.117 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.004444/0.554, allocations: 1.837 MB / 0.7233 GB, free: 2.367 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5541, allocations: 16.03 kB / 0.7233 GB, free: 2.352 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/0.5567, allocations: 0.5191 MB / 0.7238 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.5579, allocations: 0.8374 MB / 0.7246 GB, free: 1.184 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.5583, allocations: 340.8 kB / 0.725 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.5584, allocations: 44 kB / 0.725 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001463/0.5599, allocations: 0.9354 MB / 0.7259 GB, free: 192 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.5614, allocations: 0.9301 MB / 0.7268 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.5614, allocations: 4 kB / 0.7268 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/0.5615, allocations: 0 / 0.7268 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.5615, allocations: 16 kB / 0.7268 GB, free: 15.53 MB / 474.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.006381/0.5679, allocations: 3.987 MB / 0.7307 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007142/0.5751, allocations: 2.912 MB / 0.7336 GB, free: 9.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008143/0.5759, allocations: 0.6261 MB / 0.7342 GB, free: 9.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.576, allocations: 24.97 kB / 0.7342 GB, free: 9.387 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.5761, allocations: 46.94 kB / 0.7343 GB, free: 9.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=111): time 3.226e-06/0.5761, allocations: 0 / 0.7343 GB, free: 9.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.01426/0.5903, allocations: 4.766 MB / 0.7389 GB, free: 5.195 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.5904, allocations: 93.97 kB / 0.739 GB, free: 5.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.5917, allocations: 0.8946 MB / 0.7399 GB, free: 4.441 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.5918, allocations: 25.7 kB / 0.7399 GB, free: 4.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.5921, allocations: 0.5333 MB / 0.7404 GB, free: 4.125 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.5925, allocations: 378.9 kB / 0.7408 GB, free: 3.793 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.5926, allocations: 0 / 0.7408 GB, free: 3.793 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5927, allocations: 343.6 kB / 0.7411 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.5934, allocations: 493.2 kB / 0.7416 GB, free: 3.211 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007678/0.5942, allocations: 0.6206 MB / 0.7422 GB, free: 2.793 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.5951, allocations: 0.5432 MB / 0.7427 GB, free: 2.465 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.5952, allocations: 0 / 0.7427 GB, free: 2.465 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00287/0.598, allocations: 1.737 MB / 0.7444 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5981, allocations: 5.719 kB / 0.7444 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5981, allocations: 4 kB / 0.7444 GB, free: 0.707 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007269/0.6054, allocations: 2.281 MB / 0.7467 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.6059, allocations: 135.8 kB / 0.7468 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/0.6103, allocations: 2.429 MB / 0.7492 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.6118, allocations: 183.1 kB / 0.7493 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-05/0.6119, allocations: 39.98 kB / 0.7494 GB, free: 11.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.6121, allocations: 116.9 kB / 0.7495 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01369/0.6258, allocations: 4.768 MB / 0.7541 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.6261, allocations: 138.2 kB / 0.7543 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.6397, allocations: 4.817 MB / 0.759 GB, free: 1.742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.6398, allocations: 12 kB / 0.759 GB, free: 1.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6398, allocations: 4 kB / 0.759 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.6398, allocations: 7.984 kB / 0.759 GB, free: 1.719 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 postOpt removeSimpleEquations (simulation): time 0.01588/0.6557, allocations: 6.574 MB / 0.7654 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.6557, allocations: 4 kB / 0.7654 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.6563, allocations: 107.9 kB / 0.7655 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005934/0.6623, allocations: 1.99 MB / 0.7675 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.06e-05/0.6624, allocations: 11.94 kB / 0.7675 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/0.6787, allocations: 7.709 MB / 0.775 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6787, allocations: 0 / 0.775 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/0.6939, allocations: 5.744 MB / 0.7806 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006781/0.6946, allocations: 251 kB / 0.7809 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.6948, allocations: 0 / 0.7809 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.6962, allocations: 131.9 kB / 0.781 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006306/0.6968, allocations: 237.3 kB / 0.7812 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.6969, allocations: 39.94 kB / 0.7812 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008639/0.6978, allocations: 0.6904 MB / 0.7819 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6978, allocations: 4 kB / 0.7819 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001075/0.6989, allocations: 407.4 kB / 0.7823 GB, free: 9.531 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01556/0.7144, allocations: 6.412 MB / 0.7886 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005984/0.7204, allocations: 2.052 MB / 0.7906 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7205, allocations: 0 / 0.7906 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005044/0.7255, allocations: 1.74 MB / 0.7923 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008947/0.7264, allocations: 88.7 kB / 0.7924 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.7304, allocations: 2.174 MB / 0.7945 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.731, allocations: 1.17 MB / 0.7956 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003767/0.7314, allocations: 94.98 kB / 0.7957 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/0.7319, allocations: 495.3 kB / 0.7962 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.7319, allocations: 0 / 0.7962 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.7874, allocations: 31.26 MB / 0.8267 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.7876, allocations: 119.3 kB / 0.8268 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.49, allocations: 3.5 kB / 0.8268 GB, free: 11.76 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)