Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.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.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002457/0.002457, allocations: 180.3 kB / 7.458 MB, free: 2.5 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.363/1.363, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0008262/0.0008261, allocations: 95.09 kB / 261.1 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07341/0.07341, allocations: 12.19 MB / 321.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2736/0.2736, allocations: 78.05 MB / 449.9 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.259/0.5326, allocations: 76.09 MB / 0.5137 GB, free: 30.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.6655, allocations: 69.23 MB / 0.5813 GB, free: 9.125 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/1.077, allocations: 110.1 MB / 0.6888 GB, free: 14.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.077, allocations: 87.44 kB / 0.6888 GB, free: 14.86 MB / 442.7 MB 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.1274/1.204, allocations: 42.32 MB / 0.7302 GB, free: 11.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/1.204, allocations: 11.94 kB / 0.7302 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004067/1.208, allocations: 0.5825 MB / 0.7308 GB, free: 11.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/1.212, allocations: 1.03 MB / 0.7318 GB, free: 10.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006156/1.212, allocations: 370.8 kB / 0.7321 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006236/1.213, allocations: 63.91 kB / 0.7322 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003532/1.217, allocations: 1.093 MB / 0.7332 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/1.22, allocations: 1.056 MB / 0.7343 GB, free: 8.625 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/1.22, allocations: 7.984 kB / 0.7343 GB, free: 8.617 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/1.22, allocations: 0 / 0.7343 GB, free: 8.617 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/1.22, allocations: 20 kB / 0.7343 GB, free: 8.598 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/1.23, allocations: 4.697 MB / 0.7389 GB, free: 4.895 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/1.232, allocations: 0.7963 MB / 0.7397 GB, free: 4.426 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.233, allocations: 0.6908 MB / 0.7403 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/1.233, allocations: 24.84 kB / 0.7404 GB, free: 4.031 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/1.233, allocations: 50.94 kB / 0.7404 GB, free: 3.977 MB / 474.7 MB Notification: Performance of pre-optimization done (n=123): time 4.128e-06/1.233, allocations: 4 kB / 0.7404 GB, free: 3.973 MB / 474.7 MB Notification: Performance of matching and sorting (n=123): time 0.01737/1.25, allocations: 5.149 MB / 0.7454 GB, free: 15.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/1.25, allocations: 120.4 kB / 0.7456 GB, free: 15.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/1.253, allocations: 1.082 MB / 0.7466 GB, free: 14.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004512/1.254, allocations: 25.7 kB / 0.7466 GB, free: 14.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/1.254, allocations: 371.1 kB / 0.747 GB, free: 13.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/1.255, allocations: 421.6 kB / 0.7474 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/1.256, allocations: 4 kB / 0.7474 GB, free: 13.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/1.256, allocations: 345.9 kB / 0.7477 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/1.257, allocations: 0.5572 MB / 0.7483 GB, free: 12.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/1.259, allocations: 0.7007 MB / 0.749 GB, free: 11.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/1.26, allocations: 0.6297 MB / 0.7496 GB, free: 11.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.26, allocations: 0 / 0.7496 GB, free: 11.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004757/1.265, allocations: 1.952 MB / 0.7515 GB, free: 9.285 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006159/1.266, allocations: 1.345 MB / 0.7528 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.266, allocations: 4 kB / 0.7528 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008969/1.275, allocations: 2.361 MB / 0.7551 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.276, allocations: 175.6 kB / 0.7553 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006008/1.282, allocations: 2.528 MB / 0.7577 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/1.285, allocations: 246.9 kB / 0.758 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/1.285, allocations: 43.97 kB / 0.758 GB, free: 2.438 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.285, allocations: 4 kB / 0.758 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003926/1.289, allocations: 1.749 MB / 0.7597 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.289, allocations: 12.05 kB / 0.7597 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008776/1.298, allocations: 2.357 MB / 0.762 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.299, allocations: 163.7 kB / 0.7622 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005475/1.304, allocations: 2.516 MB / 0.7647 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/1.307, allocations: 239 kB / 0.7649 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/1.307, allocations: 39.98 kB / 0.7649 GB, free: 11.33 MB / 0.4948 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.000429/1.308, allocations: 134.5 kB / 0.765 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004624/1.308, allocations: 162 kB / 0.7652 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/1.325, allocations: 5.274 MB / 0.7704 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/1.325, allocations: 12 kB / 0.7704 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.325, allocations: 3.984 kB / 0.7704 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.446e-05/1.325, allocations: 7.984 kB / 0.7704 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.345, allocations: 7.064 MB / 0.7773 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/1.345, allocations: 4 kB / 0.7773 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.346, allocations: 139.8 kB / 0.7774 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006976/1.353, allocations: 2.068 MB / 0.7794 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003569/1.354, allocations: 12 kB / 0.7794 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/1.372, allocations: 7.156 MB / 0.7864 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.372, allocations: 4 kB / 0.7864 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01874/1.391, allocations: 6.323 MB / 0.7926 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02055/1.412, allocations: 7.655 MB / 0.8001 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008769/1.413, allocations: 278.7 kB / 0.8004 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004629/1.413, allocations: 4 kB / 0.8004 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/1.415, allocations: 183.8 kB / 0.8005 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/1.416, allocations: 145.1 kB / 0.8007 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.416, allocations: 31.98 kB / 0.8007 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001462/1.417, allocations: 0.8327 MB / 0.8015 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003573/1.421, allocations: 0.6863 MB / 0.8022 GB, free: 4.844 MB / 0.5261 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.0005348/1.421, allocations: 168 kB / 0.8023 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01365/1.435, allocations: 4.103 MB / 0.8064 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.435, allocations: 8.062 kB / 0.8064 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005958/1.441, allocations: 1.812 MB / 0.8081 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1.442, allocations: 109.1 kB / 0.8082 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006846/1.449, allocations: 2.509 MB / 0.8107 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.451, allocations: 1.376 MB / 0.812 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of SimCode: time 2.505e-06/1.451, allocations: 0 / 0.812 GB, free: 10.66 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1)