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.001171/0.001171, allocations: 174.7 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.206/1.206, 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.0007731/0.000773, allocations: 92.02 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4359/0.4359, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.386e-05, allocations: 4 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3678, allocations: 69.5 MB / 0.5492 GB, free: 19.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.5024, allocations: 117 MB / 0.6635 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.5026, allocations: 91.94 kB / 0.6636 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4033/0.906, allocations: 47.98 MB / 0.7104 GB, free: 100 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.906, allocations: 0 / 0.7104 GB, free: 100 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001477/0.9062, allocations: 40 kB / 0.7105 GB, free: 99.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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.006375/0.9125, allocations: 2.337 MB / 0.7128 GB, free: 97.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.9126, allocations: 11.97 kB / 0.7128 GB, free: 97.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004831/0.9131, allocations: 181.4 kB / 0.713 GB, free: 97.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00428/0.9174, allocations: 0.759 MB / 0.7137 GB, free: 96.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.9202, allocations: 1.225 MB / 0.7149 GB, free: 95.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000477/0.9207, allocations: 0.5082 MB / 0.7154 GB, free: 94.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/0.9211, allocations: 120 kB / 0.7155 GB, free: 94.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.9238, allocations: 1.435 MB / 0.7169 GB, free: 93.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.9238, allocations: 4 kB / 0.7169 GB, free: 93.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.924, allocations: 44 kB / 0.717 GB, free: 93.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.924, allocations: 28 kB / 0.717 GB, free: 93.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.9262, allocations: 1.29 MB / 0.7182 GB, free: 91.86 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.01058/0.9368, allocations: 5.814 MB / 0.7239 GB, free: 85.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007403/0.9442, allocations: 3.392 MB / 0.7272 GB, free: 82.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.9454, allocations: 0.8109 MB / 0.728 GB, free: 81.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004705/0.9459, allocations: 0.7445 MB / 0.7287 GB, free: 80.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.9474, allocations: 0.9619 MB / 0.7297 GB, free: 79.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 3.256e-06/0.9474, allocations: 0 / 0.7297 GB, free: 79.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.01429/0.9617, allocations: 5.145 MB / 0.7347 GB, free: 74.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.9618, allocations: 153.8 kB / 0.7349 GB, free: 74.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.9641, allocations: 1.383 MB / 0.7362 GB, free: 72.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000313/0.9645, allocations: 53.7 kB / 0.7363 GB, free: 72.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.9649, allocations: 0.7345 MB / 0.737 GB, free: 72.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005831/0.9655, allocations: 0.4925 MB / 0.7375 GB, free: 71.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.9657, allocations: 32 kB / 0.7375 GB, free: 71.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.9658, allocations: 365.9 kB / 0.7378 GB, free: 71.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.9669, allocations: 0.6758 MB / 0.7385 GB, free: 70.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.9682, allocations: 0.8646 MB / 0.7393 GB, free: 69.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.9693, allocations: 0.7478 MB / 0.7401 GB, free: 68.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.9694, allocations: 0 / 0.7401 GB, free: 68.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004226/0.9736, allocations: 2.432 MB / 0.7424 GB, free: 66.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002897/0.9739, allocations: 1.55 MB / 0.744 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.9739, allocations: 4 kB / 0.744 GB, free: 64.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007867/0.9818, allocations: 2.648 MB / 0.7465 GB, free: 62.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.9829, allocations: 247.6 kB / 0.7468 GB, free: 61.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.987, allocations: 2.911 MB / 0.7496 GB, free: 58.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.9893, allocations: 294.6 kB / 0.7499 GB, free: 58.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.9895, allocations: 55.97 kB / 0.75 GB, free: 58.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.9896, allocations: 7.938 kB / 0.75 GB, free: 58.56 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003752/0.9933, allocations: 2.233 MB / 0.7522 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.9933, allocations: 4 kB / 0.7522 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007591/1.001, allocations: 2.649 MB / 0.7547 GB, free: 53.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.002, allocations: 235.7 kB / 0.755 GB, free: 53.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/1.006, allocations: 2.911 MB / 0.7578 GB, free: 50.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/1.008, allocations: 290.6 kB / 0.7581 GB, free: 50.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.008, allocations: 55.98 kB / 0.7581 GB, free: 50.14 MB / 490.7 MB 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 (131): * Single equations (assignments): 129 * 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.0003344/1.009, allocations: 180.7 kB / 0.7583 GB, free: 49.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/1.009, allocations: 189.7 kB / 0.7585 GB, free: 49.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/1.023, allocations: 5.245 MB / 0.7636 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.023, allocations: 15.95 kB / 0.7636 GB, free: 44.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.023, allocations: 4 kB / 0.7636 GB, free: 44.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/1.023, allocations: 7.969 kB / 0.7636 GB, free: 44.48 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.01597/1.039, allocations: 7.635 MB / 0.7711 GB, free: 36.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/1.039, allocations: 0 / 0.7711 GB, free: 36.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009999/1.04, allocations: 187.8 kB / 0.7713 GB, free: 36.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005645/1.045, allocations: 2.013 MB / 0.7732 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/1.045, allocations: 35.92 kB / 0.7733 GB, free: 34.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/1.06, allocations: 7.853 MB / 0.7809 GB, free: 26.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.06, allocations: 0 / 0.7809 GB, free: 26.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/1.076, allocations: 6.359 MB / 0.7872 GB, free: 20.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/1.077, allocations: 322.3 kB / 0.7875 GB, free: 19.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/1.077, allocations: 28 kB / 0.7875 GB, free: 19.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.079, allocations: 211.8 kB / 0.7877 GB, free: 19.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007777/1.08, allocations: 285.2 kB / 0.788 GB, free: 19.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.08, allocations: 39.98 kB / 0.788 GB, free: 19.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001284/1.081, allocations: 1.07 MB / 0.789 GB, free: 18.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.081, allocations: 3.938 kB / 0.7891 GB, free: 18.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001796/1.083, allocations: 0.8814 MB / 0.7899 GB, free: 17.28 MB / 490.7 MB 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.01522/1.098, allocations: 7.144 MB / 0.7969 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.11, allocations: 4.427 MB / 0.8012 GB, free: 5.676 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.11, allocations: 256 / 0.8012 GB, free: 5.676 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005032/1.115, allocations: 1.998 MB / 0.8032 GB, free: 3.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.116, allocations: 147.7 kB / 0.8033 GB, free: 3.516 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/1.121, allocations: 3.159 MB / 0.8064 GB, free: 312 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008126/1.122, allocations: 1.357 MB / 0.8077 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001267/1.123, allocations: 287.3 kB / 0.808 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/1.124, allocations: 0.6828 MB / 0.8087 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/1.124, allocations: 0 / 0.8087 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08108/1.205, allocations: 51.81 MB / 0.8593 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/1.205, allocations: 167.3 kB / 0.8594 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.513/4.718, allocations: 0 / 0.8594 GB, free: 10.06 MB / 0.5417 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)