Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.001183/0.001183, allocations: 180.9 kB / 7.651 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.624/1.624, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.001074/0.001074, allocations: 88.77 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.1079/0.1079, allocations: 12.19 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3504/0.3504, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.82e-05, allocations: 0 / 0.5143 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1443, allocations: 69.23 MB / 0.5819 GB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4488/0.5932, allocations: 110.4 MB / 0.6897 GB, free: 14.21 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5935, allocations: 87.95 kB / 0.6898 GB, free: 14.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1185/0.7119, allocations: 39.38 MB / 0.7283 GB, free: 13.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.712, allocations: 0 / 0.7283 GB, free: 13.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.203e-05/0.7121, allocations: 28 kB / 0.7283 GB, free: 13.96 MB / 474.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.006703/0.7188, allocations: 1.999 MB / 0.7302 GB, free: 12.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.304e-05/0.7189, allocations: 8.031 kB / 0.7302 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.7228, allocations: 0.5475 MB / 0.7308 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.7256, allocations: 0.9418 MB / 0.7317 GB, free: 10.78 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005799/0.7262, allocations: 395.9 kB / 0.7321 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.7264, allocations: 55.98 kB / 0.7321 GB, free: 10.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0022/0.7286, allocations: 1.043 MB / 0.7331 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.7306, allocations: 1.027 MB / 0.7341 GB, free: 8.945 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.7306, allocations: 0 / 0.7341 GB, free: 8.945 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.7307, allocations: 3.938 kB / 0.7342 GB, free: 8.941 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.7308, allocations: 24 kB / 0.7342 GB, free: 8.918 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.009548/0.7403, allocations: 4.489 MB / 0.7386 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008208/0.7486, allocations: 3.083 MB / 0.7416 GB, free: 2.617 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.7503, allocations: 0.697 MB / 0.7422 GB, free: 2.227 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.7505, allocations: 17.3 kB / 0.7423 GB, free: 2.211 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.7521, allocations: 0.8309 MB / 0.7431 GB, free: 1.645 MB / 474.7 MB Notification: Performance of pre-optimization done (n=124): time 4.389e-06/0.7521, allocations: 0 / 0.7431 GB, free: 1.645 MB / 474.7 MB Notification: Performance of matching and sorting (n=124): time 0.01662/0.7688, allocations: 4.889 MB / 0.7479 GB, free: 13.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.7689, allocations: 120.1 kB / 0.748 GB, free: 13.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.7712, allocations: 1.017 MB / 0.749 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004069/0.7716, allocations: 29.77 kB / 0.749 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.7722, allocations: 0.6004 MB / 0.7496 GB, free: 11.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007374/0.773, allocations: 430.5 kB / 0.75 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.7731, allocations: 0 / 0.75 GB, free: 11.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.7733, allocations: 349.9 kB / 0.7503 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.7743, allocations: 0.5377 MB / 0.7508 GB, free: 10.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.7755, allocations: 0.688 MB / 0.7515 GB, free: 9.387 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.7767, allocations: 0.6043 MB / 0.7521 GB, free: 8.785 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.7768, allocations: 0 / 0.7521 GB, free: 8.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004391/0.7811, allocations: 1.915 MB / 0.754 GB, free: 6.859 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.7812, allocations: 11.92 kB / 0.754 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.7812, allocations: 4 kB / 0.754 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008347/0.7896, allocations: 2.289 MB / 0.7562 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.7907, allocations: 175.8 kB / 0.7564 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.796, allocations: 2.42 MB / 0.7588 GB, free: 1.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.7986, allocations: 219 kB / 0.759 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.7988, allocations: 43.98 kB / 0.759 GB, free: 1.676 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0003543/0.7992, allocations: 120.7 kB / 0.7591 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01663/0.8158, allocations: 4.899 MB / 0.7639 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/0.8171, allocations: 150.1 kB / 0.7641 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/0.8341, allocations: 4.991 MB / 0.7689 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-05/0.8342, allocations: 16 kB / 0.7689 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.8343, allocations: 3.938 kB / 0.7689 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-05/0.8343, allocations: 3.984 kB / 0.7689 GB, free: 7.457 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 postOpt removeSimpleEquations (simulation): time 0.02039/0.8547, allocations: 6.88 MB / 0.7757 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/0.8548, allocations: 8.031 kB / 0.7757 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.8559, allocations: 135.8 kB / 0.7758 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007112/0.8631, allocations: 1.986 MB / 0.7777 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004372/0.8636, allocations: 11.98 kB / 0.7778 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02003/0.8836, allocations: 7.736 MB / 0.7853 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.8837, allocations: 0 / 0.7853 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/0.9026, allocations: 5.912 MB / 0.7911 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.9037, allocations: 266.8 kB / 0.7913 GB, free: 192 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/0.9041, allocations: 0 / 0.7913 GB, free: 192 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.9059, allocations: 163.8 kB / 0.7915 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000921/0.9069, allocations: 257.3 kB / 0.7917 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.907, allocations: 32 kB / 0.7918 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001377/0.9084, allocations: 0.7801 MB / 0.7925 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9084, allocations: 0 / 0.7925 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001718/0.9101, allocations: 439.4 kB / 0.7929 GB, free: 14.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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.01871/0.9288, allocations: 6.654 MB / 0.7994 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00752/0.9364, allocations: 2.202 MB / 0.8016 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.9365, allocations: 0 / 0.8016 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0064/0.9429, allocations: 1.814 MB / 0.8034 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.9446, allocations: 98.67 kB / 0.8035 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00687/0.9515, allocations: 2.49 MB / 0.8059 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.9526, allocations: 1.238 MB / 0.8071 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006972/0.9533, allocations: 115.9 kB / 0.8072 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008289/0.9542, allocations: 0.5812 MB / 0.8078 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.403e-06/0.9542, allocations: 0 / 0.8078 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08304/1.037, allocations: 34.01 MB / 0.841 GB, free: 13.22 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.038, allocations: 121.8 kB / 0.8411 GB, free: 13.03 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/4.448, allocations: 0 / 0.8411 GB, free: 13.03 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)