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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008514/0.0008513, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 223.3 MB / 239.4 MB, free: 5.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009087/0.0009088, allocations: 176.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.396/0.396, allocations: 78.55 MB / 420.3 MB, free: 4.223 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003101, allocations: 12 kB / 0.4888 GB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1014, allocations: 69.36 MB / 0.5565 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.1811/0.2825, allocations: 7.803 MB / 0.5641 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.2855, allocations: 2.523 MB / 0.5666 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.2859, allocations: 13.25 kB / 0.5666 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.2865, allocations: 249 kB / 0.5668 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.2882, allocations: 1.064 MB / 0.5679 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.2891, allocations: 0.616 MB / 0.5685 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.2904, allocations: 2.155 MB / 0.5706 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.2908, allocations: 332.5 kB / 0.5709 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005386/0.2913, allocations: 0.7519 MB / 0.5716 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00072/0.2921, allocations: 1.005 MB / 0.5726 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.2922, allocations: 87.84 kB / 0.5727 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.2926, allocations: 258.7 kB / 0.5729 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.2928, allocations: 363 kB / 0.5733 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.2933, allocations: 0.798 MB / 0.5741 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.2944, allocations: 2.06 MB / 0.5761 GB, free: 31.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2945, allocations: 3.094 kB / 0.5761 GB, free: 31.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2945, allocations: 0 / 0.5761 GB, free: 31.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.2945, allocations: 1.969 kB / 0.5761 GB, free: 31.9 MB / 430.1 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.01145/0.3059, allocations: 3.594 MB / 0.5796 GB, free: 30.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.306, allocations: 10.5 kB / 0.5796 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/0.3062, allocations: 150.2 kB / 0.5797 GB, free: 30.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004019/0.3102, allocations: 0.7483 MB / 0.5805 GB, free: 30.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.3116, allocations: 1.085 MB / 0.5815 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/0.312, allocations: 434.6 kB / 0.5819 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.3122, allocations: 101.6 kB / 0.582 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.3147, allocations: 1.452 MB / 0.5835 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3147, allocations: 4.031 kB / 0.5835 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.3148, allocations: 40.53 kB / 0.5835 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3148, allocations: 19.59 kB / 0.5835 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.3173, allocations: 1.388 MB / 0.5849 GB, free: 29.13 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006434/0.3237, allocations: 4.754 MB / 0.5895 GB, free: 26.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008105/0.3318, allocations: 3.45 MB / 0.5929 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.3336, allocations: 0.9816 MB / 0.5938 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.3337, allocations: 25.47 kB / 0.5939 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001993/0.3357, allocations: 1.131 MB / 0.595 GB, free: 24.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 2.585e-06/0.3357, allocations: 0 / 0.595 GB, free: 24.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.0423/0.378, allocations: 12.09 MB / 0.6068 GB, free: 22.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3781, allocations: 120.1 kB / 0.6069 GB, free: 22.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.38, allocations: 1.345 MB / 0.6082 GB, free: 21.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.3801, allocations: 51.27 kB / 0.6083 GB, free: 21.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.3804, allocations: 0.5674 MB / 0.6088 GB, free: 21.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.3808, allocations: 460.1 kB / 0.6093 GB, free: 20.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.381, allocations: 169.2 kB / 0.6094 GB, free: 20.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.268e-05/0.381, allocations: 310.3 kB / 0.6097 GB, free: 20.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.383, allocations: 1.032 MB / 0.6107 GB, free: 19.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.385, allocations: 1.233 MB / 0.6119 GB, free: 19.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/0.3888, allocations: 2.208 MB / 0.6141 GB, free: 18.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3889, allocations: 1.219 kB / 0.6141 GB, free: 18.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009063/0.3979, allocations: 4.292 MB / 0.6183 GB, free: 14.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.398, allocations: 11.94 kB / 0.6183 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.398, allocations: 4.5 kB / 0.6183 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008506/0.4065, allocations: 3.058 MB / 0.6213 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.4077, allocations: 299.5 kB / 0.6216 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00548/0.4132, allocations: 3.007 MB / 0.6245 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.4151, allocations: 286.9 kB / 0.6248 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4152, allocations: 63.97 kB / 0.6248 GB, free: 7.363 MB / 430.1 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004648/0.4157, allocations: 294.4 kB / 0.6251 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.4159, allocations: 158 kB / 0.6253 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/0.4307, allocations: 5.808 MB / 0.6309 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4307, allocations: 12 kB / 0.6309 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4307, allocations: 4 kB / 0.631 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4307, allocations: 9.844 kB / 0.631 GB, free: 1.062 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01817/0.4489, allocations: 7.907 MB / 0.6387 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4489, allocations: 3.938 kB / 0.6387 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.4497, allocations: 141.2 kB / 0.6388 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00748/0.4572, allocations: 2.513 MB / 0.6413 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.4573, allocations: 32.61 kB / 0.6413 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02378/0.4811, allocations: 10.33 MB / 0.6514 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4811, allocations: 0 / 0.6514 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/0.4996, allocations: 7.044 MB / 0.6583 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.5001, allocations: 270.8 kB / 0.6585 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.5003, allocations: 28 kB / 0.6586 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.5018, allocations: 179.8 kB / 0.6587 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006548/0.5025, allocations: 250.8 kB / 0.659 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.073e-05/0.5026, allocations: 40.58 kB / 0.659 GB, free: 3.996 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001224/0.5038, allocations: 0.9212 MB / 0.6599 GB, free: 3.074 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5038, allocations: 0 / 0.6599 GB, free: 3.074 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001146/0.505, allocations: 0.5112 MB / 0.6604 GB, free: 2.562 MB / 462.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01867/0.5236, allocations: 7.634 MB / 0.6679 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008557/0.5322, allocations: 3.143 MB / 0.6709 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5322, allocations: 0 / 0.6709 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006007/0.5383, allocations: 2.162 MB / 0.673 GB, free: 5.574 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.5394, allocations: 133 kB / 0.6732 GB, free: 5.441 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04455/0.584, allocations: 22.63 MB / 0.6953 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.5847, allocations: 1.203 MB / 0.6964 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005883/0.5853, allocations: 136 kB / 0.6966 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/0.586, allocations: 0.5696 MB / 0.6971 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.586, allocations: 4 kB / 0.6971 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05272/0.6388, allocations: 37.84 MB / 0.7341 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.639, allocations: 210.4 kB / 0.7343 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.126, allocations: 4 kB / 0.7343 GB, free: 6.434 MB / 0.5294 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/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)