Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_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.001608/0.001608, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.354/1.354, allocations: 222.9 MB / 238.9 MB, free: 4.75 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.001349/0.001349, allocations: 192.5 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4693/0.4693, allocations: 91.91 MB / 431.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 79.88 kB / 0.5013 GB, free: 8.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3151, allocations: 71.26 MB / 0.5709 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006233/0.3214, allocations: 8.337 MB / 0.5791 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003577/0.325, allocations: 2.55 MB / 0.5815 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.3255, allocations: 14.59 kB / 0.5816 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.3261, allocations: 246.3 kB / 0.5818 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.3277, allocations: 0.8836 MB / 0.5827 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3288, allocations: 0.7149 MB / 0.5834 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.3301, allocations: 2.011 MB / 0.5853 GB, free: 27.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.3305, allocations: 334 kB / 0.5856 GB, free: 27.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.3311, allocations: 0.7574 MB / 0.5864 GB, free: 27.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008051/0.3319, allocations: 1.03 MB / 0.5874 GB, free: 26.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002025/0.3321, allocations: 101.6 kB / 0.5875 GB, free: 26.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.3326, allocations: 269.8 kB / 0.5877 GB, free: 26.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.3329, allocations: 374.6 kB / 0.5881 GB, free: 26.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005541/0.3335, allocations: 0.7882 MB / 0.5889 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.3348, allocations: 2.092 MB / 0.5909 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3348, allocations: 3.938 kB / 0.5909 GB, free: 25.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3348, allocations: 0 / 0.5909 GB, free: 25.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.3348, allocations: 0 / 0.5909 GB, free: 25.19 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.01132/0.3462, allocations: 3.503 MB / 0.5943 GB, free: 23.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3462, allocations: 12.66 kB / 0.5943 GB, free: 23.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.3464, allocations: 150.6 kB / 0.5945 GB, free: 23.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.3508, allocations: 0.7478 MB / 0.5952 GB, free: 23.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.3523, allocations: 1.09 MB / 0.5963 GB, free: 22.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.3527, allocations: 419.4 kB / 0.5967 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.3529, allocations: 104 kB / 0.5968 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.3556, allocations: 1.367 MB / 0.5981 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3556, allocations: 1.766 kB / 0.5981 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.3557, allocations: 34.84 kB / 0.5981 GB, free: 21.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.3558, allocations: 22.75 kB / 0.5982 GB, free: 21.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.3586, allocations: 1.303 MB / 0.5994 GB, free: 21.36 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.007834/0.3664, allocations: 4.67 MB / 0.604 GB, free: 18.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008028/0.3744, allocations: 2.89 MB / 0.6068 GB, free: 17.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.3761, allocations: 0.9014 MB / 0.6077 GB, free: 17.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.3763, allocations: 32.77 kB / 0.6077 GB, free: 17.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/0.3783, allocations: 1.042 MB / 0.6088 GB, free: 16.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.036e-06/0.3783, allocations: 5.281 kB / 0.6088 GB, free: 16.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04168/0.42, allocations: 9.907 MB / 0.6184 GB, free: 13.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.4201, allocations: 120.8 kB / 0.6186 GB, free: 13.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.4227, allocations: 1.349 MB / 0.6199 GB, free: 12.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003143/0.4231, allocations: 53.7 kB / 0.6199 GB, free: 12.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.4235, allocations: 0.5608 MB / 0.6205 GB, free: 11.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005587/0.424, allocations: 457.5 kB / 0.6209 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008393/0.4249, allocations: 327.4 kB / 0.6212 GB, free: 10.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.4249, allocations: 305.1 kB / 0.6215 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.4269, allocations: 0.9604 MB / 0.6224 GB, free: 9.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.4288, allocations: 1.151 MB / 0.6236 GB, free: 8.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003675/0.4325, allocations: 2.046 MB / 0.6256 GB, free: 6.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.4325, allocations: 4 kB / 0.6256 GB, free: 6.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009105/0.4417, allocations: 3.816 MB / 0.6293 GB, free: 2.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.4417, allocations: 11.94 kB / 0.6293 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4417, allocations: 4 kB / 0.6293 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008626/0.4503, allocations: 2.671 MB / 0.6319 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.4518, allocations: 295.5 kB / 0.6322 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006441/0.4583, allocations: 2.695 MB / 0.6348 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.4609, allocations: 242.3 kB / 0.6351 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.4612, allocations: 63.98 kB / 0.6351 GB, free: 12.34 MB / 446.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.0008449/0.462, allocations: 297.5 kB / 0.6354 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/0.4626, allocations: 154.1 kB / 0.6356 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/0.4787, allocations: 4.759 MB / 0.6402 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4787, allocations: 12 kB / 0.6402 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4787, allocations: 0 / 0.6402 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.4787, allocations: 11.97 kB / 0.6402 GB, free: 7.082 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.01898/0.4977, allocations: 6.86 MB / 0.6469 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.4978, allocations: 7.938 kB / 0.6469 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/0.4986, allocations: 139.8 kB / 0.6471 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007328/0.5059, allocations: 2.146 MB / 0.6492 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.5061, allocations: 27.98 kB / 0.6492 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02406/0.5302, allocations: 9.175 MB / 0.6582 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5302, allocations: 0 / 0.6582 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/0.5484, allocations: 5.919 MB / 0.6639 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006411/0.5491, allocations: 266.8 kB / 0.6642 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/0.5495, allocations: 24 kB / 0.6642 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/0.5514, allocations: 139.8 kB / 0.6643 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007663/0.5521, allocations: 249.3 kB / 0.6646 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.5523, allocations: 35.94 kB / 0.6646 GB, free: 13.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001687/0.554, allocations: 0.9173 MB / 0.6655 GB, free: 12.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.554, allocations: 0 / 0.6655 GB, free: 12.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001641/0.5556, allocations: 0.5073 MB / 0.666 GB, free: 12.33 MB / 478.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.01862/0.5743, allocations: 6.505 MB / 0.6724 GB, free: 5.781 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008422/0.5827, allocations: 2.785 MB / 0.6751 GB, free: 2.996 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5827, allocations: 0 / 0.6751 GB, free: 2.996 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005872/0.5886, allocations: 1.874 MB / 0.6769 GB, free: 1.105 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.59, allocations: 137 kB / 0.677 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04846/0.6385, allocations: 20.65 MB / 0.6972 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009391/0.6395, allocations: 1.204 MB / 0.6984 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000636/0.6401, allocations: 141.7 kB / 0.6985 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/0.641, allocations: 0.5735 MB / 0.6991 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.641, allocations: 0 / 0.6991 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.227/5.868, allocations: 38.49 MB / 0.7367 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/5.868, allocations: 222.6 kB / 0.7369 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/8.745, allocations: 3.625 kB / 0.7369 GB, free: 3.035 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)