Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.1058/0.1058, allocations: 12.6 MB / 28.1 MB, free: 128 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.001294/0.001294, allocations: 107.5 kB / 31.7 MB, free: 3.484 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.444/1.444, 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.001549/0.001549, allocations: 195.2 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4352/0.4352, allocations: 78.5 MB / 419.2 MB, free: 11.36 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.002908/0.002908, allocations: 143.8 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3171, allocations: 68.1 MB / 0.5547 GB, free: 32.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.009234/0.3264, allocations: 8.09 MB / 0.5626 GB, free: 26.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006404/0.3328, allocations: 2.49 MB / 0.565 GB, free: 24.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.3349, allocations: 12.62 kB / 0.565 GB, free: 24.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3361, allocations: 313.3 kB / 0.5653 GB, free: 24.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.3396, allocations: 1.192 MB / 0.5665 GB, free: 23.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.3411, allocations: 0.6674 MB / 0.5671 GB, free: 22.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.3438, allocations: 2.272 MB / 0.5694 GB, free: 21.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006229/0.3444, allocations: 394.3 kB / 0.5697 GB, free: 21.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3457, allocations: 0.8614 MB / 0.5706 GB, free: 20.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.3469, allocations: 1.103 MB / 0.5717 GB, free: 20.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000336/0.3473, allocations: 175 kB / 0.5718 GB, free: 20.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.3482, allocations: 402.6 kB / 0.5722 GB, free: 19.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004004/0.3486, allocations: 459.7 kB / 0.5726 GB, free: 19.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007861/0.3494, allocations: 0.8795 MB / 0.5735 GB, free: 18.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.3515, allocations: 2.201 MB / 0.5756 GB, free: 17.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3515, allocations: 0 / 0.5756 GB, free: 17.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3515, allocations: 0 / 0.5756 GB, free: 17.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.3516, allocations: 0 / 0.5756 GB, free: 17.2 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01315/0.3647, allocations: 3.717 MB / 0.5793 GB, free: 14.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3648, allocations: 11.98 kB / 0.5793 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.365, allocations: 147.8 kB / 0.5794 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004325/0.3693, allocations: 0.751 MB / 0.5802 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.3712, allocations: 1.096 MB / 0.5812 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/0.3715, allocations: 420.7 kB / 0.5816 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.3717, allocations: 119.8 kB / 0.5817 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.3741, allocations: 1.385 MB / 0.5831 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3741, allocations: 3.984 kB / 0.5831 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.3742, allocations: 40 kB / 0.5831 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.3743, allocations: 20 kB / 0.5832 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.3767, allocations: 1.316 MB / 0.5844 GB, free: 8.781 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.007215/0.3839, allocations: 4.825 MB / 0.5892 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007321/0.3913, allocations: 2.846 MB / 0.5919 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.393, allocations: 0.9073 MB / 0.5928 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.3931, allocations: 20.91 kB / 0.5928 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002088/0.3952, allocations: 1.042 MB / 0.5939 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.387e-06/0.3953, allocations: 4 kB / 0.5939 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.03958/0.4348, allocations: 9.668 MB / 0.6033 GB, free: 5.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.435, allocations: 115.8 kB / 0.6034 GB, free: 4.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.4372, allocations: 1.39 MB / 0.6048 GB, free: 3.496 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.4375, allocations: 61.75 kB / 0.6048 GB, free: 3.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.438, allocations: 0.5766 MB / 0.6054 GB, free: 2.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/0.4385, allocations: 441.7 kB / 0.6058 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006001/0.4391, allocations: 335.4 kB / 0.6061 GB, free: 2.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4392, allocations: 301.1 kB / 0.6064 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.4413, allocations: 0.9565 MB / 0.6074 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.4436, allocations: 1.162 MB / 0.6085 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/0.448, allocations: 2.042 MB / 0.6105 GB, free: 13.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.4481, allocations: 4 kB / 0.6105 GB, free: 13.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01772/0.4658, allocations: 5.399 MB / 0.6158 GB, free: 8.109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.4659, allocations: 8 kB / 0.6158 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.4659, allocations: 4 kB / 0.6158 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009809/0.4757, allocations: 2.883 MB / 0.6186 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.4773, allocations: 279.6 kB / 0.6189 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006975/0.4843, allocations: 2.857 MB / 0.6216 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.4868, allocations: 246.3 kB / 0.6219 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.487, allocations: 67.97 kB / 0.6219 GB, free: 1.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006552/0.4876, allocations: 289.5 kB / 0.6222 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.488, allocations: 158 kB / 0.6224 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/0.5041, allocations: 4.729 MB / 0.627 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.5041, allocations: 16 kB / 0.627 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.619e-06/0.5042, allocations: 0 / 0.627 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.5042, allocations: 7.969 kB / 0.627 GB, free: 12.52 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.01963/0.5238, allocations: 6.803 MB / 0.6337 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.5239, allocations: 0 / 0.6337 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00095/0.5249, allocations: 135.8 kB / 0.6338 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007781/0.5327, allocations: 2.157 MB / 0.6359 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002877/0.533, allocations: 24 kB / 0.6359 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02615/0.5592, allocations: 10.07 MB / 0.6458 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.5592, allocations: 4 kB / 0.6458 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/0.5779, allocations: 5.875 MB / 0.6515 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006767/0.5786, allocations: 262.9 kB / 0.6517 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.5789, allocations: 23.94 kB / 0.6518 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.5805, allocations: 135.8 kB / 0.6519 GB, free: 2.699 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007821/0.5813, allocations: 261.1 kB / 0.6522 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-05/0.5814, allocations: 35.98 kB / 0.6522 GB, free: 2.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.5828, allocations: 0.9379 MB / 0.6531 GB, free: 1.473 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5828, allocations: 0 / 0.6531 GB, free: 1.473 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001453/0.5843, allocations: 0.519 MB / 0.6536 GB, free: 0.9531 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.01906/0.6033, allocations: 6.471 MB / 0.6599 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009652/0.613, allocations: 2.885 MB / 0.6627 GB, free: 7.551 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.6131, allocations: 3.938 kB / 0.6627 GB, free: 7.547 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006393/0.6195, allocations: 1.914 MB / 0.6646 GB, free: 5.621 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.6208, allocations: 139 kB / 0.6647 GB, free: 5.484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04472/0.6656, allocations: 19.81 MB / 0.6841 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/0.6665, allocations: 1.208 MB / 0.6853 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007489/0.6672, allocations: 137.7 kB / 0.6854 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/0.6681, allocations: 0.5969 MB / 0.686 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.6681, allocations: 0 / 0.686 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3144/0.9825, allocations: 42.6 MB / 0.7276 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.2, allocations: 12.98 kB / 0.7276 GB, free: 148.4 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)