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/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08807/0.08807, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 192.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4523/0.4523, allocations: 78.5 MB / 419.2 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002867/0.002867, allocations: 139.8 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2888, allocations: 68.1 MB / 0.5547 GB, free: 32.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006875/0.2957, allocations: 8.015 MB / 0.5625 GB, free: 26.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004265/0.3, allocations: 2.478 MB / 0.5649 GB, free: 24.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008815/0.3009, allocations: 11.81 kB / 0.5649 GB, free: 24.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.3017, allocations: 318.4 kB / 0.5652 GB, free: 24.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.3043, allocations: 1.195 MB / 0.5664 GB, free: 23.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.3056, allocations: 0.664 MB / 0.5671 GB, free: 23.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.3078, allocations: 2.269 MB / 0.5693 GB, free: 21.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.3083, allocations: 376.2 kB / 0.5696 GB, free: 21.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.3094, allocations: 0.8593 MB / 0.5705 GB, free: 20.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.3105, allocations: 1.097 MB / 0.5715 GB, free: 20.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.3108, allocations: 173.8 kB / 0.5717 GB, free: 20.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.3116, allocations: 358.5 kB / 0.572 GB, free: 20.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.3119, allocations: 456.3 kB / 0.5725 GB, free: 19.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007423/0.3127, allocations: 0.8718 MB / 0.5733 GB, free: 19.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.3147, allocations: 2.161 MB / 0.5754 GB, free: 17.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3147, allocations: 0 / 0.5754 GB, free: 17.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3148, allocations: 0 / 0.5754 GB, free: 17.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.3148, allocations: 0 / 0.5754 GB, free: 17.39 MB / 398.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.01334/0.3281, allocations: 3.803 MB / 0.5792 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3282, allocations: 11.98 kB / 0.5792 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.3284, allocations: 151.6 kB / 0.5793 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004329/0.3327, allocations: 0.7471 MB / 0.58 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.3344, allocations: 1.092 MB / 0.5811 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.3347, allocations: 424.9 kB / 0.5815 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.3349, allocations: 100 kB / 0.5816 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.3373, allocations: 1.364 MB / 0.5829 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.3373, allocations: 3.938 kB / 0.5829 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.3374, allocations: 36 kB / 0.583 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3374, allocations: 24 kB / 0.583 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.34, allocations: 1.296 MB / 0.5843 GB, free: 8.941 MB / 398.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.007043/0.347, allocations: 4.676 MB / 0.5888 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007546/0.3546, allocations: 2.878 MB / 0.5916 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.3563, allocations: 0.915 MB / 0.5925 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.3564, allocations: 20.98 kB / 0.5926 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002226/0.3587, allocations: 1.046 MB / 0.5936 GB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 4.339e-06/0.3587, allocations: 4 kB / 0.5936 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.04232/0.401, allocations: 9.902 MB / 0.6033 GB, free: 5.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.4011, allocations: 119.9 kB / 0.6034 GB, free: 4.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.4034, allocations: 1.345 MB / 0.6047 GB, free: 3.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002738/0.4037, allocations: 53.69 kB / 0.6047 GB, free: 3.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.4042, allocations: 0.5647 MB / 0.6053 GB, free: 2.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.4048, allocations: 453.5 kB / 0.6057 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007826/0.4056, allocations: 327.4 kB / 0.606 GB, free: 2.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.4057, allocations: 313.1 kB / 0.6063 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.4079, allocations: 0.9526 MB / 0.6073 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.4102, allocations: 1.151 MB / 0.6084 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/0.4147, allocations: 2.046 MB / 0.6104 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.4147, allocations: 8 kB / 0.6104 GB, free: 13.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.0107/0.4254, allocations: 3.815 MB / 0.6141 GB, free: 9.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.4255, allocations: 11.94 kB / 0.6141 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4255, allocations: 0 / 0.6141 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009778/0.4353, allocations: 2.683 MB / 0.6167 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.4368, allocations: 295.6 kB / 0.617 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006681/0.4435, allocations: 2.693 MB / 0.6197 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.4462, allocations: 246.3 kB / 0.6199 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/0.4466, allocations: 63.98 kB / 0.62 GB, free: 3.777 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.0008527/0.4475, allocations: 297.4 kB / 0.6202 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/0.448, allocations: 154.1 kB / 0.6204 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/0.4642, allocations: 4.759 MB / 0.625 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.4643, allocations: 12 kB / 0.625 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4643, allocations: 0 / 0.625 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/0.4643, allocations: 3.984 kB / 0.6251 GB, free: 14.53 MB / 446.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.01944/0.4838, allocations: 6.864 MB / 0.6318 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.4838, allocations: 15.8 kB / 0.6318 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/0.4847, allocations: 139.8 kB / 0.6319 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007719/0.4924, allocations: 2.142 MB / 0.634 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.4927, allocations: 24 kB / 0.634 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/0.5198, allocations: 10.08 MB / 0.6439 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5198, allocations: 0 / 0.6439 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01893/0.5388, allocations: 5.911 MB / 0.6496 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/0.5394, allocations: 266.8 kB / 0.6499 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004735/0.5399, allocations: 27.98 kB / 0.6499 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/0.5417, allocations: 131.8 kB / 0.65 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008406/0.5426, allocations: 261.3 kB / 0.6503 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.5427, allocations: 31.98 kB / 0.6503 GB, free: 4.297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001616/0.5444, allocations: 0.9173 MB / 0.6512 GB, free: 3.379 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5444, allocations: 0 / 0.6512 GB, free: 3.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00193/0.5463, allocations: 0.5112 MB / 0.6517 GB, free: 2.867 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.01936/0.5657, allocations: 6.521 MB / 0.6581 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009697/0.5754, allocations: 2.864 MB / 0.6609 GB, free: 9.441 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5755, allocations: 0 / 0.6609 GB, free: 9.441 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006312/0.5818, allocations: 1.92 MB / 0.6628 GB, free: 7.504 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.5834, allocations: 135.7 kB / 0.6629 GB, free: 7.375 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04892/0.6323, allocations: 20.17 MB / 0.6826 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/0.6332, allocations: 1.211 MB / 0.6838 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006941/0.6339, allocations: 141.7 kB / 0.6839 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008613/0.6348, allocations: 0.5696 MB / 0.6845 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of SimCode: time 4.7e-07/0.6348, allocations: 0 / 0.6845 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2857/0.9205, allocations: 41.63 MB / 0.7251 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.18, allocations: 8.938 kB / 0.7251 GB, free: 147.2 MB / 0.5137 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/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)