Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",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.000944/0.0009439, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008991/0.0008993, allocations: 98.59 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4299/0.4299, allocations: 78.9 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.574e-05, allocations: 4 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3079, allocations: 69.5 MB / 0.5492 GB, free: 19.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4441, allocations: 124.2 MB / 0.6705 GB, free: 7.344 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4444, allocations: 87.95 kB / 0.6706 GB, free: 7.258 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4034/0.8478, allocations: 59.13 MB / 0.7284 GB, free: 82.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.8479, allocations: 0 / 0.7284 GB, free: 82.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001567/0.848, allocations: 56.16 kB / 0.7284 GB, free: 82.54 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.006357/0.8544, allocations: 2.731 MB / 0.7311 GB, free: 79.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8545, allocations: 15.97 kB / 0.7311 GB, free: 79.73 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000431/0.8549, allocations: 223.5 kB / 0.7313 GB, free: 79.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00402/0.8589, allocations: 0.7733 MB / 0.7321 GB, free: 78.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/0.862, allocations: 1.625 MB / 0.7336 GB, free: 77.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/0.8624, allocations: 0.5323 MB / 0.7342 GB, free: 76.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.8627, allocations: 159.9 kB / 0.7343 GB, free: 76.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.8654, allocations: 1.846 MB / 0.7361 GB, free: 74.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.8654, allocations: 0 / 0.7361 GB, free: 74.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.8656, allocations: 64 kB / 0.7362 GB, free: 74.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.8656, allocations: 36 kB / 0.7362 GB, free: 74.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.8679, allocations: 1.581 MB / 0.7378 GB, free: 72.65 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.01124/0.8792, allocations: 8.008 MB / 0.7456 GB, free: 64.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007249/0.8864, allocations: 3.561 MB / 0.7491 GB, free: 60.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.8877, allocations: 0.9127 MB / 0.7499 GB, free: 59.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.8879, allocations: 33.28 kB / 0.75 GB, free: 59.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.8879, allocations: 59.75 kB / 0.75 GB, free: 59.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 3.186e-06/0.8879, allocations: 4 kB / 0.75 GB, free: 59.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.01483/0.9028, allocations: 5.47 MB / 0.7554 GB, free: 54.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.9029, allocations: 282.3 kB / 0.7556 GB, free: 53.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.9055, allocations: 1.809 MB / 0.7574 GB, free: 51.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.9059, allocations: 65.7 kB / 0.7575 GB, free: 51.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.9065, allocations: 0.9672 MB / 0.7584 GB, free: 50.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/0.907, allocations: 0.5853 MB / 0.759 GB, free: 50.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.9071, allocations: 40 kB / 0.759 GB, free: 50.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.9072, allocations: 381.9 kB / 0.7594 GB, free: 49.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.9084, allocations: 0.8125 MB / 0.7602 GB, free: 49.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.9098, allocations: 1.144 MB / 0.7613 GB, free: 47.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.9111, allocations: 0.9234 MB / 0.7622 GB, free: 46.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.9111, allocations: 4 kB / 0.7622 GB, free: 46.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.004536/0.9156, allocations: 2.876 MB / 0.765 GB, free: 44.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000396/0.9161, allocations: 2.709 MB / 0.7677 GB, free: 41.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.9161, allocations: 11.98 kB / 0.7677 GB, free: 41.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007438/0.9235, allocations: 2.583 MB / 0.7702 GB, free: 38.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.9252, allocations: 387.4 kB / 0.7706 GB, free: 38.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.9292, allocations: 2.837 MB / 0.7733 GB, free: 35.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.932, allocations: 378 kB / 0.7737 GB, free: 34.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.9322, allocations: 71.98 kB / 0.7738 GB, free: 34.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.9322, allocations: 4 kB / 0.7738 GB, free: 34.75 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003889/0.9361, allocations: 2.585 MB / 0.7763 GB, free: 32.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.9361, allocations: 8 kB / 0.7763 GB, free: 32.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007197/0.9433, allocations: 2.571 MB / 0.7788 GB, free: 29.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.9448, allocations: 367.5 kB / 0.7792 GB, free: 29.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/0.9495, allocations: 3.686 MB / 0.7828 GB, free: 25.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/0.9524, allocations: 322.4 kB / 0.7831 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002304/0.9527, allocations: 75.97 kB / 0.7831 GB, free: 24.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 (gGOV1.gGOV1_Power.s7.local_reset,gGOV1.gGOV1_Power.s2.local_reset,gGOV1.gGOV1_Turb.s3.local_reset,gGOV1.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,30 26} Notification: Performance of prepare postOptimizeDAE: time 0.000461/0.9531, allocations: 200.6 kB / 0.7833 GB, free: 24.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005359/0.9537, allocations: 241.1 kB / 0.7836 GB, free: 24.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.9677, allocations: 5.584 MB / 0.789 GB, free: 18.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.9677, allocations: 19.94 kB / 0.789 GB, free: 18.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9677, allocations: 0 / 0.789 GB, free: 18.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/0.9678, allocations: 11.97 kB / 0.7891 GB, free: 18.89 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.0175/0.9853, allocations: 8.352 MB / 0.7972 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.9853, allocations: 0 / 0.7972 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.9868, allocations: 251.7 kB / 0.7974 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.9927, allocations: 2.073 MB / 0.7995 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003331/0.9931, allocations: 32 kB / 0.7995 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01653/1.01, allocations: 9.353 MB / 0.8086 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.01, allocations: 0 / 0.8086 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/1.027, allocations: 6.978 MB / 0.8155 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00092/1.028, allocations: 369.6 kB / 0.8158 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003846/1.029, allocations: 32.17 kB / 0.8158 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.031, allocations: 251.7 kB / 0.8161 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008062/1.032, allocations: 293.2 kB / 0.8164 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.032, allocations: 40 kB / 0.8164 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002033/1.034, allocations: 1.375 MB / 0.8177 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.034, allocations: 0 / 0.8177 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002526/1.036, allocations: 1.045 MB / 0.8188 GB, free: 3.965 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gGOV1.gGOV1_Temp.s6.y,gGOV1.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1.gGOV1_Turb.s3.y,gGOV1.gGOV1_Turb.s5.state,gGOV1.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1.gGOV1_Accel.s8.x,gGOV1.gGOV1_Power.s2.y,gGOV1.gGOV1_Power.s7.y,gGOV1.gGOV1_Power.s0.state,gGOV1.gGOV1_Power.s1.x,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 116 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01791/1.054, allocations: 7.678 MB / 0.8263 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01352/1.068, allocations: 5.054 MB / 0.8312 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.068, allocations: 4 kB / 0.8312 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005783/1.074, allocations: 2.192 MB / 0.8333 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/1.075, allocations: 253.8 kB / 0.8336 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007443/1.083, allocations: 3.956 MB / 0.8374 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.084, allocations: 1.578 MB / 0.839 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001687/1.086, allocations: 384.3 kB / 0.8393 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.087, allocations: 0.9132 MB / 0.8402 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of SimCode: time 6.42e-07/1.087, allocations: 0 / 0.8402 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09528/1.182, allocations: 61.47 MB / 0.9003 GB, free: 492 kB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/1.182, allocations: 164.3 kB / 0.9004 GB, free: 260 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.979/5.161, allocations: 4 kB / 0.9004 GB, free: 256 kB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe 2>&1)