Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 239.2 MB, free: 4.617 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.001201/0.001201, allocations: 192.5 kB / 289.6 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4308/0.4308, allocations: 78.54 MB / 418.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 75.88 kB / 497.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 68.18 MB / 0.5525 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.1953/0.3104, allocations: 8.03 MB / 0.5603 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.3149, allocations: 2.519 MB / 0.5628 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.3156, allocations: 14.97 kB / 0.5628 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007484/0.3164, allocations: 311.4 kB / 0.5631 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.3192, allocations: 1.187 MB / 0.5642 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.3207, allocations: 0.6671 MB / 0.5649 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00221/0.3229, allocations: 2.265 MB / 0.5671 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.3234, allocations: 401.5 kB / 0.5675 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007645/0.3242, allocations: 0.8627 MB / 0.5683 GB, free: 33.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008501/0.3251, allocations: 1.104 MB / 0.5694 GB, free: 33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.3253, allocations: 175.4 kB / 0.5696 GB, free: 33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006375/0.326, allocations: 407.9 kB / 0.57 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.3263, allocations: 456.6 kB / 0.5704 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005287/0.3268, allocations: 0.8775 MB / 0.5713 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.3282, allocations: 2.199 MB / 0.5734 GB, free: 32.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3283, allocations: 3.938 kB / 0.5734 GB, free: 32.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3283, allocations: 1 kB / 0.5734 GB, free: 32.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.3283, allocations: 0 / 0.5734 GB, free: 32.09 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01257/0.3409, allocations: 3.723 MB / 0.5771 GB, free: 31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3409, allocations: 8.719 kB / 0.5771 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.3411, allocations: 152.5 kB / 0.5772 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/0.3455, allocations: 0.7448 MB / 0.5779 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.3472, allocations: 1.094 MB / 0.579 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.3476, allocations: 422.4 kB / 0.5794 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.3478, allocations: 111.2 kB / 0.5795 GB, free: 29.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.3503, allocations: 1.381 MB / 0.5809 GB, free: 29.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.3503, allocations: 0 / 0.5809 GB, free: 29.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.3504, allocations: 44.12 kB / 0.5809 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.3505, allocations: 28.59 kB / 0.5809 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.3531, allocations: 1.307 MB / 0.5822 GB, free: 28.82 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.007487/0.3606, allocations: 4.831 MB / 0.5869 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007969/0.3685, allocations: 2.85 MB / 0.5897 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.3704, allocations: 0.8954 MB / 0.5906 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.3705, allocations: 21.56 kB / 0.5906 GB, free: 24.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002016/0.3725, allocations: 1.041 MB / 0.5916 GB, free: 24.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.246e-06/0.3725, allocations: 1.094 kB / 0.5916 GB, free: 24.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04073/0.4133, allocations: 9.669 MB / 0.6011 GB, free: 22.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.4133, allocations: 120.8 kB / 0.6012 GB, free: 22.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.4155, allocations: 1.399 MB / 0.6025 GB, free: 21.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.4158, allocations: 51.7 kB / 0.6026 GB, free: 21.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.4161, allocations: 0.5729 MB / 0.6032 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004297/0.4165, allocations: 443.9 kB / 0.6036 GB, free: 20.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007955/0.4173, allocations: 331.6 kB / 0.6039 GB, free: 20.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.4174, allocations: 302.2 kB / 0.6042 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.4194, allocations: 0.9633 MB / 0.6051 GB, free: 20.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.4215, allocations: 1.158 MB / 0.6062 GB, free: 19.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/0.4255, allocations: 2.059 MB / 0.6083 GB, free: 18.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.4255, allocations: 1.406 kB / 0.6083 GB, free: 18.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01657/0.442, allocations: 5.395 MB / 0.6135 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4421, allocations: 6.344 kB / 0.6135 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4421, allocations: 3.562 kB / 0.6135 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008918/0.451, allocations: 2.884 MB / 0.6164 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.4523, allocations: 284.2 kB / 0.6166 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006019/0.4584, allocations: 2.861 MB / 0.6194 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.4606, allocations: 246.3 kB / 0.6197 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.4608, allocations: 63.98 kB / 0.6197 GB, free: 9.82 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.0005795/0.4614, allocations: 294.1 kB / 0.62 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.4617, allocations: 158.5 kB / 0.6201 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.4764, allocations: 4.73 MB / 0.6248 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.4764, allocations: 12 kB / 0.6248 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4764, allocations: 4 kB / 0.6248 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.4764, allocations: 12.67 kB / 0.6248 GB, free: 4.59 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.01732/0.4938, allocations: 6.796 MB / 0.6314 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.4938, allocations: 2.281 kB / 0.6314 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008772/0.4947, allocations: 135.8 kB / 0.6316 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007668/0.5024, allocations: 2.147 MB / 0.6337 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/0.5026, allocations: 24.62 kB / 0.6337 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02585/0.5284, allocations: 10.08 MB / 0.6435 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5285, allocations: 0.625 kB / 0.6435 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01817/0.5467, allocations: 5.859 MB / 0.6493 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006889/0.5474, allocations: 274.7 kB / 0.6495 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.5477, allocations: 28.11 kB / 0.6495 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.5493, allocations: 139.8 kB / 0.6497 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007808/0.55, allocations: 258.5 kB / 0.6499 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.875e-05/0.5502, allocations: 32 kB / 0.65 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001489/0.5516, allocations: 0.9379 MB / 0.6509 GB, free: 9.547 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5517, allocations: 0 / 0.6509 GB, free: 9.547 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001377/0.553, allocations: 0.5229 MB / 0.6514 GB, free: 9.023 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.01846/0.5715, allocations: 6.474 MB / 0.6577 GB, free: 2.504 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009537/0.5811, allocations: 2.879 MB / 0.6605 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5811, allocations: 3.938 kB / 0.6605 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006277/0.5874, allocations: 1.9 MB / 0.6624 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.5887, allocations: 136.3 kB / 0.6625 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04343/0.6321, allocations: 19.8 MB / 0.6818 GB, free: 9.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.6329, allocations: 1.221 MB / 0.683 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000577/0.6335, allocations: 137.2 kB / 0.6832 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/0.6343, allocations: 0.5891 MB / 0.6837 GB, free: 7.09 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6344, allocations: 4 kB / 0.6837 GB, free: 7.086 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06922/0.7036, allocations: 42.58 MB / 0.7253 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.07, allocations: 16.83 kB / 0.7253 GB, free: 12.77 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)