Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09366/0.09366, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 188.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4774/0.4774, allocations: 78.51 MB / 419.2 MB, free: 11.31 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 136.7 kB / 499.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3294, allocations: 68.11 MB / 0.5547 GB, free: 32.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.009875/0.3393, allocations: 8.792 MB / 0.5633 GB, free: 26.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006521/0.3459, allocations: 2.82 MB / 0.566 GB, free: 23.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.348, allocations: 19.19 kB / 0.566 GB, free: 23.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.3492, allocations: 337.5 kB / 0.5664 GB, free: 23.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.353, allocations: 1.237 MB / 0.5676 GB, free: 22.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.3551, allocations: 0.851 MB / 0.5684 GB, free: 21.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003368/0.3585, allocations: 2.548 MB / 0.5709 GB, free: 20.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000766/0.3593, allocations: 498.2 kB / 0.5714 GB, free: 19.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.3607, allocations: 0.9667 MB / 0.5723 GB, free: 19.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.3619, allocations: 1.206 MB / 0.5735 GB, free: 18.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.3622, allocations: 202 kB / 0.5737 GB, free: 18.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3633, allocations: 473.8 kB / 0.5741 GB, free: 18.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.3636, allocations: 0.5017 MB / 0.5746 GB, free: 17.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007944/0.3644, allocations: 0.9889 MB / 0.5756 GB, free: 17.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.3669, allocations: 2.542 MB / 0.5781 GB, free: 15.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3669, allocations: 5.125 kB / 0.5781 GB, free: 15.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3669, allocations: 4 kB / 0.5781 GB, free: 15.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.29e-05/0.367, allocations: 0 / 0.5781 GB, free: 15.25 MB / 398.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.01369/0.3807, allocations: 4.049 MB / 0.582 GB, free: 11.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.3807, allocations: 15.98 kB / 0.5821 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.3809, allocations: 164.5 kB / 0.5822 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004311/0.3852, allocations: 0.7664 MB / 0.583 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.3871, allocations: 1.212 MB / 0.5841 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.3875, allocations: 466.2 kB / 0.5846 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.3877, allocations: 123.8 kB / 0.5847 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.3902, allocations: 1.523 MB / 0.5862 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3902, allocations: 3.938 kB / 0.5862 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.3904, allocations: 40 kB / 0.5862 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3904, allocations: 32 kB / 0.5863 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.393, allocations: 1.421 MB / 0.5877 GB, free: 5.426 MB / 398.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.007919/0.401, allocations: 5.406 MB / 0.5929 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008581/0.4096, allocations: 3.066 MB / 0.5959 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.4117, allocations: 0.9712 MB / 0.5969 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.4123, allocations: 0.7336 MB / 0.5976 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002509/0.4148, allocations: 1.122 MB / 0.5987 GB, free: 9.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 5.42e-06/0.4149, allocations: 0 / 0.5987 GB, free: 9.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.04044/0.4553, allocations: 9.756 MB / 0.6082 GB, free: 15.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.4554, allocations: 116.1 kB / 0.6083 GB, free: 15.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/0.4586, allocations: 1.543 MB / 0.6098 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004671/0.4591, allocations: 53.64 kB / 0.6099 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007179/0.4598, allocations: 0.6555 MB / 0.6105 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009033/0.4607, allocations: 485.1 kB / 0.611 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/0.4622, allocations: 375.4 kB / 0.6113 GB, free: 12.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.4623, allocations: 305.1 kB / 0.6116 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002573/0.4649, allocations: 1.046 MB / 0.6127 GB, free: 11.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/0.4676, allocations: 1.27 MB / 0.6139 GB, free: 9.816 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/0.4725, allocations: 2.231 MB / 0.6161 GB, free: 7.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.4726, allocations: 4 kB / 0.6161 GB, free: 7.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01014/0.4827, allocations: 3.824 MB / 0.6198 GB, free: 3.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.4828, allocations: 15.94 kB / 0.6198 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/0.4828, allocations: 7.984 kB / 0.6198 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009708/0.4926, allocations: 2.687 MB / 0.6225 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.4944, allocations: 355.5 kB / 0.6228 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006766/0.5012, allocations: 2.696 MB / 0.6254 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.5043, allocations: 274.1 kB / 0.6257 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/0.5047, allocations: 75.97 kB / 0.6258 GB, free: 13.55 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,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 (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.001042/0.5058, allocations: 317.5 kB / 0.6261 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000631/0.5064, allocations: 177.8 kB / 0.6262 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01687/0.5233, allocations: 4.958 MB / 0.6311 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.5234, allocations: 12 kB / 0.6311 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.5234, allocations: 0 / 0.6311 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.876e-05/0.5235, allocations: 11.97 kB / 0.6311 GB, free: 8.059 MB / 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.0213/0.5448, allocations: 7.113 MB / 0.638 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/0.5448, allocations: 3.938 kB / 0.6381 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.5461, allocations: 171.8 kB / 0.6382 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007847/0.5539, allocations: 2.146 MB / 0.6403 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003549/0.5543, allocations: 31.98 kB / 0.6403 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02669/0.581, allocations: 10.08 MB / 0.6502 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5811, allocations: 0 / 0.6502 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/0.6009, allocations: 6.122 MB / 0.6562 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008495/0.6017, allocations: 290.5 kB / 0.6564 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006741/0.6024, allocations: 28 kB / 0.6565 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/0.6046, allocations: 151.8 kB / 0.6566 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00101/0.6056, allocations: 265.4 kB / 0.6569 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/0.6058, allocations: 39.98 kB / 0.6569 GB, free: 13.29 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001994/0.6078, allocations: 1.032 MB / 0.6579 GB, free: 12.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6079, allocations: 0 / 0.6579 GB, free: 12.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002257/0.6101, allocations: 0.5659 MB / 0.6585 GB, free: 11.7 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,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 (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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01999/0.6301, allocations: 6.748 MB / 0.6651 GB, free: 4.914 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01071/0.6409, allocations: 3.088 MB / 0.6681 GB, free: 1.828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.6409, allocations: 0 / 0.6681 GB, free: 1.828 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006692/0.6476, allocations: 1.997 MB / 0.67 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.6497, allocations: 166.8 kB / 0.6702 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05976/0.7095, allocations: 23.42 MB / 0.6931 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.7107, allocations: 1.274 MB / 0.6943 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009689/0.7117, allocations: 166.8 kB / 0.6945 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.7129, allocations: 0.6593 MB / 0.6951 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.7129, allocations: 0 / 0.6951 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3357/1.049, allocations: 46.13 MB / 0.7402 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.37, allocations: 8.922 kB / 0.7402 GB, free: 139.6 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)