Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_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.001046/0.001046, allocations: 111.9 kB / 15.61 MB, free: 128 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.317/1.317, allocations: 222.9 MB / 239.3 MB, free: 4.652 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.00127/0.00127, allocations: 199.8 kB / 289.6 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5161/0.5161, allocations: 91.91 MB / 431.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001595, allocations: 75.88 kB / 0.502 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3397, allocations: 71.27 MB / 0.5716 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.006749/0.3465, allocations: 8.059 MB / 0.5794 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.3509, allocations: 2.519 MB / 0.5819 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006087/0.3515, allocations: 18.34 kB / 0.5819 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007119/0.3522, allocations: 308.8 kB / 0.5822 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.3541, allocations: 1.107 MB / 0.5833 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3553, allocations: 0.6718 MB / 0.584 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.3569, allocations: 2.127 MB / 0.586 GB, free: 27.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.3574, allocations: 392.4 kB / 0.5864 GB, free: 27.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007452/0.3581, allocations: 0.8548 MB / 0.5872 GB, free: 27.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.3593, allocations: 1.095 MB / 0.5883 GB, free: 26.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.3597, allocations: 179.5 kB / 0.5885 GB, free: 26.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.3605, allocations: 412.4 kB / 0.5889 GB, free: 26.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.361, allocations: 452.4 kB / 0.5893 GB, free: 26.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008383/0.3618, allocations: 0.8748 MB / 0.5902 GB, free: 25.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.364, allocations: 2.191 MB / 0.5923 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.364, allocations: 0 / 0.5923 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.364, allocations: 1.062 kB / 0.5923 GB, free: 24.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.3641, allocations: 3.938 kB / 0.5923 GB, free: 24.82 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.01178/0.3759, allocations: 3.505 MB / 0.5957 GB, free: 23.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3759, allocations: 8.688 kB / 0.5957 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/0.3761, allocations: 150.4 kB / 0.5959 GB, free: 23.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004436/0.3806, allocations: 0.7452 MB / 0.5966 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.3823, allocations: 1.098 MB / 0.5977 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/0.3827, allocations: 424.6 kB / 0.5981 GB, free: 21.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.3829, allocations: 105.4 kB / 0.5982 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.3856, allocations: 1.391 MB / 0.5995 GB, free: 21.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.3856, allocations: 0 / 0.5995 GB, free: 21.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.3858, allocations: 40.06 kB / 0.5996 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.3858, allocations: 22.94 kB / 0.5996 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.3886, allocations: 1.308 MB / 0.6009 GB, free: 20.95 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.008456/0.3971, allocations: 4.831 MB / 0.6056 GB, free: 18.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008173/0.4053, allocations: 2.849 MB / 0.6084 GB, free: 16.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.4071, allocations: 0.9035 MB / 0.6093 GB, free: 16.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.4072, allocations: 23.7 kB / 0.6093 GB, free: 16.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.4093, allocations: 1.041 MB / 0.6103 GB, free: 16.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.237e-06/0.4093, allocations: 0 / 0.6103 GB, free: 16.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04064/0.45, allocations: 9.673 MB / 0.6198 GB, free: 12.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.4501, allocations: 120.4 kB / 0.6199 GB, free: 12.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.4523, allocations: 1.397 MB / 0.6212 GB, free: 11.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.4526, allocations: 49.7 kB / 0.6213 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.4529, allocations: 0.5727 MB / 0.6218 GB, free: 10.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.4533, allocations: 449.6 kB / 0.6223 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/0.4538, allocations: 331.4 kB / 0.6226 GB, free: 9.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.4538, allocations: 305.1 kB / 0.6229 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.4557, allocations: 0.9604 MB / 0.6238 GB, free: 8.457 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.4576, allocations: 1.158 MB / 0.6249 GB, free: 7.254 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/0.4613, allocations: 2.05 MB / 0.6269 GB, free: 5.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.4613, allocations: 0 / 0.6269 GB, free: 5.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01617/0.4775, allocations: 5.399 MB / 0.6322 GB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.4776, allocations: 4 kB / 0.6322 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.4776, allocations: 4 kB / 0.6322 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/0.4877, allocations: 2.891 MB / 0.635 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.4892, allocations: 271.6 kB / 0.6353 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/0.4964, allocations: 2.865 MB / 0.6381 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.4989, allocations: 238.3 kB / 0.6383 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.4991, allocations: 71.97 kB / 0.6384 GB, free: 9.379 MB / 446.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.0006241/0.4997, allocations: 294.6 kB / 0.6387 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.5, allocations: 154 kB / 0.6388 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.516, allocations: 4.737 MB / 0.6435 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.516, allocations: 15.94 kB / 0.6435 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.516, allocations: 0 / 0.6435 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/0.5161, allocations: 7.969 kB / 0.6435 GB, free: 4.137 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.01889/0.535, allocations: 6.803 MB / 0.6501 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.535, allocations: 0 / 0.6501 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/0.5358, allocations: 135.8 kB / 0.6502 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007629/0.5434, allocations: 2.15 MB / 0.6523 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.5436, allocations: 24 kB / 0.6524 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02728/0.5709, allocations: 10.09 MB / 0.6622 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.5709, allocations: 0 / 0.6622 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02003/0.591, allocations: 5.871 MB / 0.668 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009459/0.592, allocations: 266.9 kB / 0.6682 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000592/0.5926, allocations: 27.94 kB / 0.6682 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/0.5946, allocations: 131.8 kB / 0.6684 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009796/0.5956, allocations: 257.1 kB / 0.6686 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/0.5958, allocations: 32 kB / 0.6686 GB, free: 10.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002008/0.5978, allocations: 0.9379 MB / 0.6696 GB, free: 9.086 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5978, allocations: 4 kB / 0.6696 GB, free: 9.082 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002267/0.6001, allocations: 0.5229 MB / 0.6701 GB, free: 8.559 MB / 478.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.02004/0.6201, allocations: 6.47 MB / 0.6764 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01054/0.6307, allocations: 2.884 MB / 0.6792 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.6308, allocations: 0 / 0.6792 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006947/0.6377, allocations: 1.91 MB / 0.6811 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.64, allocations: 135 kB / 0.6812 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05203/0.6921, allocations: 19.8 MB / 0.7005 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009543/0.6931, allocations: 1.211 MB / 0.7017 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008632/0.694, allocations: 145.6 kB / 0.7019 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.695, allocations: 0.5968 MB / 0.7024 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.695, allocations: 0 / 0.7024 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08598/0.781, allocations: 42.6 MB / 0.744 GB, free: 12.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.81, allocations: 9.938 kB / 0.744 GB, free: 12.04 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)