Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.001529/0.001529, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 239 MB, free: 4.758 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.001285/0.001285, allocations: 199.4 kB / 289.3 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5616/0.5616, allocations: 91.9 MB / 431.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 79.89 kB / 0.5015 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3684, allocations: 71.26 MB / 0.5711 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.007829/0.3762, allocations: 8.617 MB / 0.5795 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.3815, allocations: 2.594 MB / 0.582 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.3829, allocations: 15.19 kB / 0.5821 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009701/0.3839, allocations: 248.9 kB / 0.5823 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.3866, allocations: 0.9865 MB / 0.5833 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.388, allocations: 0.6295 MB / 0.5839 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.3904, allocations: 2.19 MB / 0.586 GB, free: 27.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006154/0.391, allocations: 416.4 kB / 0.5864 GB, free: 27.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.3922, allocations: 0.8886 MB / 0.5873 GB, free: 26.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3934, allocations: 1.121 MB / 0.5884 GB, free: 26.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.3937, allocations: 182.2 kB / 0.5885 GB, free: 26.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009329/0.3947, allocations: 412.7 kB / 0.5889 GB, free: 26.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.3951, allocations: 462.7 kB / 0.5894 GB, free: 25.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008054/0.3959, allocations: 0.9189 MB / 0.5903 GB, free: 25.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.3983, allocations: 2.256 MB / 0.5925 GB, free: 24.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3983, allocations: 0 / 0.5925 GB, free: 24.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3983, allocations: 1.062 kB / 0.5925 GB, free: 24.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.3983, allocations: 0 / 0.5925 GB, free: 24.23 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01322/0.4116, allocations: 3.552 MB / 0.5959 GB, free: 22.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/0.4117, allocations: 9.344 kB / 0.596 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.4119, allocations: 158.1 kB / 0.5961 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.4168, allocations: 0.7453 MB / 0.5968 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.419, allocations: 1.112 MB / 0.5979 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004281/0.4195, allocations: 431.8 kB / 0.5983 GB, free: 21.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.4197, allocations: 112.2 kB / 0.5984 GB, free: 21.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/0.4231, allocations: 1.433 MB / 0.5998 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.4231, allocations: 0.8125 kB / 0.5998 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.4232, allocations: 39.97 kB / 0.5999 GB, free: 20.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.4233, allocations: 24.19 kB / 0.5999 GB, free: 20.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/0.4264, allocations: 1.349 MB / 0.6012 GB, free: 20.29 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.009986/0.4364, allocations: 4.935 MB / 0.606 GB, free: 17.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008868/0.4453, allocations: 2.893 MB / 0.6089 GB, free: 16.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.4474, allocations: 0.9312 MB / 0.6098 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.4476, allocations: 18.98 kB / 0.6098 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002309/0.4499, allocations: 1.063 MB / 0.6108 GB, free: 15.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.066e-06/0.4499, allocations: 0 / 0.6108 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04308/0.493, allocations: 9.791 MB / 0.6204 GB, free: 11.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.4931, allocations: 119.8 kB / 0.6205 GB, free: 11.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.4958, allocations: 1.415 MB / 0.6219 GB, free: 10.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004071/0.4962, allocations: 57.64 kB / 0.6219 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.4967, allocations: 0.6001 MB / 0.6225 GB, free: 9.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006988/0.4974, allocations: 461.4 kB / 0.623 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.4986, allocations: 331.4 kB / 0.6233 GB, free: 8.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.4986, allocations: 301.1 kB / 0.6236 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.5008, allocations: 0.98 MB / 0.6245 GB, free: 7.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.5031, allocations: 1.174 MB / 0.6257 GB, free: 6.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00421/0.5073, allocations: 2.074 MB / 0.6277 GB, free: 4.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.5073, allocations: 4 kB / 0.6277 GB, free: 4.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008936/0.5163, allocations: 3.711 MB / 0.6313 GB, free: 452 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.5163, allocations: 4 kB / 0.6313 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5163, allocations: 4 kB / 0.6313 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/0.5271, allocations: 2.981 MB / 0.6342 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.5287, allocations: 271.6 kB / 0.6345 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008075/0.5368, allocations: 2.992 MB / 0.6374 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/0.54, allocations: 254.3 kB / 0.6377 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003452/0.5403, allocations: 67.86 kB / 0.6377 GB, free: 9.848 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 (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.5414, allocations: 301.5 kB / 0.638 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007297/0.5421, allocations: 165.9 kB / 0.6382 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/0.5602, allocations: 4.815 MB / 0.6429 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.5602, allocations: 12 kB / 0.6429 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.5603, allocations: 0 / 0.6429 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.675e-05/0.5603, allocations: 11.91 kB / 0.6429 GB, free: 4.516 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.02318/0.5835, allocations: 6.898 MB / 0.6496 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.5836, allocations: 0 / 0.6496 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.5847, allocations: 143.8 kB / 0.6498 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008251/0.593, allocations: 2.142 MB / 0.6519 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003358/0.5934, allocations: 31.98 kB / 0.6519 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02907/0.6225, allocations: 10.07 MB / 0.6617 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6225, allocations: 0 / 0.6617 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02121/0.6438, allocations: 5.958 MB / 0.6676 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009844/0.6448, allocations: 274.7 kB / 0.6678 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008386/0.6457, allocations: 27.94 kB / 0.6678 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/0.6481, allocations: 135.8 kB / 0.668 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/0.6493, allocations: 261.4 kB / 0.6682 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002541/0.6496, allocations: 35.98 kB / 0.6683 GB, free: 10.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002179/0.6518, allocations: 0.9503 MB / 0.6692 GB, free: 9.246 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6518, allocations: 4 kB / 0.6692 GB, free: 9.242 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002705/0.6545, allocations: 0.5268 MB / 0.6697 GB, free: 8.715 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,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (83): * Single equations (assignments): 82 * 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.02197/0.6765, allocations: 6.565 MB / 0.6761 GB, free: 2.113 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01141/0.688, allocations: 2.93 MB / 0.679 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.688, allocations: 0 / 0.679 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00726/0.6953, allocations: 1.927 MB / 0.6809 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.698, allocations: 133.2 kB / 0.681 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0588/0.7568, allocations: 20.74 MB / 0.7012 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.7581, allocations: 1.223 MB / 0.7024 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001029/0.7592, allocations: 138 kB / 0.7026 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/0.7605, allocations: 0.6163 MB / 0.7032 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.7606, allocations: 4 kB / 0.7032 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09071/0.8513, allocations: 42.24 MB / 0.7444 GB, free: 11.44 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.8516, allocations: 216.1 kB / 0.7446 GB, free: 11.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.281/4.132, allocations: 4.062 kB / 0.7446 GB, free: 11.18 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)