Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.IEEEG1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",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.0009162/0.0009159, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.295/1.295, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001054/0.001053, allocations: 185 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.467/0.467, allocations: 78.53 MB / 419.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 16 kB / 499.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 69.36 MB / 0.5558 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1): time 0.2604/0.3935, allocations: 8.629 MB / 0.5642 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0064/0.4, allocations: 3.04 MB / 0.5672 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.4019, allocations: 24.62 kB / 0.5672 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009733/0.4029, allocations: 255.7 kB / 0.5674 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.4062, allocations: 1.151 MB / 0.5686 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.4081, allocations: 0.7522 MB / 0.5693 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002841/0.4109, allocations: 1.801 MB / 0.5711 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006821/0.4116, allocations: 491.1 kB / 0.5715 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.4127, allocations: 0.9115 MB / 0.5724 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.4137, allocations: 1.155 MB / 0.5735 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.414, allocations: 104.2 kB / 0.5736 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.4146, allocations: 322 kB / 0.5739 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.4149, allocations: 431 kB / 0.5744 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.4152, allocations: 367.6 kB / 0.5747 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.4168, allocations: 2.186 MB / 0.5768 GB, free: 32.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.4168, allocations: 1.781 kB / 0.5768 GB, free: 32.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4168, allocations: 0.625 kB / 0.5768 GB, free: 32.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.795e-05/0.4169, allocations: 0 / 0.5768 GB, free: 32.09 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.01314/0.43, allocations: 4.044 MB / 0.5808 GB, free: 30.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4301, allocations: 8.844 kB / 0.5808 GB, free: 30.56 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005381/0.4306, allocations: 197.5 kB / 0.581 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004844/0.4355, allocations: 0.8225 MB / 0.5818 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.438, allocations: 1.299 MB / 0.5831 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/0.4385, allocations: 0.5905 MB / 0.5836 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.4388, allocations: 156.5 kB / 0.5838 GB, free: 28.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.4422, allocations: 1.869 MB / 0.5856 GB, free: 28.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.4422, allocations: 7.891 kB / 0.5856 GB, free: 28.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.4424, allocations: 53.17 kB / 0.5857 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.4424, allocations: 32.66 kB / 0.5857 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.4462, allocations: 1.733 MB / 0.5874 GB, free: 27.46 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.01096/0.4571, allocations: 6.598 MB / 0.5938 GB, free: 23.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.4672, allocations: 3.896 MB / 0.5976 GB, free: 22.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/0.4679, allocations: 0.7428 MB / 0.5984 GB, free: 21.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00318/0.4711, allocations: 1.328 MB / 0.5997 GB, free: 20.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=159): time 3.106e-06/0.4711, allocations: 0 / 0.5997 GB, free: 20.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.04546/0.5165, allocations: 12.29 MB / 0.6117 GB, free: 18.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.5166, allocations: 148.5 kB / 0.6118 GB, free: 18.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/0.5201, allocations: 1.745 MB / 0.6135 GB, free: 17.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006448/0.5208, allocations: 56.11 kB / 0.6136 GB, free: 17.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/0.5215, allocations: 0.794 MB / 0.6143 GB, free: 16.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007663/0.5222, allocations: 0.5679 MB / 0.6149 GB, free: 16.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.5224, allocations: 44.94 kB / 0.6149 GB, free: 15.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5225, allocations: 392 kB / 0.6153 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002645/0.5252, allocations: 1.218 MB / 0.6165 GB, free: 15.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/0.5279, allocations: 1.459 MB / 0.6179 GB, free: 13.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.5303, allocations: 1.308 MB / 0.6192 GB, free: 12.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.5303, allocations: 7.953 kB / 0.6192 GB, free: 12.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.00983/0.5402, allocations: 4.615 MB / 0.6237 GB, free: 7.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002938/0.5405, allocations: 1.726 MB / 0.6254 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.5405, allocations: 15.92 kB / 0.6254 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008793/0.5493, allocations: 3.033 MB / 0.6284 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.5514, allocations: 415.4 kB / 0.6288 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006066/0.5574, allocations: 3.014 MB / 0.6317 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.5604, allocations: 353.9 kB / 0.6321 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.5607, allocations: 87.91 kB / 0.6321 GB, free: 15.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5608, allocations: 5.25 kB / 0.6321 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01051/0.5713, allocations: 4.379 MB / 0.6364 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.5713, allocations: 7.984 kB / 0.6364 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009376/0.5807, allocations: 3.017 MB / 0.6394 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.5829, allocations: 417.3 kB / 0.6398 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/0.5896, allocations: 2.989 MB / 0.6427 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.5925, allocations: 326.2 kB / 0.643 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.5928, allocations: 83.94 kB / 0.6431 GB, free: 3.816 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,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 (232): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009795/0.5938, allocations: 444.7 kB / 0.6435 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/0.5942, allocations: 203.1 kB / 0.6437 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/0.612, allocations: 6.189 MB / 0.6497 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.6121, allocations: 16 kB / 0.6498 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6121, allocations: 4 kB / 0.6498 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/0.6122, allocations: 7.969 kB / 0.6498 GB, free: 12.94 MB / 462.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.02269/0.6349, allocations: 8.742 MB / 0.6583 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.6349, allocations: 0.9375 kB / 0.6583 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.6364, allocations: 235.7 kB / 0.6585 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008241/0.6446, allocations: 2.507 MB / 0.661 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/0.6451, allocations: 39.92 kB / 0.661 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02627/0.6714, allocations: 10.89 MB / 0.6717 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6715, allocations: 5.312 kB / 0.6717 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/0.6931, allocations: 7.66 MB / 0.6791 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008351/0.694, allocations: 326.1 kB / 0.6794 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005196/0.6946, allocations: 33.25 kB / 0.6795 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.6965, allocations: 213.6 kB / 0.6797 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008803/0.6974, allocations: 285.4 kB / 0.68 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.6976, allocations: 47.98 kB / 0.68 GB, free: 13.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.6995, allocations: 1.156 MB / 0.6811 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6995, allocations: 0 / 0.6811 GB, free: 12.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003977/0.7035, allocations: 1.022 MB / 0.6821 GB, free: 11.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (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,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * 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 (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02137/0.7249, allocations: 8.419 MB / 0.6904 GB, free: 2.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01732/0.7422, allocations: 6.111 MB / 0.6963 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.016e-06/0.7423, allocations: 0 / 0.6963 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007126/0.7494, allocations: 2.353 MB / 0.6986 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.7509, allocations: 160 kB / 0.6988 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.7614, allocations: 8.153 MB / 0.7067 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000918/0.7623, allocations: 1.447 MB / 0.7081 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001252/0.7636, allocations: 223.1 kB / 0.7084 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.7647, allocations: 0.7922 MB / 0.7091 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.7647, allocations: 0 / 0.7091 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07576/0.8405, allocations: 50.56 MB / 0.7585 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.8406, allocations: 190.1 kB / 0.7587 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/3.884, allocations: 4 kB / 0.7587 GB, free: 13.05 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1) Environment - environmentSimulation: