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.001148/0.001148, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 239.3 MB, free: 4.578 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.001366/0.001366, allocations: 199.7 kB / 289.6 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5056/0.5056, allocations: 91.91 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001559, allocations: 75.88 kB / 0.502 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.326, allocations: 71.26 MB / 0.5716 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006302/0.3323, allocations: 7.99 MB / 0.5794 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003922/0.3363, allocations: 2.508 MB / 0.5818 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006255/0.3369, allocations: 11.47 kB / 0.5818 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006713/0.3376, allocations: 307.8 kB / 0.5821 GB, free: 30.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.3393, allocations: 0.9913 MB / 0.5831 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3406, allocations: 0.7632 MB / 0.5838 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.342, allocations: 2.123 MB / 0.5859 GB, free: 27.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.3425, allocations: 370 kB / 0.5863 GB, free: 27.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/0.3432, allocations: 0.8432 MB / 0.5871 GB, free: 27.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009144/0.3441, allocations: 1.091 MB / 0.5882 GB, free: 26.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.3444, allocations: 174.3 kB / 0.5883 GB, free: 26.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006096/0.345, allocations: 352.4 kB / 0.5887 GB, free: 26.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.3453, allocations: 447 kB / 0.5891 GB, free: 26.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.3459, allocations: 0.8731 MB / 0.5899 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.3474, allocations: 2.149 MB / 0.592 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3474, allocations: 1.531 kB / 0.592 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3474, allocations: 0 / 0.592 GB, free: 25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.3474, allocations: 0 / 0.592 GB, free: 25 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.01162/0.3591, allocations: 3.497 MB / 0.5955 GB, free: 23.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3591, allocations: 10.44 kB / 0.5955 GB, free: 23.56 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.3593, allocations: 152.7 kB / 0.5956 GB, free: 23.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00442/0.3637, allocations: 0.7431 MB / 0.5963 GB, free: 23.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.3654, allocations: 1.087 MB / 0.5974 GB, free: 22.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.3657, allocations: 427.8 kB / 0.5978 GB, free: 22.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.3659, allocations: 103.8 kB / 0.5979 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.3686, allocations: 1.365 MB / 0.5992 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.3687, allocations: 0 / 0.5992 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3688, allocations: 40.12 kB / 0.5993 GB, free: 21.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.3688, allocations: 21.06 kB / 0.5993 GB, free: 21.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.3716, allocations: 1.3 MB / 0.6006 GB, free: 21.17 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.008023/0.3796, allocations: 4.666 MB / 0.6051 GB, free: 18.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008331/0.388, allocations: 2.887 MB / 0.6079 GB, free: 17.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.3898, allocations: 0.9054 MB / 0.6088 GB, free: 16.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.39, allocations: 24.22 kB / 0.6089 GB, free: 16.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002005/0.392, allocations: 1.055 MB / 0.6099 GB, free: 16.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.206e-06/0.392, allocations: 0 / 0.6099 GB, free: 16.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04012/0.4321, allocations: 9.904 MB / 0.6196 GB, free: 12.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.4322, allocations: 116.8 kB / 0.6197 GB, free: 12.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.4341, allocations: 1.351 MB / 0.621 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.4344, allocations: 49.7 kB / 0.621 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.4347, allocations: 0.5687 MB / 0.6216 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.4351, allocations: 453.6 kB / 0.622 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005075/0.4356, allocations: 327.3 kB / 0.6223 GB, free: 10.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.4357, allocations: 317 kB / 0.6226 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.4375, allocations: 0.9487 MB / 0.6236 GB, free: 8.801 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.4394, allocations: 1.151 MB / 0.6247 GB, free: 7.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/0.4429, allocations: 2.054 MB / 0.6267 GB, free: 5.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.4429, allocations: 0 / 0.6267 GB, free: 5.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.00885/0.4517, allocations: 3.815 MB / 0.6304 GB, free: 1.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4518, allocations: 14.28 kB / 0.6304 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4518, allocations: 8 kB / 0.6304 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008769/0.4606, allocations: 2.671 MB / 0.633 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.4619, allocations: 303.5 kB / 0.6333 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/0.4682, allocations: 2.688 MB / 0.636 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.4704, allocations: 242.3 kB / 0.6362 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.4706, allocations: 63.98 kB / 0.6363 GB, free: 11.67 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.0006025/0.4712, allocations: 306.5 kB / 0.6365 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.4715, allocations: 150.1 kB / 0.6367 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/0.4873, allocations: 4.755 MB / 0.6413 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.4873, allocations: 15.94 kB / 0.6413 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.4874, allocations: 4 kB / 0.6414 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/0.4874, allocations: 15.95 kB / 0.6414 GB, free: 6.391 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.0194/0.5068, allocations: 6.852 MB / 0.6481 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.5069, allocations: 7.938 kB / 0.6481 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008312/0.5077, allocations: 135.8 kB / 0.6482 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007535/0.5152, allocations: 2.149 MB / 0.6503 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.5155, allocations: 27.98 kB / 0.6503 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02543/0.5409, allocations: 10.07 MB / 0.6602 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5409, allocations: 7.938 kB / 0.6602 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/0.5594, allocations: 5.918 MB / 0.6659 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007325/0.5602, allocations: 270.8 kB / 0.6662 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004946/0.5607, allocations: 20 kB / 0.6662 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.5626, allocations: 135.8 kB / 0.6663 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009013/0.5635, allocations: 269.2 kB / 0.6666 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.5637, allocations: 32 kB / 0.6666 GB, free: 12.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001723/0.5654, allocations: 0.9095 MB / 0.6675 GB, free: 11.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5654, allocations: 4 kB / 0.6675 GB, free: 11.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001796/0.5672, allocations: 0.5074 MB / 0.668 GB, free: 10.74 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.01894/0.5862, allocations: 6.512 MB / 0.6744 GB, free: 4.188 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009521/0.5957, allocations: 2.86 MB / 0.6772 GB, free: 1.324 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5957, allocations: 8 kB / 0.6772 GB, free: 1.316 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00608/0.6018, allocations: 1.915 MB / 0.6791 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.6032, allocations: 129 kB / 0.6792 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0516/0.6548, allocations: 20.18 MB / 0.6989 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009932/0.6559, allocations: 1.203 MB / 0.7001 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008031/0.6567, allocations: 133.7 kB / 0.7002 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/0.6577, allocations: 0.5813 MB / 0.7008 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.6577, allocations: 4 kB / 0.7008 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07495/0.7326, allocations: 41.62 MB / 0.7414 GB, free: 14.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13, allocations: 14.59 kB / 0.7414 GB, free: 14.89 MB / 0.545 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)