Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.001559/0.001559, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.355/1.355, allocations: 222.9 MB / 239 MB, free: 4.672 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.00147/0.00147, allocations: 192.4 kB / 289.3 MB, free: 2.414 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.497/0.497, allocations: 91.9 MB / 431.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001476, allocations: 80.06 kB / 0.5015 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3531, allocations: 71.26 MB / 0.5711 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.007197/0.3604, allocations: 8.973 MB / 0.5799 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004791/0.3652, allocations: 2.719 MB / 0.5825 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.3664, allocations: 19.72 kB / 0.5825 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007755/0.3672, allocations: 243 kB / 0.5828 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.3695, allocations: 0.8786 MB / 0.5836 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.371, allocations: 0.7762 MB / 0.5844 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.3728, allocations: 2.226 MB / 0.5866 GB, free: 26.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.3734, allocations: 476.7 kB / 0.587 GB, free: 26.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009525/0.3743, allocations: 0.8945 MB / 0.5879 GB, free: 26.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.3753, allocations: 1.143 MB / 0.589 GB, free: 25.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.3756, allocations: 191 kB / 0.5892 GB, free: 25.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000775/0.3764, allocations: 469 kB / 0.5896 GB, free: 25.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.3767, allocations: 480.8 kB / 0.5901 GB, free: 25.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.3773, allocations: 0.9488 MB / 0.591 GB, free: 24.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.3793, allocations: 2.424 MB / 0.5934 GB, free: 23.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3793, allocations: 1.156 kB / 0.5934 GB, free: 23.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3793, allocations: 4 kB / 0.5934 GB, free: 23.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.3793, allocations: 0 / 0.5934 GB, free: 23.63 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01227/0.3916, allocations: 3.632 MB / 0.5969 GB, free: 22.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3917, allocations: 13.16 kB / 0.5969 GB, free: 22.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.3919, allocations: 164.4 kB / 0.5971 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.3966, allocations: 0.7563 MB / 0.5978 GB, free: 21.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.3984, allocations: 1.132 MB / 0.5989 GB, free: 21.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/0.3988, allocations: 455.2 kB / 0.5994 GB, free: 20.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.399, allocations: 117.3 kB / 0.5995 GB, free: 20.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.4019, allocations: 1.476 MB / 0.6009 GB, free: 20 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.402, allocations: 5 kB / 0.6009 GB, free: 20 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.4021, allocations: 45.52 kB / 0.601 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.4022, allocations: 24.28 kB / 0.601 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.405, allocations: 1.355 MB / 0.6023 GB, free: 19.5 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.009555/0.4146, allocations: 5.236 MB / 0.6074 GB, free: 16.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008372/0.423, allocations: 2.952 MB / 0.6103 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/0.425, allocations: 0.9329 MB / 0.6112 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004707/0.4255, allocations: 0.7256 MB / 0.6119 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002473/0.428, allocations: 1.081 MB / 0.613 GB, free: 13.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=131): time 5.42e-06/0.428, allocations: 0 / 0.613 GB, free: 13.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.04217/0.4702, allocations: 9.857 MB / 0.6226 GB, free: 9.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4703, allocations: 120.1 kB / 0.6227 GB, free: 9.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.4725, allocations: 1.438 MB / 0.6241 GB, free: 7.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003893/0.4729, allocations: 53.69 kB / 0.6242 GB, free: 7.617 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000435/0.4734, allocations: 0.6316 MB / 0.6248 GB, free: 6.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/0.474, allocations: 477.2 kB / 0.6253 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009067/0.4749, allocations: 371.4 kB / 0.6256 GB, free: 6.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.4749, allocations: 301.1 kB / 0.6259 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.4769, allocations: 1.007 MB / 0.6269 GB, free: 4.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.479, allocations: 1.231 MB / 0.6281 GB, free: 3.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.4829, allocations: 2.149 MB / 0.6302 GB, free: 1.332 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.4829, allocations: 4 kB / 0.6302 GB, free: 1.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01777/0.5007, allocations: 5.504 MB / 0.6356 GB, free: 11.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.5008, allocations: 8 kB / 0.6356 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/0.5008, allocations: 4 kB / 0.6356 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/0.5109, allocations: 2.679 MB / 0.6382 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.5128, allocations: 339.5 kB / 0.6385 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/0.5197, allocations: 2.707 MB / 0.6412 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.5226, allocations: 250.2 kB / 0.6414 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/0.523, allocations: 71.97 kB / 0.6415 GB, free: 5.727 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * 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.0009319/0.5239, allocations: 309.5 kB / 0.6418 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005903/0.5245, allocations: 165.8 kB / 0.6419 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/0.5423, allocations: 4.946 MB / 0.6468 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.5424, allocations: 12 kB / 0.6468 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.5424, allocations: 4 kB / 0.6468 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.386e-05/0.5424, allocations: 11.97 kB / 0.6468 GB, free: 252 kB / 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.02168/0.5641, allocations: 7.097 MB / 0.6537 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.5642, allocations: 4 kB / 0.6537 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.5653, allocations: 151.8 kB / 0.6539 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008145/0.5734, allocations: 2.197 MB / 0.656 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003151/0.5738, allocations: 31.98 kB / 0.656 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02957/0.6034, allocations: 11.8 MB / 0.6676 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6034, allocations: 0 / 0.6676 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02021/0.6236, allocations: 6.092 MB / 0.6735 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008505/0.6245, allocations: 274.7 kB / 0.6738 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007466/0.6253, allocations: 24 kB / 0.6738 GB, free: 4.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/0.6274, allocations: 127.9 kB / 0.6739 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/0.6286, allocations: 269.4 kB / 0.6742 GB, free: 3.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/0.6288, allocations: 39.98 kB / 0.6742 GB, free: 3.668 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00188/0.6307, allocations: 0.9522 MB / 0.6751 GB, free: 2.719 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6307, allocations: 3.938 kB / 0.6751 GB, free: 2.715 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002295/0.633, allocations: 0.562 MB / 0.6757 GB, free: 2.152 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.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 (85): * Single equations (assignments): 83 * 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 {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02033/0.6534, allocations: 6.705 MB / 0.6822 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01032/0.6637, allocations: 2.987 MB / 0.6852 GB, free: 8.406 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.6638, allocations: 4.062 kB / 0.6852 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006846/0.6706, allocations: 2.073 MB / 0.6872 GB, free: 6.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.6727, allocations: 145.3 kB / 0.6873 GB, free: 6.156 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05148/0.7242, allocations: 21.23 MB / 0.7081 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.7253, allocations: 1.243 MB / 0.7093 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007522/0.726, allocations: 146.5 kB / 0.7094 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.7271, allocations: 0.6399 MB / 0.71 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.7271, allocations: 0 / 0.71 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07833/0.8054, allocations: 43.7 MB / 0.7527 GB, free: 2.316 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.8057, allocations: 216.2 kB / 0.7529 GB, free: 2.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/3.888, allocations: 4 kB / 0.7529 GB, free: 2.055 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)