Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_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.0009939/0.0009938, allocations: 174.1 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.198/1.198, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008028/0.0008027, allocations: 94.3 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4475/0.4475, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.78e-05, allocations: 7.938 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2988, allocations: 69.35 MB / 0.5481 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4236, allocations: 110.7 MB / 0.6562 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4239, allocations: 87.95 kB / 0.6563 GB, free: 5.477 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3661/0.79, allocations: 42.02 MB / 0.6973 GB, free: 106.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.7901, allocations: 0 / 0.6973 GB, free: 106.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.185e-05/0.7902, allocations: 29.84 kB / 0.6973 GB, free: 106.6 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.00577/0.7959, allocations: 2.047 MB / 0.6993 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.796, allocations: 13.62 kB / 0.6993 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002899/0.7963, allocations: 154.8 kB / 0.6995 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.7993, allocations: 0.5519 MB / 0.7 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.801, allocations: 0.9848 MB / 0.701 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/0.8014, allocations: 434.8 kB / 0.7014 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.8016, allocations: 114.4 kB / 0.7015 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.8035, allocations: 1.219 MB / 0.7027 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.8036, allocations: 0 / 0.7027 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.8037, allocations: 41.38 kB / 0.7027 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.8037, allocations: 21.38 kB / 0.7028 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.8055, allocations: 1.135 MB / 0.7039 GB, free: 103.2 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.007539/0.813, allocations: 4.917 MB / 0.7087 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007082/0.8201, allocations: 3.127 MB / 0.7117 GB, free: 97.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.8213, allocations: 0.728 MB / 0.7124 GB, free: 96.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.8215, allocations: 24.89 kB / 0.7125 GB, free: 96.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.8227, allocations: 0.868 MB / 0.7133 GB, free: 95.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=125): time 3.326e-06/0.8227, allocations: 0 / 0.7133 GB, free: 95.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=125): time 0.01365/0.8363, allocations: 4.911 MB / 0.7181 GB, free: 90.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.8364, allocations: 119.8 kB / 0.7182 GB, free: 90.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.8381, allocations: 1.157 MB / 0.7193 GB, free: 89.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003383/0.8385, allocations: 45.7 kB / 0.7194 GB, free: 89.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.8388, allocations: 0.6164 MB / 0.72 GB, free: 88.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/0.8393, allocations: 449.2 kB / 0.7204 GB, free: 88.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.8394, allocations: 24 kB / 0.7204 GB, free: 88.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.8395, allocations: 357.9 kB / 0.7208 GB, free: 87.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008969/0.8404, allocations: 0.5846 MB / 0.7214 GB, free: 87.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009303/0.8413, allocations: 0.7461 MB / 0.7221 GB, free: 86.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009174/0.8422, allocations: 0.6415 MB / 0.7227 GB, free: 85.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8422, allocations: 0 / 0.7227 GB, free: 85.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003268/0.8455, allocations: 2.131 MB / 0.7248 GB, free: 83.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8455, allocations: 4 kB / 0.7248 GB, free: 83.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.8456, allocations: 4 kB / 0.7248 GB, free: 83.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007841/0.8534, allocations: 2.819 MB / 0.7276 GB, free: 80.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.8541, allocations: 151.8 kB / 0.7277 GB, free: 80.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.8585, allocations: 2.542 MB / 0.7302 GB, free: 78.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.8605, allocations: 250.7 kB / 0.7304 GB, free: 77.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.8606, allocations: 51.91 kB / 0.7305 GB, free: 77.75 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.0002499/0.8609, allocations: 176.7 kB / 0.7306 GB, free: 77.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.8612, allocations: 162 kB / 0.7308 GB, free: 77.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.8746, allocations: 5.062 MB / 0.7357 GB, free: 72.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.8746, allocations: 12 kB / 0.7357 GB, free: 72.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.8747, allocations: 4 kB / 0.7358 GB, free: 72.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/0.8747, allocations: 7.938 kB / 0.7358 GB, free: 72.31 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.01579/0.8905, allocations: 7.1 MB / 0.7427 GB, free: 65.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.8905, allocations: 0 / 0.7427 GB, free: 65.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009126/0.8915, allocations: 139.8 kB / 0.7428 GB, free: 64.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005976/0.8975, allocations: 2.013 MB / 0.7448 GB, free: 62.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004553/0.898, allocations: 28 kB / 0.7448 GB, free: 62.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/0.9137, allocations: 7.837 MB / 0.7525 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9138, allocations: 3.938 kB / 0.7525 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/0.9292, allocations: 6.085 MB / 0.7584 GB, free: 48.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007854/0.9301, allocations: 282.7 kB / 0.7587 GB, free: 48.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.9304, allocations: 20 kB / 0.7587 GB, free: 48.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.932, allocations: 179.8 kB / 0.7589 GB, free: 48.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008259/0.9328, allocations: 265.2 kB / 0.7591 GB, free: 48.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.9329, allocations: 32 kB / 0.7592 GB, free: 48.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.9341, allocations: 0.8983 MB / 0.76 GB, free: 47.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9341, allocations: 0 / 0.76 GB, free: 47.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001273/0.9354, allocations: 0.4954 MB / 0.7605 GB, free: 46.64 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.01548/0.9509, allocations: 6.842 MB / 0.7672 GB, free: 39.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006302/0.9572, allocations: 2.345 MB / 0.7695 GB, free: 37.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.9573, allocations: 0 / 0.7695 GB, free: 37.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005066/0.9624, allocations: 1.878 MB / 0.7713 GB, free: 35.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.9635, allocations: 120.8 kB / 0.7714 GB, free: 35.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.9681, allocations: 2.657 MB / 0.774 GB, free: 32.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.9686, allocations: 1.258 MB / 0.7753 GB, free: 31.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000474/0.9691, allocations: 124.5 kB / 0.7754 GB, free: 31.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/0.9697, allocations: 0.5969 MB / 0.776 GB, free: 30.67 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.9697, allocations: 0 / 0.776 GB, free: 30.67 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05603/1.026, allocations: 37.87 MB / 0.8129 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/1.026, allocations: 165 kB / 0.8131 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/4.125, allocations: 0 / 0.8131 GB, free: 8.762 MB / 0.4948 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)