Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.0009955/0.0009958, allocations: 174.5 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.29/1.29, 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.0008871/0.0008871, allocations: 90.8 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4634/0.4634, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.804e-05, allocations: 0 / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2978, allocations: 69.35 MB / 0.5481 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.426, allocations: 109.7 MB / 0.6551 GB, free: 6.738 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4262, allocations: 87.94 kB / 0.6552 GB, free: 6.652 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3723/0.7985, allocations: 40.91 MB / 0.6952 GB, free: 106.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.7986, allocations: 0 / 0.6952 GB, free: 106.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001078/0.7987, allocations: 27.28 kB / 0.6952 GB, free: 106.5 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005809/0.8045, allocations: 2.002 MB / 0.6972 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.8046, allocations: 15.69 kB / 0.6972 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000428/0.805, allocations: 151.8 kB / 0.6973 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.8081, allocations: 0.5401 MB / 0.6978 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.8101, allocations: 0.956 MB / 0.6988 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004326/0.8106, allocations: 427.2 kB / 0.6992 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/0.811, allocations: 97.88 kB / 0.6993 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.8132, allocations: 1.17 MB / 0.7004 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.8132, allocations: 0 / 0.7004 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.8134, allocations: 34.69 kB / 0.7005 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.8134, allocations: 25.28 kB / 0.7005 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.8152, allocations: 1.091 MB / 0.7015 GB, free: 103.3 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.007568/0.8228, allocations: 4.642 MB / 0.7061 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00717/0.83, allocations: 3.13 MB / 0.7091 GB, free: 99.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.8313, allocations: 0.7227 MB / 0.7098 GB, free: 98.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.8315, allocations: 32.38 kB / 0.7099 GB, free: 98.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.833, allocations: 0.8644 MB / 0.7107 GB, free: 97.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=124): time 5.751e-06/0.8331, allocations: 0 / 0.7107 GB, free: 97.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01446/0.8475, allocations: 4.952 MB / 0.7155 GB, free: 93.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.8476, allocations: 119.8 kB / 0.7157 GB, free: 92.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.8493, allocations: 1.11 MB / 0.7167 GB, free: 91.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.8496, allocations: 45.7 kB / 0.7168 GB, free: 91.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.8499, allocations: 0.6044 MB / 0.7174 GB, free: 91.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/0.8503, allocations: 437 kB / 0.7178 GB, free: 90.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.8505, allocations: 28 kB / 0.7178 GB, free: 90.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.8505, allocations: 353.9 kB / 0.7182 GB, free: 90.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008914/0.8514, allocations: 0.569 MB / 0.7187 GB, free: 89.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009301/0.8524, allocations: 0.718 MB / 0.7194 GB, free: 89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009778/0.8534, allocations: 0.6297 MB / 0.72 GB, free: 88.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.8534, allocations: 0 / 0.72 GB, free: 88.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003404/0.8568, allocations: 2.04 MB / 0.722 GB, free: 86.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.8568, allocations: 11.94 kB / 0.722 GB, free: 86.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.8568, allocations: 4 kB / 0.722 GB, free: 86.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007654/0.8645, allocations: 2.55 MB / 0.7245 GB, free: 83.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.8653, allocations: 179 kB / 0.7247 GB, free: 83.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.8693, allocations: 2.265 MB / 0.7269 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.8712, allocations: 242.9 kB / 0.7271 GB, free: 81.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.8714, allocations: 47.98 kB / 0.7272 GB, free: 81.01 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 (99): * Single equations (assignments): 98 * 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.0002603/0.8717, allocations: 160.8 kB / 0.7273 GB, free: 80.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.8721, allocations: 157.5 kB / 0.7275 GB, free: 80.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.8858, allocations: 5.119 MB / 0.7325 GB, free: 75.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.8859, allocations: 16 kB / 0.7325 GB, free: 75.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.8859, allocations: 4 kB / 0.7325 GB, free: 75.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.319e-05/0.8859, allocations: 3.984 kB / 0.7325 GB, free: 75.53 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.01661/0.9025, allocations: 7.079 MB / 0.7394 GB, free: 68.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.9026, allocations: 3.938 kB / 0.7394 GB, free: 68.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/0.9035, allocations: 147.7 kB / 0.7396 GB, free: 68.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005908/0.9094, allocations: 2.009 MB / 0.7415 GB, free: 66.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/0.9097, allocations: 27.95 kB / 0.7416 GB, free: 66.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/0.9262, allocations: 7.864 MB / 0.7492 GB, free: 58.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9263, allocations: 0 / 0.7492 GB, free: 58.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/0.9413, allocations: 6.01 MB / 0.7551 GB, free: 52.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006928/0.942, allocations: 270.8 kB / 0.7554 GB, free: 51.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/0.9424, allocations: 28 kB / 0.7554 GB, free: 51.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.9442, allocations: 175.8 kB / 0.7556 GB, free: 51.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008249/0.945, allocations: 261.2 kB / 0.7558 GB, free: 51.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/0.9452, allocations: 35.94 kB / 0.7558 GB, free: 51.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.9465, allocations: 0.861 MB / 0.7567 GB, free: 50.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9465, allocations: 0 / 0.7567 GB, free: 50.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001369/0.9478, allocations: 495.3 kB / 0.7572 GB, free: 49.97 MB / 490.7 MB 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.01579/0.9636, allocations: 6.771 MB / 0.7638 GB, free: 43.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006859/0.9705, allocations: 2.274 MB / 0.766 GB, free: 40.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9706, allocations: 0 / 0.766 GB, free: 40.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005326/0.9759, allocations: 1.878 MB / 0.7678 GB, free: 38.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.9771, allocations: 125 kB / 0.7679 GB, free: 38.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/0.9819, allocations: 2.583 MB / 0.7705 GB, free: 36.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.9824, allocations: 1.234 MB / 0.7717 GB, free: 34.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000526/0.9829, allocations: 120.1 kB / 0.7718 GB, free: 34.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006344/0.9836, allocations: 0.5735 MB / 0.7724 GB, free: 34.28 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.9836, allocations: 0 / 0.7724 GB, free: 34.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05061/1.034, allocations: 36.5 MB / 0.808 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/1.034, allocations: 165.6 kB / 0.8081 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/3.993, allocations: 4 kB / 0.8082 GB, free: 13.73 MB / 0.4948 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)