Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.00705/0.00705, allocations: 104.2 kB / 15.74 MB, free: 6.488 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.27/1.27, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001494/0.001493, allocations: 192.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.499/0.499, allocations: 91.89 MB / 431.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 81.66 kB / 0.5723 GB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 71.28 MB / 0.6419 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008538/0.1273, allocations: 9.245 MB / 0.6509 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005569/0.133, allocations: 2.867 MB / 0.6537 GB, free: 7.938 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.1343, allocations: 16 kB / 0.6537 GB, free: 7.922 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.1354, allocations: 368.8 kB / 0.6541 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.1384, allocations: 1.242 MB / 0.6553 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.1402, allocations: 0.8377 MB / 0.6561 GB, free: 5.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002901/0.1431, allocations: 2.607 MB / 0.6586 GB, free: 2.867 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000748/0.1439, allocations: 0.5427 MB / 0.6592 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.1453, allocations: 1.023 MB / 0.6602 GB, free: 1.266 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.1467, allocations: 1.28 MB / 0.6614 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003947/0.1471, allocations: 220 kB / 0.6616 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00082/0.148, allocations: 483.7 kB / 0.6621 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.1484, allocations: 0.537 MB / 0.6626 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008986/0.1493, allocations: 1.053 MB / 0.6636 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.152, allocations: 2.738 MB / 0.6663 GB, free: 10.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.152, allocations: 4 kB / 0.6663 GB, free: 10.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.152, allocations: 0 / 0.6663 GB, free: 10.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.298e-05/0.1521, allocations: 0 / 0.6663 GB, free: 10.95 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01239/0.1644, allocations: 3.947 MB / 0.6702 GB, free: 6.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1645, allocations: 16.03 kB / 0.6702 GB, free: 6.914 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.1647, allocations: 181.2 kB / 0.6704 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/0.1691, allocations: 0.7896 MB / 0.6711 GB, free: 5.934 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.1714, allocations: 1.291 MB / 0.6724 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004215/0.1718, allocations: 470.7 kB / 0.6728 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.1721, allocations: 131.9 kB / 0.673 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/0.175, allocations: 1.621 MB / 0.6746 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.1751, allocations: 11.92 kB / 0.6746 GB, free: 2.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.1752, allocations: 48 kB / 0.6746 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.1752, allocations: 28 kB / 0.6746 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002956/0.1782, allocations: 1.496 MB / 0.6761 GB, free: 0.6719 MB / 478.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.0097/0.1879, allocations: 5.8 MB / 0.6818 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007832/0.1958, allocations: 3.168 MB / 0.6849 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.1978, allocations: 0.998 MB / 0.6858 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005854/0.1984, allocations: 0.7349 MB / 0.6865 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002189/0.2006, allocations: 1.198 MB / 0.6877 GB, free: 4.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.327e-06/0.2006, allocations: 0 / 0.6877 GB, free: 4.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.03653/0.2372, allocations: 9.984 MB / 0.6975 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.2373, allocations: 153.8 kB / 0.6976 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.2398, allocations: 1.642 MB / 0.6992 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003744/0.2402, allocations: 53.7 kB / 0.6993 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.2407, allocations: 0.7069 MB / 0.7 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005727/0.2413, allocations: 0.5277 MB / 0.7005 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006811/0.242, allocations: 395.9 kB / 0.7009 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.2421, allocations: 301.1 kB / 0.7011 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.2442, allocations: 1.082 MB / 0.7022 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/0.2465, allocations: 1.311 MB / 0.7035 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004261/0.2508, allocations: 2.327 MB / 0.7057 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.2508, allocations: 3.938 kB / 0.7058 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009171/0.26, allocations: 4.01 MB / 0.7097 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.2601, allocations: 33.7 kB / 0.7097 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.2601, allocations: 4 kB / 0.7097 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008391/0.2685, allocations: 2.655 MB / 0.7123 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.2705, allocations: 375.5 kB / 0.7127 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.2766, allocations: 2.695 MB / 0.7153 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.2793, allocations: 298 kB / 0.7156 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/0.2797, allocations: 71.98 kB / 0.7156 GB, free: 7.223 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.001005/0.2807, allocations: 347.9 kB / 0.716 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005967/0.2813, allocations: 185.7 kB / 0.7161 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/0.2967, allocations: 5.167 MB / 0.7212 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.2968, allocations: 16 kB / 0.7212 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.2968, allocations: 0 / 0.7212 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-05/0.2968, allocations: 7.969 kB / 0.7212 GB, free: 1.473 MB / 0.5137 GB 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.3163, allocations: 7.649 MB / 0.7287 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/0.3163, allocations: 12 kB / 0.7287 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.3174, allocations: 167.8 kB / 0.7289 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007117/0.3245, allocations: 2.232 MB / 0.731 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003082/0.3249, allocations: 39.92 kB / 0.7311 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02592/0.3508, allocations: 12.06 MB / 0.7429 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3509, allocations: 0 / 0.7429 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/0.3688, allocations: 6.376 MB / 0.7491 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006466/0.3695, allocations: 302.4 kB / 0.7494 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/0.3701, allocations: 32 kB / 0.7494 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/0.372, allocations: 159.8 kB / 0.7495 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009944/0.373, allocations: 289.3 kB / 0.7498 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/0.3732, allocations: 43.98 kB / 0.7499 GB, free: 3.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002001/0.3752, allocations: 1.109 MB / 0.751 GB, free: 2.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3753, allocations: 0 / 0.751 GB, free: 2.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001999/0.3773, allocations: 0.6009 MB / 0.7515 GB, free: 1.926 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01821/0.3955, allocations: 6.98 MB / 0.7584 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008889/0.4044, allocations: 3.177 MB / 0.7615 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4044, allocations: 0.875 kB / 0.7615 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006119/0.4106, allocations: 2.175 MB / 0.7636 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.4124, allocations: 183.4 kB / 0.7638 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3169/0.7294, allocations: 21.07 MB / 0.7843 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.73, allocations: 1.34 MB / 0.7856 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000682/0.7307, allocations: 175.2 kB / 0.7858 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.7315, allocations: 0.7211 MB / 0.7865 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.7315, allocations: 0 / 0.7865 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07097/0.8025, allocations: 49.48 MB / 0.8348 GB, free: 68.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.82, allocations: 9.469 kB / 0.8348 GB, free: 68.25 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)