Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.0008882/0.0008883, allocations: 98.77 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.286/1.286, allocations: 223.2 MB / 238.9 MB, free: 5.504 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.00118/0.00118, allocations: 181 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4691/0.4691, allocations: 79.45 MB / 420.7 MB, free: 3.941 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 16 kB / 0.4891 GB, free: 5.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3876, allocations: 69.5 MB / 0.557 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.007425/0.3951, allocations: 7.652 MB / 0.5644 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006045/0.4012, allocations: 2.781 MB / 0.5672 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.4028, allocations: 19.28 kB / 0.5672 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009508/0.4037, allocations: 229.6 kB / 0.5674 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.4064, allocations: 0.9219 MB / 0.5683 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.4083, allocations: 0.7359 MB / 0.569 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002634/0.411, allocations: 1.47 MB / 0.5704 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006341/0.4116, allocations: 382.4 kB / 0.5708 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.4128, allocations: 0.7948 MB / 0.5716 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.4139, allocations: 1.019 MB / 0.5726 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.4142, allocations: 95.53 kB / 0.5727 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007633/0.415, allocations: 337.6 kB / 0.573 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.4152, allocations: 373.5 kB / 0.5733 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.4156, allocations: 313.3 kB / 0.5736 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.4172, allocations: 1.851 MB / 0.5755 GB, free: 32.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.4172, allocations: 2 kB / 0.5755 GB, free: 32.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4172, allocations: 0 / 0.5755 GB, free: 32.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.855e-05/0.4172, allocations: 2.906 kB / 0.5755 GB, free: 32.48 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01201/0.4293, allocations: 3.533 MB / 0.5789 GB, free: 31.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.4293, allocations: 11.62 kB / 0.5789 GB, free: 31.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004905/0.4298, allocations: 166.3 kB / 0.5791 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.4346, allocations: 0.7691 MB / 0.5798 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.4371, allocations: 1.151 MB / 0.581 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.4375, allocations: 478.2 kB / 0.5814 GB, free: 29.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.4378, allocations: 122.2 kB / 0.5815 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003668/0.4415, allocations: 1.601 MB / 0.5831 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.4415, allocations: 0 / 0.5831 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.4417, allocations: 39.88 kB / 0.5831 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.4418, allocations: 26.25 kB / 0.5832 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.4448, allocations: 1.507 MB / 0.5846 GB, free: 28.53 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.01086/0.4557, allocations: 5.622 MB / 0.5901 GB, free: 25.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.467, allocations: 3.647 MB / 0.5937 GB, free: 23.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.4682, allocations: 0.7378 MB / 0.5944 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003769/0.4721, allocations: 1.192 MB / 0.5956 GB, free: 22.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 1.077e-05/0.4721, allocations: 1.062 kB / 0.5956 GB, free: 22.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.05223/0.5243, allocations: 11.8 MB / 0.6071 GB, free: 20.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.5245, allocations: 126.5 kB / 0.6072 GB, free: 20.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/0.5288, allocations: 1.524 MB / 0.6087 GB, free: 20.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006371/0.5295, allocations: 55.92 kB / 0.6088 GB, free: 19.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008109/0.5303, allocations: 0.6447 MB / 0.6094 GB, free: 19.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.5313, allocations: 486.6 kB / 0.6098 GB, free: 19.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004894/0.5318, allocations: 39.62 kB / 0.6099 GB, free: 19.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.5321, allocations: 389.2 kB / 0.6103 GB, free: 18.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/0.5354, allocations: 1.127 MB / 0.6114 GB, free: 18.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/0.5386, allocations: 1.337 MB / 0.6127 GB, free: 17.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/0.5418, allocations: 1.213 MB / 0.6138 GB, free: 16.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.5418, allocations: 1.219 kB / 0.6138 GB, free: 16.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01113/0.553, allocations: 4.246 MB / 0.618 GB, free: 13.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.553, allocations: 9.188 kB / 0.618 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/0.5531, allocations: 4 kB / 0.618 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009431/0.5625, allocations: 3.056 MB / 0.621 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.5645, allocations: 364.5 kB / 0.6213 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006548/0.5711, allocations: 3.018 MB / 0.6243 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/0.5741, allocations: 322.2 kB / 0.6246 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/0.5746, allocations: 67.98 kB / 0.6247 GB, free: 6.965 MB / 430.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 ($whenCondition1,$whenCondition2,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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.00115/0.5757, allocations: 317.5 kB / 0.625 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006591/0.5764, allocations: 181.8 kB / 0.6251 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/0.5933, allocations: 6.002 MB / 0.631 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.5933, allocations: 16 kB / 0.631 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.5933, allocations: 0 / 0.631 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/0.5934, allocations: 9.094 kB / 0.631 GB, free: 436 kB / 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 postOpt removeSimpleEquations (simulation): time 0.02414/0.6175, allocations: 8.219 MB / 0.639 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.6176, allocations: 1.969 kB / 0.639 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.6188, allocations: 171.8 kB / 0.6392 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0083/0.6271, allocations: 2.51 MB / 0.6417 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003899/0.6276, allocations: 27.98 kB / 0.6417 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02718/0.6548, allocations: 10.89 MB / 0.6523 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6548, allocations: 3.938 kB / 0.6523 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02108/0.6759, allocations: 7.278 MB / 0.6594 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/0.6767, allocations: 290.5 kB / 0.6597 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006311/0.6774, allocations: 35.94 kB / 0.6597 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/0.6795, allocations: 187.8 kB / 0.6599 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000918/0.6804, allocations: 277.2 kB / 0.6602 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/0.6807, allocations: 35.98 kB / 0.6602 GB, free: 2.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001923/0.6826, allocations: 1.024 MB / 0.6612 GB, free: 1.141 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.655e-06/0.6826, allocations: 0 / 0.6612 GB, free: 1.141 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002189/0.6848, allocations: 0.5737 MB / 0.6618 GB, free: 0.5664 MB / 462.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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.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 (90): * Single equations (assignments): 89 * 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.02138/0.7062, allocations: 8.028 MB / 0.6696 GB, free: 8.492 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.7166, allocations: 3.36 MB / 0.6729 GB, free: 5.125 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.7167, allocations: 3.562 kB / 0.6729 GB, free: 5.125 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007219/0.7239, allocations: 2.232 MB / 0.6751 GB, free: 2.883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.7255, allocations: 135.2 kB / 0.6752 GB, free: 2.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.7367, allocations: 7.059 MB / 0.6821 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009652/0.7377, allocations: 1.309 MB / 0.6834 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008511/0.7386, allocations: 162.4 kB / 0.6835 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.7397, allocations: 0.6516 MB / 0.6842 GB, free: 9.469 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7397, allocations: 4 kB / 0.6842 GB, free: 9.465 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4116/1.151, allocations: 40.5 MB / 0.7237 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/1.152, allocations: 198.7 kB / 0.7239 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/4.251, allocations: 0 / 0.7239 GB, free: 1.051 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1) Environment - environmentSimulation: