Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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.EXAC2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",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.001014/0.001014, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 97.11 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5063/0.5063, allocations: 78.94 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.35e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 69.51 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5272/0.6921, allocations: 116.4 MB / 0.6562 GB, free: 13.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.6925, allocations: 93.25 kB / 0.6563 GB, free: 13.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1443/0.8369, allocations: 47.47 MB / 0.7026 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.671e-06/0.8369, allocations: 0 / 0.7026 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003063/0.8373, allocations: 45.47 kB / 0.7027 GB, free: 14.08 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.009785/0.8471, allocations: 2.332 MB / 0.7049 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.567e-05/0.8472, allocations: 12.03 kB / 0.7049 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/0.8527, allocations: 0.7546 MB / 0.7057 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004083/0.8568, allocations: 1.228 MB / 0.7069 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000658/0.8575, allocations: 460.4 kB / 0.7073 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005813/0.8581, allocations: 75.98 kB / 0.7074 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003234/0.8613, allocations: 1.223 MB / 0.7086 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/0.8644, allocations: 1.259 MB / 0.7098 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.8645, allocations: 0 / 0.7098 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.8647, allocations: 4 kB / 0.7098 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.8647, allocations: 28 kB / 0.7098 GB, free: 6.48 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.01272/0.8774, allocations: 5.62 MB / 0.7153 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008264/0.8857, allocations: 3.333 MB / 0.7186 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.887, allocations: 0.7704 MB / 0.7193 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/0.8878, allocations: 0.7375 MB / 0.7201 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/0.8895, allocations: 0.9247 MB / 0.721 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=143): time 5.8e-06/0.8895, allocations: 1.875 kB / 0.721 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=143): time 0.01581/0.9053, allocations: 5.059 MB / 0.7259 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.9055, allocations: 145.8 kB / 0.726 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/0.9081, allocations: 1.256 MB / 0.7273 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003494/0.9084, allocations: 25.7 kB / 0.7273 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/0.9091, allocations: 0.7342 MB / 0.728 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007124/0.9098, allocations: 0.4888 MB / 0.7285 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.91, allocations: 0 / 0.7285 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.9102, allocations: 366 kB / 0.7288 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.9113, allocations: 0.6406 MB / 0.7295 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.9126, allocations: 0.8333 MB / 0.7303 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.9142, allocations: 0.7282 MB / 0.731 GB, free: 180 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.9142, allocations: 0 / 0.731 GB, free: 180 kB / 0.5261 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.004734/0.9189, allocations: 2.283 MB / 0.7332 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006684/0.9196, allocations: 1.546 MB / 0.7347 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.9196, allocations: 7.938 kB / 0.7347 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008038/0.9277, allocations: 2.378 MB / 0.7371 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.929, allocations: 239.7 kB / 0.7373 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.9347, allocations: 3.079 MB / 0.7403 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/0.9372, allocations: 258.6 kB / 0.7405 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.9375, allocations: 61.19 kB / 0.7406 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.9375, allocations: 5.875 kB / 0.7406 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004192/0.9417, allocations: 2.069 MB / 0.7426 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9417, allocations: 288 / 0.7426 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007763/0.9495, allocations: 2.389 MB / 0.745 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.9506, allocations: 231.6 kB / 0.7452 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005154/0.9558, allocations: 3.072 MB / 0.7482 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.9582, allocations: 246.7 kB / 0.7484 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/0.9585, allocations: 59.97 kB / 0.7485 GB, free: 14.02 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004438/0.9589, allocations: 129.1 kB / 0.7486 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01548/0.9744, allocations: 5.063 MB / 0.7535 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00087/0.9753, allocations: 181.8 kB / 0.7537 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/0.991, allocations: 5.12 MB / 0.7587 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.9911, allocations: 20 kB / 0.7587 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.9911, allocations: 0 / 0.7587 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.162e-05/0.9911, allocations: 7.969 kB / 0.7587 GB, free: 3.473 MB / 0.5573 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.3595/1.351, allocations: 7.387 MB / 0.766 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.351, allocations: 2.844 kB / 0.766 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.352, allocations: 191.6 kB / 0.7661 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005964/1.358, allocations: 1.981 MB / 0.7681 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002791/1.358, allocations: 21.92 kB / 0.7681 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/1.374, allocations: 7.723 MB / 0.7756 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.374, allocations: 2.781 kB / 0.7756 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/1.392, allocations: 6.231 MB / 0.7817 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009068/1.393, allocations: 309.5 kB / 0.782 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/1.393, allocations: 6.25 kB / 0.782 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/1.395, allocations: 184.9 kB / 0.7822 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009024/1.396, allocations: 281.2 kB / 0.7825 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.396, allocations: 43.62 kB / 0.7825 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001512/1.397, allocations: 0.9561 MB / 0.7834 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.393e-06/1.397, allocations: 3.406 kB / 0.7834 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002636/1.4, allocations: 0.8101 MB / 0.7842 GB, free: 129.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 99 * 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.0181/1.418, allocations: 6.996 MB / 0.7911 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.432, allocations: 4.284 MB / 0.7953 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.433, allocations: 0.875 kB / 0.7953 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006336/1.439, allocations: 1.924 MB / 0.7971 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/1.441, allocations: 116.8 kB / 0.7972 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00958/1.45, allocations: 3.046 MB / 0.8002 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/1.452, allocations: 1.359 MB / 0.8015 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002232/1.454, allocations: 279.4 kB / 0.8018 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.455, allocations: 0.683 MB / 0.8025 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.333e-06/1.455, allocations: 0 / 0.8025 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09636/1.552, allocations: 48.05 MB / 0.8494 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/1.552, allocations: 119.4 kB / 0.8495 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.806/5.358, allocations: 4.031 kB / 0.8495 GB, free: 118.5 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)