Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.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.ESST4B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",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.0009096/0.0009099, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.435/1.435, allocations: 223.2 MB / 239 MB, free: 5.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.001446/0.001446, allocations: 191.5 kB / 290.3 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5065/0.5065, allocations: 79.47 MB / 420.8 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.00042, allocations: 15.98 kB / 0.4892 GB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4609, allocations: 69.51 MB / 0.5571 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B): time 0.007757/0.4687, allocations: 8.142 MB / 0.5651 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006496/0.4752, allocations: 2.801 MB / 0.5678 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.4771, allocations: 26.5 kB / 0.5678 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.4779, allocations: 227.2 kB / 0.568 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.4807, allocations: 0.9253 MB / 0.5689 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.4828, allocations: 0.8053 MB / 0.5697 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002886/0.4857, allocations: 2.169 MB / 0.5718 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.4867, allocations: 433.5 kB / 0.5723 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.4883, allocations: 0.815 MB / 0.573 GB, free: 33.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.4902, allocations: 1.054 MB / 0.5741 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008311/0.4911, allocations: 99.66 kB / 0.5742 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.4922, allocations: 308.8 kB / 0.5745 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.4926, allocations: 390.2 kB / 0.5748 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.493, allocations: 324 kB / 0.5751 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.4946, allocations: 1.92 MB / 0.577 GB, free: 31.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.4947, allocations: 0 / 0.577 GB, free: 31.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4947, allocations: 0.625 kB / 0.577 GB, free: 31.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.4947, allocations: 0 / 0.577 GB, free: 31.88 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01101/0.5057, allocations: 3.608 MB / 0.5805 GB, free: 30.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.5058, allocations: 11.12 kB / 0.5806 GB, free: 30.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004599/0.5062, allocations: 177.7 kB / 0.5807 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005221/0.5115, allocations: 0.9305 MB / 0.5816 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.5135, allocations: 1.133 MB / 0.5827 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000451/0.514, allocations: 0.515 MB / 0.5832 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.5142, allocations: 132.7 kB / 0.5834 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.5173, allocations: 1.796 MB / 0.5851 GB, free: 28.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5174, allocations: 1.5 kB / 0.5851 GB, free: 28.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.5175, allocations: 48.16 kB / 0.5852 GB, free: 28.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.5175, allocations: 31.25 kB / 0.5852 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003658/0.5212, allocations: 1.663 MB / 0.5868 GB, free: 27.72 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.00997/0.5312, allocations: 6.018 MB / 0.5927 GB, free: 24.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.5415, allocations: 4.092 MB / 0.5967 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002792/0.5443, allocations: 1.131 MB / 0.5978 GB, free: 22.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/0.5446, allocations: 22.11 kB / 0.5978 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.5447, allocations: 51.23 kB / 0.5979 GB, free: 22.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 7.374e-06/0.5447, allocations: 0.75 kB / 0.5979 GB, free: 22.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04763/0.5923, allocations: 12.86 MB / 0.6104 GB, free: 20.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.5925, allocations: 198.7 kB / 0.6106 GB, free: 19.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00446/0.597, allocations: 1.445 MB / 0.612 GB, free: 19.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007009/0.5977, allocations: 55.67 kB / 0.6121 GB, free: 18.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.5987, allocations: 0.6691 MB / 0.6127 GB, free: 18.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.5999, allocations: 0.4923 MB / 0.6132 GB, free: 17.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005081/0.6004, allocations: 40.25 kB / 0.6133 GB, free: 17.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.6007, allocations: 382.5 kB / 0.6136 GB, free: 17.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/0.604, allocations: 1.2 MB / 0.6148 GB, free: 16.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003268/0.6072, allocations: 1.458 MB / 0.6162 GB, free: 15.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/0.6101, allocations: 1.271 MB / 0.6175 GB, free: 14.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.6101, allocations: 4 kB / 0.6175 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01085/0.621, allocations: 4.715 MB / 0.6221 GB, free: 9.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.6212, allocations: 223.5 kB / 0.6223 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.6212, allocations: 4 kB / 0.6223 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/0.6329, allocations: 4.028 MB / 0.6262 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.6345, allocations: 301 kB / 0.6265 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007978/0.6425, allocations: 3.807 MB / 0.6302 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.6454, allocations: 338 kB / 0.6305 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/0.6458, allocations: 77.09 kB / 0.6306 GB, free: 1.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6458, allocations: 7.938 kB / 0.6306 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.011/0.6568, allocations: 4.395 MB / 0.6349 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.6569, allocations: 4 kB / 0.6349 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/0.6694, allocations: 3.905 MB / 0.6387 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.671, allocations: 295.6 kB / 0.639 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008863/0.6799, allocations: 3.609 MB / 0.6425 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.6828, allocations: 294.5 kB / 0.6428 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004051/0.6832, allocations: 67.98 kB / 0.6429 GB, free: 4.406 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: 2 (eSST4B.VM1.local_reset,eSST4B.VR1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 168 * 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 {35 58} Notification: Performance of prepare postOptimizeDAE: time 0.001367/0.6846, allocations: 404.7 kB / 0.6433 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008955/0.6855, allocations: 178.4 kB / 0.6434 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01787/0.7034, allocations: 6.212 MB / 0.6495 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/0.7035, allocations: 20 kB / 0.6495 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.7035, allocations: 5.766 kB / 0.6495 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.971e-05/0.7036, allocations: 7.984 kB / 0.6495 GB, free: 13.56 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.02381/0.7274, allocations: 8.52 MB / 0.6579 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/0.7275, allocations: 1.062 kB / 0.6579 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.7287, allocations: 187.8 kB / 0.658 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007958/0.7367, allocations: 2.618 MB / 0.6606 GB, free: 2.094 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004079/0.7371, allocations: 28 kB / 0.6606 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02769/0.7649, allocations: 12.09 MB / 0.6724 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7649, allocations: 0 / 0.6724 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/0.7861, allocations: 7.655 MB / 0.6799 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/0.787, allocations: 286.5 kB / 0.6802 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007304/0.7877, allocations: 28.62 kB / 0.6802 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/0.7901, allocations: 203.8 kB / 0.6804 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/0.7912, allocations: 285.2 kB / 0.6807 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002634/0.7915, allocations: 41.91 kB / 0.6807 GB, free: 13.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002053/0.7936, allocations: 0.9535 MB / 0.6817 GB, free: 12.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7936, allocations: 0 / 0.6817 GB, free: 12.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004306/0.7979, allocations: 0.9401 MB / 0.6826 GB, free: 11.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSST4B.VA.state,eSST4B.VR1.y,eSST4B.VM1.y,eSST4B.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02148/0.8194, allocations: 8.266 MB / 0.6906 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01903/0.8385, allocations: 6.008 MB / 0.6965 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.8386, allocations: 0 / 0.6965 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007248/0.8458, allocations: 2.448 MB / 0.6989 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.8487, allocations: 158.5 kB / 0.6991 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03899/0.8877, allocations: 15.73 MB / 0.7144 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.889, allocations: 1.278 MB / 0.7157 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001371/0.8904, allocations: 172.1 kB / 0.7158 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.8917, allocations: 0.6672 MB / 0.7165 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of SimCode: time 1.373e-06/0.8917, allocations: 3.75 kB / 0.7165 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09491/0.9866, allocations: 52.2 MB / 0.7675 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.9869, allocations: 202.8 kB / 0.7677 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.69/4.677, allocations: 0 / 0.7677 GB, free: 3.582 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe 2>&1) Environment - environmentSimulation: