Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.2 MB / 218.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000745/0.0007449, allocations: 86.59 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06371/0.06371, allocations: 12.2 MB / 326.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2695/0.2695, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.381e-05, allocations: 8 kB / 0.5213 GB, free: 24.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 69.24 MB / 0.5889 GB, free: 2.918 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5592, allocations: 113.2 MB / 0.6995 GB, free: 3.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5595, allocations: 84.94 kB / 0.6996 GB, free: 3.133 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1315/0.6911, allocations: 51.83 MB / 0.7502 GB, free: 7.723 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.28e-06/0.6911, allocations: 0 / 0.7502 GB, free: 7.723 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001312/0.6913, allocations: 51.88 kB / 0.7502 GB, free: 7.672 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00711/0.6984, allocations: 2.549 MB / 0.7527 GB, free: 5.258 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.6984, allocations: 15.98 kB / 0.7527 GB, free: 5.242 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003568/0.6988, allocations: 215.4 kB / 0.7529 GB, free: 5.117 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.702, allocations: 0.6328 MB / 0.7535 GB, free: 4.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.7045, allocations: 1.402 MB / 0.7549 GB, free: 3.457 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/0.705, allocations: 466.3 kB / 0.7554 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.7052, allocations: 149.2 kB / 0.7555 GB, free: 2.887 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.7081, allocations: 1.782 MB / 0.7572 GB, free: 1.637 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.7081, allocations: 0 / 0.7572 GB, free: 1.637 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.7083, allocations: 61.06 kB / 0.7573 GB, free: 1.621 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.7083, allocations: 39.98 kB / 0.7573 GB, free: 1.582 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.7107, allocations: 1.464 MB / 0.7588 GB, free: 0.6797 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.01292/0.7237, allocations: 7.387 MB / 0.766 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00853/0.7322, allocations: 3.521 MB / 0.7694 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.734, allocations: 0.8703 MB / 0.7703 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.7342, allocations: 29.28 kB / 0.7703 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/0.7359, allocations: 1.059 MB / 0.7713 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=163): time 3.757e-06/0.736, allocations: 0 / 0.7713 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of matching and sorting (n=163): time 0.01596/0.7519, allocations: 5.308 MB / 0.7765 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.7521, allocations: 300 kB / 0.7768 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.7549, allocations: 1.513 MB / 0.7783 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005112/0.7554, allocations: 53.7 kB / 0.7783 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006764/0.7561, allocations: 0.8917 MB / 0.7792 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006678/0.7568, allocations: 0.5776 MB / 0.7798 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.7569, allocations: 44.06 kB / 0.7798 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7571, allocations: 365.9 kB / 0.7802 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.7584, allocations: 0.7344 MB / 0.7809 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.7599, allocations: 1.058 MB / 0.7819 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.7613, allocations: 0.822 MB / 0.7827 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.7613, allocations: 0 / 0.7827 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.00683/0.7681, allocations: 3.324 MB / 0.786 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008528/0.769, allocations: 2.486 MB / 0.7884 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.769, allocations: 8 kB / 0.7884 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.7796, allocations: 3.464 MB / 0.7918 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009296/0.7806, allocations: 211.7 kB / 0.792 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00789/0.7885, allocations: 5.589 MB / 0.7974 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.7913, allocations: 330.5 kB / 0.7978 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.7915, allocations: 67.97 kB / 0.7978 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7915, allocations: 4 kB / 0.7978 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005485/0.797, allocations: 2.794 MB / 0.8006 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.797, allocations: 4 kB / 0.8006 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.8076, allocations: 3.379 MB / 0.8039 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/0.8085, allocations: 207.7 kB / 0.8041 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.8186, allocations: 8.808 MB / 0.8127 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/0.8213, allocations: 282.6 kB / 0.8129 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.8216, allocations: 59.98 kB / 0.813 GB, free: 7.688 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.0004824/0.8221, allocations: 200.9 kB / 0.8132 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/0.8227, allocations: 217.4 kB / 0.8134 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/0.8381, allocations: 5.439 MB / 0.8187 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.8382, allocations: 16 kB / 0.8187 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8382, allocations: 4 kB / 0.8187 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-05/0.8382, allocations: 7.969 kB / 0.8187 GB, free: 1.785 MB / 0.5417 GB 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.01956/0.8578, allocations: 8.023 MB / 0.8266 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.8579, allocations: 4.031 kB / 0.8266 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.8594, allocations: 251.7 kB / 0.8268 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006429/0.8659, allocations: 2.013 MB / 0.8288 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003829/0.8663, allocations: 35.98 kB / 0.8288 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/0.8838, allocations: 7.841 MB / 0.8365 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8838, allocations: 4 kB / 0.8365 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/0.9011, allocations: 6.595 MB / 0.8429 GB, free: 8.684 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008999/0.902, allocations: 334.1 kB / 0.8432 GB, free: 8.336 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005039/0.9025, allocations: 32 kB / 0.8432 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/0.9046, allocations: 227.8 kB / 0.8435 GB, free: 8.082 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008954/0.9055, allocations: 281.2 kB / 0.8437 GB, free: 7.809 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.9056, allocations: 47.98 kB / 0.8438 GB, free: 7.762 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001853/0.9075, allocations: 1.151 MB / 0.8449 GB, free: 6.582 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9075, allocations: 0 / 0.8449 GB, free: 6.582 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002822/0.9103, allocations: 0.9863 MB / 0.8459 GB, free: 5.594 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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.01718/0.9275, allocations: 7.369 MB / 0.8531 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01598/0.9435, allocations: 5.649 MB / 0.8586 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.9436, allocations: 4.25 kB / 0.8586 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006431/0.95, allocations: 2.056 MB / 0.8606 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.9523, allocations: 210.8 kB / 0.8608 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/0.9607, allocations: 3.565 MB / 0.8643 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/0.9617, allocations: 1.485 MB / 0.8657 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00139/0.9631, allocations: 298.4 kB / 0.866 GB, free: 0.7461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2679/1.231, allocations: 0.8199 MB / 0.8668 GB, free: 176 MB / 0.5886 GB Notification: Performance of SimCode: time 1.482e-06/1.231, allocations: 0 / 0.8668 GB, free: 176 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09935/1.33, allocations: 60.87 MB / 0.9263 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/1.331, allocations: 174.6 kB / 0.9264 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.188/5.518, allocations: 0 / 0.9264 GB, free: 162.9 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)