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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 175 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.239/1.239, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0009028/0.0009028, allocations: 96.78 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4268/0.4268, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.552e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3267, allocations: 69.5 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4509, allocations: 110.4 MB / 0.6571 GB, free: 5.156 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4512, allocations: 83.95 kB / 0.6571 GB, free: 5.074 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3744/0.8256, allocations: 39.81 MB / 0.696 GB, free: 106.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.8256, allocations: 0 / 0.696 GB, free: 106.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.214e-05/0.8257, allocations: 31.25 kB / 0.696 GB, free: 106.4 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.005295/0.831, allocations: 2.016 MB / 0.698 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.8311, allocations: 15.33 kB / 0.698 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/0.8314, allocations: 151.5 kB / 0.6982 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/0.835, allocations: 0.6585 MB / 0.6988 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.8369, allocations: 0.9995 MB / 0.6998 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.8373, allocations: 434.2 kB / 0.7002 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.8375, allocations: 99.44 kB / 0.7003 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.8393, allocations: 1.194 MB / 0.7015 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.8393, allocations: 0 / 0.7015 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.8394, allocations: 38.06 kB / 0.7015 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.8394, allocations: 24.12 kB / 0.7015 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.8412, allocations: 1.099 MB / 0.7026 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.007356/0.8485, allocations: 4.842 MB / 0.7073 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006981/0.8555, allocations: 3.103 MB / 0.7104 GB, free: 98.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009643/0.8565, allocations: 0.7171 MB / 0.7111 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.8567, allocations: 16.91 kB / 0.7111 GB, free: 97.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.8578, allocations: 0.8607 MB / 0.7119 GB, free: 96.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.357e-06/0.8579, allocations: 0 / 0.7119 GB, free: 96.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.01385/0.8717, allocations: 4.95 MB / 0.7167 GB, free: 91.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.8718, allocations: 119.8 kB / 0.7169 GB, free: 91.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.8735, allocations: 1.187 MB / 0.718 GB, free: 90.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.8736, allocations: 45.7 kB / 0.7181 GB, free: 90.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.8739, allocations: 0.6007 MB / 0.7186 GB, free: 89.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.8743, allocations: 449.3 kB / 0.7191 GB, free: 89.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.8744, allocations: 28.06 kB / 0.7191 GB, free: 89.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.8745, allocations: 349.9 kB / 0.7194 GB, free: 88.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008605/0.8753, allocations: 0.5728 MB / 0.72 GB, free: 88.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000962/0.8763, allocations: 0.7297 MB / 0.7207 GB, free: 87.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009194/0.8773, allocations: 0.6297 MB / 0.7213 GB, free: 86.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8773, allocations: 4 kB / 0.7213 GB, free: 86.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003155/0.8804, allocations: 2.056 MB / 0.7233 GB, free: 84.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.8805, allocations: 10.02 kB / 0.7233 GB, free: 84.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8805, allocations: 4 kB / 0.7233 GB, free: 84.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007629/0.8881, allocations: 2.731 MB / 0.726 GB, free: 82.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.8889, allocations: 163.8 kB / 0.7262 GB, free: 81.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004396/0.8933, allocations: 2.423 MB / 0.7285 GB, free: 79.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.8954, allocations: 250.8 kB / 0.7288 GB, free: 79.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.8956, allocations: 43.98 kB / 0.7288 GB, free: 79.17 MB / 490.7 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.0002751/0.8958, allocations: 164.7 kB / 0.729 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004018/0.8962, allocations: 158 kB / 0.7291 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.91, allocations: 5.113 MB / 0.7341 GB, free: 73.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.91, allocations: 12 kB / 0.7341 GB, free: 73.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.91, allocations: 0 / 0.7341 GB, free: 73.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/0.9101, allocations: 7.922 kB / 0.7341 GB, free: 73.7 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.01673/0.9268, allocations: 7.084 MB / 0.7411 GB, free: 66.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.9268, allocations: 0 / 0.7411 GB, free: 66.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/0.9277, allocations: 139.8 kB / 0.7412 GB, free: 66.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005858/0.9336, allocations: 2.013 MB / 0.7432 GB, free: 64.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/0.9338, allocations: 27.94 kB / 0.7432 GB, free: 64.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/0.9496, allocations: 7.841 MB / 0.7508 GB, free: 56.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.9497, allocations: 7.938 kB / 0.7508 GB, free: 56.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/0.9646, allocations: 6.009 MB / 0.7567 GB, free: 50.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005983/0.9653, allocations: 278.7 kB / 0.757 GB, free: 49.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/0.9657, allocations: 28 kB / 0.757 GB, free: 49.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.9674, allocations: 179.8 kB / 0.7572 GB, free: 49.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007207/0.9681, allocations: 252.9 kB / 0.7574 GB, free: 49.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.9682, allocations: 43.92 kB / 0.7575 GB, free: 49.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001213/0.9695, allocations: 0.9209 MB / 0.7584 GB, free: 48.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9695, allocations: 0 / 0.7584 GB, free: 48.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00125/0.9707, allocations: 495.4 kB / 0.7588 GB, free: 48.09 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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete 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 (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.01477/0.9855, allocations: 6.763 MB / 0.7654 GB, free: 41.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006122/0.9917, allocations: 2.306 MB / 0.7677 GB, free: 38.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9917, allocations: 0 / 0.7677 GB, free: 38.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004911/0.9966, allocations: 1.868 MB / 0.7695 GB, free: 37.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009929/0.9976, allocations: 114.3 kB / 0.7696 GB, free: 36.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/1.003, allocations: 2.598 MB / 0.7722 GB, free: 34.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/1.003, allocations: 1.242 MB / 0.7734 GB, free: 33.06 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005379/1.004, allocations: 112.3 kB / 0.7735 GB, free: 32.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/1.004, allocations: 0.5774 MB / 0.774 GB, free: 32.38 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/1.004, allocations: 0 / 0.774 GB, free: 32.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05068/1.055, allocations: 37.55 MB / 0.8107 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.055, allocations: 164.3 kB / 0.8109 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/4.154, allocations: 0 / 0.8109 GB, free: 10.75 MB / 0.4948 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/linux/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)