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.001271/0.001271, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.34/1.34, allocations: 222.9 MB / 238.9 MB, free: 4.734 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.001565/0.001566, allocations: 188.5 kB / 289.1 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5106/0.5106, allocations: 91.9 MB / 431.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 75.88 kB / 0.5013 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.363, allocations: 71.26 MB / 0.5709 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008231/0.3712, allocations: 8.631 MB / 0.5793 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005502/0.3768, allocations: 2.606 MB / 0.5819 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.3782, allocations: 13.34 kB / 0.5819 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3793, allocations: 252.1 kB / 0.5821 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.3819, allocations: 0.9941 MB / 0.5831 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3831, allocations: 0.6388 MB / 0.5837 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001688/0.3848, allocations: 2.069 MB / 0.5858 GB, free: 27.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.3853, allocations: 376.4 kB / 0.5861 GB, free: 27.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000751/0.386, allocations: 0.7887 MB / 0.5869 GB, free: 26.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000956/0.387, allocations: 1.053 MB / 0.5879 GB, free: 26.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.3873, allocations: 105.1 kB / 0.588 GB, free: 26.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/0.3879, allocations: 339 kB / 0.5883 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.3882, allocations: 386 kB / 0.5887 GB, free: 26.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.3888, allocations: 0.8248 MB / 0.5895 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.3903, allocations: 2.2 MB / 0.5917 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3903, allocations: 0 / 0.5917 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3903, allocations: 0 / 0.5917 GB, free: 24.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.474e-05/0.3903, allocations: 0 / 0.5917 GB, free: 24.69 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.01219/0.4025, allocations: 3.554 MB / 0.5951 GB, free: 23.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4026, allocations: 9.156 kB / 0.5951 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.4028, allocations: 163 kB / 0.5953 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004626/0.4074, allocations: 0.7451 MB / 0.596 GB, free: 22.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.4094, allocations: 1.108 MB / 0.5971 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/0.4098, allocations: 430.8 kB / 0.5975 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.4101, allocations: 111.3 kB / 0.5976 GB, free: 21.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.413, allocations: 1.43 MB / 0.599 GB, free: 21.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.413, allocations: 9.125 kB / 0.599 GB, free: 21.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.4132, allocations: 46.88 kB / 0.5991 GB, free: 21.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.4132, allocations: 23.31 kB / 0.5991 GB, free: 21.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.4161, allocations: 1.342 MB / 0.6004 GB, free: 20.74 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.008971/0.4251, allocations: 4.934 MB / 0.6052 GB, free: 17.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008191/0.4333, allocations: 2.9 MB / 0.608 GB, free: 16.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.4352, allocations: 0.9143 MB / 0.6089 GB, free: 16.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.4353, allocations: 25.12 kB / 0.609 GB, free: 16.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/0.4374, allocations: 1.061 MB / 0.61 GB, free: 15.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.316e-06/0.4374, allocations: 4 kB / 0.61 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04012/0.4775, allocations: 9.795 MB / 0.6196 GB, free: 12.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.4776, allocations: 119.3 kB / 0.6197 GB, free: 12.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.4798, allocations: 1.416 MB / 0.6211 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002617/0.4801, allocations: 49.7 kB / 0.6211 GB, free: 10.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.4804, allocations: 0.6002 MB / 0.6217 GB, free: 10.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.4808, allocations: 457.4 kB / 0.6221 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005427/0.4813, allocations: 347.4 kB / 0.6225 GB, free: 9.406 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.695e-05/0.4814, allocations: 301.1 kB / 0.6228 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.4832, allocations: 0.9722 MB / 0.6237 GB, free: 8.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.4852, allocations: 1.166 MB / 0.6248 GB, free: 6.922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003585/0.4888, allocations: 2.089 MB / 0.6269 GB, free: 4.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4888, allocations: 0 / 0.6269 GB, free: 4.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00819/0.497, allocations: 3.707 MB / 0.6305 GB, free: 1.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.497, allocations: 8 kB / 0.6305 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.497, allocations: 11.97 kB / 0.6305 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009695/0.5067, allocations: 2.97 MB / 0.6334 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.5081, allocations: 267.6 kB / 0.6337 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/0.5151, allocations: 2.988 MB / 0.6366 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/0.5178, allocations: 250.3 kB / 0.6368 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.5181, allocations: 67.91 kB / 0.6369 GB, free: 10.49 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.0007243/0.5189, allocations: 305.5 kB / 0.6372 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/0.5193, allocations: 157.9 kB / 0.6373 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01609/0.5354, allocations: 4.811 MB / 0.642 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.5355, allocations: 16 kB / 0.6421 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.5355, allocations: 7.984 kB / 0.6421 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/0.5355, allocations: 11.91 kB / 0.6421 GB, free: 5.152 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.01898/0.5545, allocations: 6.898 MB / 0.6488 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.5546, allocations: 0 / 0.6488 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.5556, allocations: 147.8 kB / 0.649 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007497/0.5631, allocations: 2.138 MB / 0.651 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/0.5634, allocations: 32 kB / 0.6511 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02339/0.5868, allocations: 9.171 MB / 0.66 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.5868, allocations: 3.984 kB / 0.66 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/0.6053, allocations: 5.954 MB / 0.6658 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/0.6061, allocations: 270.8 kB / 0.6661 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004156/0.6065, allocations: 28 kB / 0.6661 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.6082, allocations: 131.8 kB / 0.6663 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008786/0.6091, allocations: 261.2 kB / 0.6665 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.6092, allocations: 36 kB / 0.6665 GB, free: 11.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001442/0.6107, allocations: 0.9542 MB / 0.6675 GB, free: 10.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6107, allocations: 0 / 0.6675 GB, free: 10.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001588/0.6123, allocations: 0.5307 MB / 0.668 GB, free: 10.27 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.01833/0.6306, allocations: 6.552 MB / 0.6744 GB, free: 3.676 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008896/0.6396, allocations: 2.872 MB / 0.6772 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6396, allocations: 0 / 0.6772 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006091/0.6457, allocations: 1.878 MB / 0.679 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.6473, allocations: 133.2 kB / 0.6792 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04485/0.6922, allocations: 20.74 MB / 0.6994 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.6929, allocations: 1.227 MB / 0.7006 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006202/0.6935, allocations: 142 kB / 0.7007 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008007/0.6944, allocations: 0.6047 MB / 0.7013 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.6944, allocations: 0 / 0.7013 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/0.7585, allocations: 40.4 MB / 0.7408 GB, free: 14.94 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.7587, allocations: 221.3 kB / 0.741 GB, free: 14.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/3.658, allocations: 0 / 0.741 GB, free: 14.68 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)