Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.09214/0.09214, allocations: 12.6 MB / 28.1 MB, free: 136 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.001065/0.001065, allocations: 111.5 kB / 31.7 MB, free: 3.48 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.366/1.366, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001277/0.001277, allocations: 196.5 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.4555/0.4555, allocations: 78.51 MB / 419.2 MB, free: 11.33 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.002939/0.002939, allocations: 145 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.306, allocations: 68.12 MB / 0.5547 GB, free: 32.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.008383/0.3144, allocations: 8.762 MB / 0.5632 GB, free: 26.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.3203, allocations: 2.748 MB / 0.5659 GB, free: 23.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.3222, allocations: 14.41 kB / 0.5659 GB, free: 23.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.3234, allocations: 345.2 kB / 0.5663 GB, free: 23.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.3272, allocations: 1.226 MB / 0.5675 GB, free: 22.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.3291, allocations: 0.7983 MB / 0.5683 GB, free: 22.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00324/0.3323, allocations: 2.507 MB / 0.5707 GB, free: 20.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007198/0.333, allocations: 487.3 kB / 0.5712 GB, free: 20.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.3344, allocations: 0.9469 MB / 0.5721 GB, free: 19.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.3356, allocations: 1.197 MB / 0.5733 GB, free: 18.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.336, allocations: 204.3 kB / 0.5735 GB, free: 18.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.3371, allocations: 470 kB / 0.5739 GB, free: 18.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.3375, allocations: 0.4976 MB / 0.5744 GB, free: 18.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008111/0.3383, allocations: 0.9756 MB / 0.5753 GB, free: 17.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.3407, allocations: 2.515 MB / 0.5778 GB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3407, allocations: 5.094 kB / 0.5778 GB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3407, allocations: 0 / 0.5778 GB, free: 15.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.3407, allocations: 0 / 0.5778 GB, free: 15.59 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01387/0.3546, allocations: 4.014 MB / 0.5817 GB, free: 11.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3547, allocations: 15.98 kB / 0.5817 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.3549, allocations: 164.5 kB / 0.5819 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004578/0.3595, allocations: 0.7625 MB / 0.5826 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.3614, allocations: 1.211 MB / 0.5838 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.3618, allocations: 466.2 kB / 0.5843 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.362, allocations: 116 kB / 0.5844 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.3645, allocations: 1.495 MB / 0.5858 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3646, allocations: 8 kB / 0.5858 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.3647, allocations: 40 kB / 0.5859 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.3647, allocations: 27.94 kB / 0.5859 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.3674, allocations: 1.39 MB / 0.5873 GB, free: 5.828 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.008383/0.3758, allocations: 5.359 MB / 0.5925 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00869/0.3845, allocations: 2.994 MB / 0.5954 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/0.3867, allocations: 0.9362 MB / 0.5963 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.3873, allocations: 0.7336 MB / 0.5971 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002202/0.3896, allocations: 1.094 MB / 0.5981 GB, free: 10.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.627e-06/0.3896, allocations: 0 / 0.5981 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=132): time 0.04181/0.4314, allocations: 9.927 MB / 0.6078 GB, free: 180 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.4315, allocations: 120.1 kB / 0.6079 GB, free: 36 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.4343, allocations: 1.543 MB / 0.6094 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.4346, allocations: 49.7 kB / 0.6095 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.4352, allocations: 0.6436 MB / 0.6101 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006332/0.4358, allocations: 493 kB / 0.6106 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.4369, allocations: 375.5 kB / 0.6109 GB, free: 12.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.437, allocations: 301.1 kB / 0.6112 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.4393, allocations: 1.035 MB / 0.6122 GB, free: 11.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.4418, allocations: 1.255 MB / 0.6135 GB, free: 10.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.4464, allocations: 2.197 MB / 0.6156 GB, free: 8.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.4465, allocations: 4 kB / 0.6156 GB, free: 8.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009825/0.4563, allocations: 3.824 MB / 0.6193 GB, free: 4.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.4563, allocations: 4 kB / 0.6194 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.75e-05/0.4564, allocations: 8 kB / 0.6194 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009881/0.4663, allocations: 2.679 MB / 0.622 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.468, allocations: 359.5 kB / 0.6223 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006522/0.4745, allocations: 2.692 MB / 0.6249 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/0.4771, allocations: 262.1 kB / 0.6252 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/0.4774, allocations: 75.97 kB / 0.6253 GB, free: 14.07 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,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * 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.00079/0.4782, allocations: 321.5 kB / 0.6256 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004893/0.4787, allocations: 169.8 kB / 0.6257 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/0.4954, allocations: 4.837 MB / 0.6305 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.4954, allocations: 16 kB / 0.6305 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4955, allocations: 7.938 kB / 0.6305 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.4955, allocations: 7.969 kB / 0.6305 GB, free: 8.691 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.02058/0.5161, allocations: 7.051 MB / 0.6374 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/0.5161, allocations: 0 / 0.6374 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5173, allocations: 167.8 kB / 0.6375 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008081/0.5254, allocations: 2.142 MB / 0.6396 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003293/0.5258, allocations: 39.92 kB / 0.6397 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02721/0.553, allocations: 10.06 MB / 0.6495 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.553, allocations: 0 / 0.6495 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/0.5727, allocations: 6.064 MB / 0.6554 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000731/0.5734, allocations: 290.5 kB / 0.6557 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/0.574, allocations: 28 kB / 0.6557 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.576, allocations: 139.8 kB / 0.6559 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009236/0.5769, allocations: 261.4 kB / 0.6561 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.5771, allocations: 32 kB / 0.6561 GB, free: 14.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001923/0.579, allocations: 1.028 MB / 0.6571 GB, free: 13.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5791, allocations: 0 / 0.6571 GB, free: 13.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001994/0.5811, allocations: 0.562 MB / 0.6577 GB, free: 12.5 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.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 (89): * Single equations (assignments): 88 * 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.02002/0.6011, allocations: 6.692 MB / 0.6642 GB, free: 5.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/0.6116, allocations: 3.049 MB / 0.6672 GB, free: 2.719 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6117, allocations: 0 / 0.6672 GB, free: 2.719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006506/0.6182, allocations: 1.962 MB / 0.6691 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.62, allocations: 157.6 kB / 0.6693 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05799/0.678, allocations: 23.22 MB / 0.6919 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.6792, allocations: 1.274 MB / 0.6932 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008468/0.68, allocations: 150.8 kB / 0.6933 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.6812, allocations: 0.6594 MB / 0.694 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.6812, allocations: 7.938 kB / 0.694 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.304/0.9852, allocations: 45.67 MB / 0.7386 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.54, allocations: 2.125 kB / 0.7386 GB, free: 140.9 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)