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/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/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/package.mo): time 0.09254/0.09254, allocations: 12.21 MB / 27.33 MB, free: 1.441 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 119.4 kB / 30.84 MB, free: 4.711 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.359/1.359, allocations: 205.1 MB / 239.3 MB, free: 11.02 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.001304/0.001304, allocations: 200.4 kB / 289.5 MB, free: 15.9 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5044/0.5044, allocations: 78.51 MB / 418 MB, free: 31.81 MB / 318.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.002909, allocations: 127.8 kB / 498.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4327, allocations: 68.03 MB / 0.5531 GB, free: 37.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.008278/0.441, allocations: 8.431 MB / 0.5613 GB, free: 31.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005809/0.4469, allocations: 2.54 MB / 0.5638 GB, free: 29.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.4484, allocations: 13.72 kB / 0.5638 GB, free: 29.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.4494, allocations: 247.1 kB / 0.564 GB, free: 29.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.4524, allocations: 1.07 MB / 0.5651 GB, free: 29.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.4539, allocations: 0.6168 MB / 0.5657 GB, free: 28.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002853/0.4568, allocations: 2.158 MB / 0.5678 GB, free: 27.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.4575, allocations: 357.5 kB / 0.5681 GB, free: 27.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.459, allocations: 0.7825 MB / 0.5689 GB, free: 27.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.4605, allocations: 1.041 MB / 0.5699 GB, free: 26.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.4607, allocations: 103.8 kB / 0.57 GB, free: 26.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008222/0.4616, allocations: 328.2 kB / 0.5703 GB, free: 26.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.4619, allocations: 379.9 kB / 0.5707 GB, free: 26.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007161/0.4626, allocations: 0.8136 MB / 0.5715 GB, free: 25.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.4644, allocations: 2.136 MB / 0.5736 GB, free: 24.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4644, allocations: 0 / 0.5736 GB, free: 24.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4644, allocations: 0 / 0.5736 GB, free: 24.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.4644, allocations: 0 / 0.5736 GB, free: 24.99 MB / 414.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.01409/0.4785, allocations: 3.717 MB / 0.5772 GB, free: 23.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.182e-05/0.4786, allocations: 14.39 kB / 0.5772 GB, free: 23.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/0.479, allocations: 150.3 kB / 0.5774 GB, free: 23.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.484, allocations: 0.7442 MB / 0.5781 GB, free: 23.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.4866, allocations: 1.099 MB / 0.5792 GB, free: 22.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004984/0.4871, allocations: 424.8 kB / 0.5796 GB, free: 22.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.4874, allocations: 113.5 kB / 0.5797 GB, free: 22.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003691/0.4911, allocations: 1.38 MB / 0.581 GB, free: 21.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.4911, allocations: 9.734 kB / 0.581 GB, free: 21.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.4913, allocations: 35.56 kB / 0.5811 GB, free: 21.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.4913, allocations: 22.38 kB / 0.5811 GB, free: 21.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.4949, allocations: 1.306 MB / 0.5824 GB, free: 21.1 MB / 414.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.01122/0.5061, allocations: 4.83 MB / 0.5871 GB, free: 18.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008725/0.5149, allocations: 2.852 MB / 0.5899 GB, free: 16.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/0.5169, allocations: 0.9115 MB / 0.5908 GB, free: 16.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.5171, allocations: 17.36 kB / 0.5908 GB, free: 16.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002363/0.5195, allocations: 1.042 MB / 0.5918 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.947e-06/0.5195, allocations: 0 / 0.5918 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.04073/0.5602, allocations: 9.678 MB / 0.6012 GB, free: 9.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.5604, allocations: 115.8 kB / 0.6013 GB, free: 8.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/0.5639, allocations: 1.394 MB / 0.6027 GB, free: 7.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006295/0.5646, allocations: 49.7 kB / 0.6028 GB, free: 7.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006186/0.5652, allocations: 0.5727 MB / 0.6033 GB, free: 6.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.5663, allocations: 449.6 kB / 0.6037 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/0.5679, allocations: 331.4 kB / 0.6041 GB, free: 6.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.568, allocations: 301.1 kB / 0.6043 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.5702, allocations: 0.9643 MB / 0.6053 GB, free: 4.844 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.5726, allocations: 1.155 MB / 0.6064 GB, free: 3.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/0.5769, allocations: 2.05 MB / 0.6084 GB, free: 1.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.5769, allocations: 0 / 0.6084 GB, free: 1.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01801/0.5949, allocations: 5.399 MB / 0.6137 GB, free: 12.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.595, allocations: 4 kB / 0.6137 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.595, allocations: 4 kB / 0.6137 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009899/0.6049, allocations: 2.883 MB / 0.6165 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.6065, allocations: 271.6 kB / 0.6168 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007327/0.6139, allocations: 2.865 MB / 0.6196 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.617, allocations: 242.3 kB / 0.6198 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004493/0.6175, allocations: 67.92 kB / 0.6199 GB, free: 5.781 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.001272/0.6188, allocations: 297.5 kB / 0.6201 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007849/0.6196, allocations: 154 kB / 0.6203 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/0.6356, allocations: 4.746 MB / 0.6249 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.6357, allocations: 12 kB / 0.6249 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.6357, allocations: 0 / 0.6249 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.049e-05/0.6358, allocations: 7.969 kB / 0.6249 GB, free: 0.5352 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 postOpt removeSimpleEquations (simulation): time 0.02142/0.6572, allocations: 6.792 MB / 0.6316 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.6573, allocations: 0 / 0.6316 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009478/0.6582, allocations: 139.8 kB / 0.6317 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00755/0.6658, allocations: 2.146 MB / 0.6338 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002976/0.6661, allocations: 24 kB / 0.6338 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02573/0.6919, allocations: 9.198 MB / 0.6428 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.692, allocations: 0 / 0.6428 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/0.7114, allocations: 5.859 MB / 0.6485 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/0.7125, allocations: 274.7 kB / 0.6488 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008589/0.7134, allocations: 28 kB / 0.6488 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/0.7158, allocations: 135.8 kB / 0.649 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/0.717, allocations: 249 kB / 0.6492 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/0.7173, allocations: 31.98 kB / 0.6492 GB, free: 7.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002047/0.7194, allocations: 0.9379 MB / 0.6501 GB, free: 6.402 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.7194, allocations: 0 / 0.6501 GB, free: 6.402 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002446/0.7218, allocations: 0.5191 MB / 0.6506 GB, free: 5.883 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.01877/0.7406, allocations: 6.477 MB / 0.657 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00956/0.7502, allocations: 2.806 MB / 0.6597 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.7503, allocations: 4 kB / 0.6597 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006321/0.7566, allocations: 1.865 MB / 0.6615 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.7591, allocations: 136.2 kB / 0.6617 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05335/0.8124, allocations: 20.27 MB / 0.6815 GB, free: 5.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.8137, allocations: 1.215 MB / 0.6826 GB, free: 4.227 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.8148, allocations: 137.7 kB / 0.6828 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/0.8161, allocations: 0.5891 MB / 0.6834 GB, free: 3.504 MB / 494.1 MB Notification: Performance of SimCode: time 1.984e-06/0.8161, allocations: 4 kB / 0.6834 GB, free: 3.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08085/0.8969, allocations: 39.42 MB / 0.7219 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.8972, allocations: 211.8 kB / 0.7221 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.163/4.06, allocations: 0 / 0.7221 GB, free: 11.89 MB / 0.5294 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)