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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 221.4 MB / 234.6 MB, free: 14.42 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008958/0.0008957, allocations: 91.97 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4134/0.4134, allocations: 78.9 MB / 415.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.117e-05, allocations: 4 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.319, allocations: 69.5 MB / 0.5492 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4421, allocations: 111.4 MB / 0.658 GB, free: 4.227 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.4423, allocations: 87.92 kB / 0.6581 GB, free: 4.141 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3707/0.813, allocations: 40.46 MB / 0.6976 GB, free: 106.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.8131, allocations: 0 / 0.6976 GB, free: 106.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.559e-05/0.8131, allocations: 32.22 kB / 0.6976 GB, free: 106.5 MB / 490.7 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.004716/0.8179, allocations: 2.042 MB / 0.6996 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.8179, allocations: 15.06 kB / 0.6996 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.8181, allocations: 156.9 kB / 0.6998 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.8214, allocations: 0.6699 MB / 0.7004 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.8228, allocations: 1.016 MB / 0.7014 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.8231, allocations: 435.6 kB / 0.7018 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.8233, allocations: 105.6 kB / 0.7019 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.8251, allocations: 1.225 MB / 0.7031 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.8251, allocations: 3.781 kB / 0.7031 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.8252, allocations: 43.41 kB / 0.7032 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.8252, allocations: 23.22 kB / 0.7032 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.8269, allocations: 1.135 MB / 0.7043 GB, free: 103.1 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006729/0.8336, allocations: 4.979 MB / 0.7092 GB, free: 99.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/0.8404, allocations: 3.118 MB / 0.7122 GB, free: 96.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009078/0.8413, allocations: 0.7281 MB / 0.7129 GB, free: 95.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.8414, allocations: 24.75 kB / 0.713 GB, free: 95.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.8426, allocations: 0.8667 MB / 0.7138 GB, free: 95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=125): time 2.364e-06/0.8426, allocations: 0 / 0.7138 GB, free: 95 MB / 490.7 MB Notification: Performance of matching and sorting (n=125): time 0.01312/0.8557, allocations: 4.903 MB / 0.7186 GB, free: 90.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.8558, allocations: 127.7 kB / 0.7187 GB, free: 89.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.8572, allocations: 1.196 MB / 0.7199 GB, free: 88.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.8574, allocations: 45.7 kB / 0.7199 GB, free: 88.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.8577, allocations: 0.6204 MB / 0.7205 GB, free: 88.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.858, allocations: 453.1 kB / 0.721 GB, free: 87.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.8581, allocations: 24 kB / 0.721 GB, free: 87.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.8582, allocations: 358 kB / 0.7213 GB, free: 87.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008534/0.8591, allocations: 0.5884 MB / 0.7219 GB, free: 86.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008943/0.86, allocations: 0.7433 MB / 0.7226 GB, free: 85.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.8609, allocations: 0.6414 MB / 0.7233 GB, free: 85.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8609, allocations: 3.938 kB / 0.7233 GB, free: 85.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003126/0.864, allocations: 2.131 MB / 0.7253 GB, free: 83.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.864, allocations: 8 kB / 0.7253 GB, free: 83.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.864, allocations: 4 kB / 0.7253 GB, free: 83.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007762/0.8718, allocations: 2.823 MB / 0.7281 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.8725, allocations: 159.8 kB / 0.7283 GB, free: 80.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/0.8769, allocations: 2.536 MB / 0.7307 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.8788, allocations: 254.7 kB / 0.731 GB, free: 77.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.8789, allocations: 47.98 kB / 0.731 GB, free: 77.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.8792, allocations: 172.7 kB / 0.7312 GB, free: 77.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.8794, allocations: 162 kB / 0.7313 GB, free: 76.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/0.8924, allocations: 5.058 MB / 0.7363 GB, free: 71.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.8925, allocations: 12 kB / 0.7363 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8925, allocations: 0 / 0.7363 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/0.8925, allocations: 15.92 kB / 0.7363 GB, free: 71.79 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01544/0.908, allocations: 7.128 MB / 0.7433 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.908, allocations: 0 / 0.7433 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.9089, allocations: 143.8 kB / 0.7434 GB, free: 64.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005746/0.9147, allocations: 2.005 MB / 0.7454 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/0.9149, allocations: 27.98 kB / 0.7454 GB, free: 62.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/0.9302, allocations: 7.842 MB / 0.753 GB, free: 54.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9302, allocations: 4 kB / 0.753 GB, free: 54.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/0.9453, allocations: 6.093 MB / 0.759 GB, free: 48.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.946, allocations: 282.7 kB / 0.7593 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.9462, allocations: 24 kB / 0.7593 GB, free: 47.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.9477, allocations: 179.8 kB / 0.7595 GB, free: 47.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007002/0.9485, allocations: 269.3 kB / 0.7597 GB, free: 47.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.705e-05/0.9486, allocations: 35.98 kB / 0.7598 GB, free: 47.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001072/0.9496, allocations: 0.9257 MB / 0.7607 GB, free: 46.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.9496, allocations: 0 / 0.7607 GB, free: 46.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001082/0.9507, allocations: 0.4993 MB / 0.7611 GB, free: 46.04 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01496/0.9657, allocations: 6.847 MB / 0.7678 GB, free: 39.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006069/0.9718, allocations: 2.35 MB / 0.7701 GB, free: 36.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9718, allocations: 0 / 0.7701 GB, free: 36.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004733/0.9766, allocations: 1.878 MB / 0.772 GB, free: 34.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.9775, allocations: 125.2 kB / 0.7721 GB, free: 34.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.9819, allocations: 2.653 MB / 0.7747 GB, free: 32.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.9824, allocations: 1.254 MB / 0.7759 GB, free: 30.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004771/0.9829, allocations: 120.5 kB / 0.776 GB, free: 30.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006208/0.9835, allocations: 0.5969 MB / 0.7766 GB, free: 30.06 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.9835, allocations: 0 / 0.7766 GB, free: 30.06 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05063/1.034, allocations: 38.3 MB / 0.814 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/1.034, allocations: 165.9 kB / 0.8142 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/4.135, allocations: 3.938 kB / 0.8142 GB, free: 7.688 MB / 0.4948 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/linux/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)