Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.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.ESST4B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",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.001067/0.001067, allocations: 175.1 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.302/1.302, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008062/0.0008061, allocations: 82.59 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06611/0.06611, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2775/0.2775, allocations: 78.03 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.504e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.124, allocations: 69.23 MB / 0.5889 GB, free: 2.941 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4227/0.5467, allocations: 114.1 MB / 0.7003 GB, free: 2.395 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.5471, allocations: 86.39 kB / 0.7004 GB, free: 2.348 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1203/0.6673, allocations: 46.66 MB / 0.746 GB, free: 11.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.6674, allocations: 0 / 0.746 GB, free: 11.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.86e-05/0.6675, allocations: 36 kB / 0.746 GB, free: 10.99 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005847/0.6733, allocations: 2.346 MB / 0.7483 GB, free: 8.754 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.6734, allocations: 11.98 kB / 0.7483 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003079/0.6737, allocations: 181.8 kB / 0.7485 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.6772, allocations: 0.6854 MB / 0.7492 GB, free: 7.988 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.6792, allocations: 1.097 MB / 0.7502 GB, free: 7.113 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004852/0.6797, allocations: 0.507 MB / 0.7507 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.6799, allocations: 118.9 kB / 0.7509 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.6822, allocations: 1.434 MB / 0.7523 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.6823, allocations: 3.938 kB / 0.7523 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.6824, allocations: 47.94 kB / 0.7523 GB, free: 5.488 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.6824, allocations: 28 kB / 0.7523 GB, free: 5.461 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.6844, allocations: 1.248 MB / 0.7535 GB, free: 4.684 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.009767/0.6942, allocations: 5.943 MB / 0.7593 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00848/0.7027, allocations: 3.528 MB / 0.7628 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.7042, allocations: 0.7836 MB / 0.7636 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.7043, allocations: 25.28 kB / 0.7636 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.7044, allocations: 55.83 kB / 0.7636 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=136): time 3.347e-06/0.7044, allocations: 0 / 0.7636 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=136): time 0.01514/0.7195, allocations: 5.177 MB / 0.7687 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.7197, allocations: 197.2 kB / 0.7689 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.7216, allocations: 1.21 MB / 0.7701 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002953/0.7219, allocations: 49.7 kB / 0.7701 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/0.7224, allocations: 0.7106 MB / 0.7708 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.7228, allocations: 496.8 kB / 0.7713 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.723, allocations: 24 kB / 0.7713 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7231, allocations: 361.9 kB / 0.7716 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.7242, allocations: 0.6406 MB / 0.7723 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.7254, allocations: 0.864 MB / 0.7731 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.7265, allocations: 0.7048 MB / 0.7738 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.7265, allocations: 0 / 0.7738 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004211/0.7307, allocations: 2.416 MB / 0.7762 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005115/0.7313, allocations: 1.715 MB / 0.7778 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.7313, allocations: 4 kB / 0.7778 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/0.7425, allocations: 3.405 MB / 0.7812 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/0.7434, allocations: 179.7 kB / 0.7813 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005546/0.7489, allocations: 2.895 MB / 0.7842 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/0.7511, allocations: 294.5 kB / 0.7844 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.7513, allocations: 59.91 kB / 0.7845 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.7513, allocations: 8 kB / 0.7845 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003937/0.7553, allocations: 2.202 MB / 0.7867 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.7553, allocations: 7.984 kB / 0.7867 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/0.7663, allocations: 3.363 MB / 0.79 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/0.7672, allocations: 183.7 kB / 0.7901 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/0.7727, allocations: 2.821 MB / 0.7929 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.7749, allocations: 262.8 kB / 0.7931 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.775, allocations: 51.98 kB / 0.7932 GB, free: 12.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (eSST4B.VM1.local_reset,eSST4B.VR1.local_reset) * 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 {35 58} Notification: Performance of prepare postOptimizeDAE: time 0.0003612/0.7754, allocations: 164.9 kB / 0.7933 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.7758, allocations: 181.8 kB / 0.7935 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/0.7909, allocations: 5.338 MB / 0.7987 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.791, allocations: 19.95 kB / 0.7987 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.791, allocations: 0 / 0.7987 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-05/0.7911, allocations: 7.969 kB / 0.7988 GB, free: 7.129 MB / 0.5261 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.01807/0.8091, allocations: 7.566 MB / 0.8061 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.8092, allocations: 0 / 0.8061 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.8103, allocations: 187.8 kB / 0.8063 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006348/0.8167, allocations: 2.088 MB / 0.8084 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.817, allocations: 28 kB / 0.8084 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.8353, allocations: 9.487 MB / 0.8177 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8354, allocations: 0 / 0.8177 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/0.8517, allocations: 6.358 MB / 0.8239 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006904/0.8524, allocations: 286.5 kB / 0.8241 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.8527, allocations: 35.95 kB / 0.8242 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.8543, allocations: 203.8 kB / 0.8244 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008807/0.8552, allocations: 285.2 kB / 0.8246 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.8554, allocations: 43.97 kB / 0.8247 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001274/0.8567, allocations: 0.9336 MB / 0.8256 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8567, allocations: 0 / 0.8256 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001922/0.8586, allocations: 0.8539 MB / 0.8264 GB, free: 10.32 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSST4B.VA.state,eSST4B.VR1.y,eSST4B.VM1.y,eSST4B.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01684/0.8754, allocations: 7.113 MB / 0.8334 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01289/0.8884, allocations: 4.391 MB / 0.8377 GB, free: 14.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.8884, allocations: 0 / 0.8377 GB, free: 14.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005492/0.8939, allocations: 2.098 MB / 0.8397 GB, free: 12.63 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.8951, allocations: 145.6 kB / 0.8398 GB, free: 12.49 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.9013, allocations: 3.062 MB / 0.8428 GB, free: 9.371 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/0.9021, allocations: 1.326 MB / 0.8441 GB, free: 8.016 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00107/0.9032, allocations: 242.4 kB / 0.8444 GB, free: 7.773 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007183/0.9039, allocations: 0.636 MB / 0.845 GB, free: 7.137 MB / 0.573 GB Notification: Performance of SimCode: time 6.11e-07/0.9039, allocations: 0 / 0.845 GB, free: 7.137 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3403/1.244, allocations: 52.37 MB / 0.8961 GB, free: 179 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001312/1.244, allocations: 169.3 kB / 0.8963 GB, free: 178.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.648/4.892, allocations: 3.938 kB / 0.8963 GB, free: 178.8 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe 2>&1)