Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008776/0.0008776, allocations: 96.5 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5331/0.5331, allocations: 78.06 MB / 409.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.01e-05, allocations: 3.938 kB / 485 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1578, allocations: 69.36 MB / 0.5414 GB, free: 6.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4901/0.648, allocations: 108.7 MB / 0.6475 GB, free: 6.715 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.6484, allocations: 87.94 kB / 0.6476 GB, free: 6.629 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1165/0.7649, allocations: 41.51 MB / 0.6881 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.765, allocations: 0 / 0.6881 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.25e-05/0.7651, allocations: 31.94 kB / 0.6882 GB, free: 13.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005761/0.7709, allocations: 2.018 MB / 0.6901 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.7709, allocations: 11.97 kB / 0.6901 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/0.7743, allocations: 0.552 MB / 0.6907 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.7766, allocations: 1.015 MB / 0.6917 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/0.777, allocations: 371.7 kB / 0.692 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.7772, allocations: 63.86 kB / 0.6921 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002003/0.7792, allocations: 1.09 MB / 0.6932 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.7813, allocations: 1.05 MB / 0.6942 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.7813, allocations: 4 kB / 0.6942 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.7814, allocations: 0 / 0.6942 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.7814, allocations: 24 kB / 0.6942 GB, free: 6.73 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.009174/0.7906, allocations: 4.62 MB / 0.6987 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008207/0.7989, allocations: 3.104 MB / 0.7018 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.8006, allocations: 0.693 MB / 0.7024 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.8008, allocations: 25.22 kB / 0.7025 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/0.8009, allocations: 59.77 kB / 0.7025 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=123): time 5.31e-06/0.8009, allocations: 0 / 0.7025 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=123): time 0.01611/0.817, allocations: 4.844 MB / 0.7072 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.8171, allocations: 122.2 kB / 0.7074 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.8193, allocations: 1.079 MB / 0.7084 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004524/0.8198, allocations: 25.7 kB / 0.7084 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000624/0.8204, allocations: 0.6164 MB / 0.709 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/0.821, allocations: 433.6 kB / 0.7095 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.358e-05/0.8211, allocations: 0 / 0.7095 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.8213, allocations: 341.9 kB / 0.7098 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009784/0.8223, allocations: 0.5416 MB / 0.7103 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.8233, allocations: 0.6967 MB / 0.711 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.8246, allocations: 0.618 MB / 0.7116 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.8246, allocations: 0 / 0.7116 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003939/0.8286, allocations: 1.911 MB / 0.7135 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006839/0.8293, allocations: 1.345 MB / 0.7148 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.8293, allocations: 4 kB / 0.7148 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009441/0.8388, allocations: 2.277 MB / 0.717 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.8398, allocations: 178.9 kB / 0.7172 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00511/0.845, allocations: 2.427 MB / 0.7195 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.8475, allocations: 238.9 kB / 0.7198 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.8477, allocations: 39.98 kB / 0.7198 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8478, allocations: 4 kB / 0.7198 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003341/0.8511, allocations: 1.709 MB / 0.7215 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.8511, allocations: 8.062 kB / 0.7215 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007872/0.859, allocations: 2.277 MB / 0.7237 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009797/0.8601, allocations: 168.5 kB / 0.7239 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/0.8657, allocations: 2.42 MB / 0.7262 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.8684, allocations: 222.9 kB / 0.7264 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003418/0.8688, allocations: 43.98 kB / 0.7265 GB, free: 5.023 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: govHydroIEEE0_1.waterway.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] govHydroIEEE0_1.GovernorB.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] 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 (90): * Single equations (assignments): 89 * 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.0007607/0.8696, allocations: 122.7 kB / 0.7266 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01591/0.8855, allocations: 4.856 MB / 0.7313 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/0.8867, allocations: 158.1 kB / 0.7315 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/0.9035, allocations: 5.042 MB / 0.7364 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.611e-05/0.9036, allocations: 16 kB / 0.7364 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.9036, allocations: 7.953 kB / 0.7364 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.459e-05/0.9037, allocations: 7.969 kB / 0.7365 GB, free: 10.78 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 postOpt removeSimpleEquations (simulation): time 0.02129/0.925, allocations: 6.877 MB / 0.7432 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.546e-05/0.9251, allocations: 2.562 kB / 0.7432 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.9262, allocations: 135.8 kB / 0.7433 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006951/0.9332, allocations: 1.991 MB / 0.7452 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004383/0.9337, allocations: 15.98 kB / 0.7453 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/0.9536, allocations: 7.701 MB / 0.7528 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.9537, allocations: 4 kB / 0.7528 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01853/0.9722, allocations: 6.012 MB / 0.7587 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009052/0.9731, allocations: 274.8 kB / 0.7589 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000854/0.974, allocations: 11.94 kB / 0.7589 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002663/0.9767, allocations: 175.8 kB / 0.7591 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/0.9779, allocations: 241.3 kB / 0.7593 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002888/0.9782, allocations: 37.86 kB / 0.7594 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00207/0.9803, allocations: 0.8332 MB / 0.7602 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9803, allocations: 0 / 0.7602 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003824/0.9841, allocations: 0.6706 MB / 0.7608 GB, free: 1.504 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (gENCLS.delta,gENCLS.eq,generator.w,generator.delta,generator.Epd,generator.Epq,generator.PSIkd,generator.PSIkq,govHydroIEEE0_1.GovernorA.TF.x_scaled[1],govHydroIEEE0_1.GovernorB.x_scaled[1],govHydroIEEE0_1.waterway.x_scaled[1],gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 79 * 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.4158/1.4, allocations: 6.685 MB / 0.7674 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.414, allocations: 3.866 MB / 0.7711 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.414, allocations: 0 / 0.7711 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005965/1.42, allocations: 1.809 MB / 0.7729 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/1.422, allocations: 118.4 kB / 0.773 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009041/1.431, allocations: 2.643 MB / 0.7756 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/1.433, allocations: 1.271 MB / 0.7768 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002223/1.435, allocations: 271.2 kB / 0.7771 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000819/1.436, allocations: 0.5635 MB / 0.7776 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of SimCode: time 2.134e-06/1.436, allocations: 0 / 0.7776 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.547, allocations: 42.08 MB / 0.8187 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003348/1.548, allocations: 141 kB / 0.8189 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.72/5.268, allocations: 3.5 kB / 0.8189 GB, free: 137.4 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1)