Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.001001/0.001001, allocations: 173.9 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.275/1.275, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.0007969/0.0007971, allocations: 83.73 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.06404/0.06404, allocations: 12.21 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.2756/0.2756, allocations: 78.02 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.669e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 69.24 MB / 0.5889 GB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4525/0.5785, allocations: 116.7 MB / 0.7029 GB, free: 15.88 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5788, allocations: 90.25 kB / 0.703 GB, free: 15.83 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1245/0.7033, allocations: 47.45 MB / 0.7493 GB, free: 7.883 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7033, allocations: 0 / 0.7493 GB, free: 7.883 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.7035, allocations: 35.94 kB / 0.7493 GB, free: 7.848 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006091/0.7095, allocations: 2.245 MB / 0.7515 GB, free: 5.707 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.7096, allocations: 15.98 kB / 0.7515 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003331/0.71, allocations: 171.2 kB / 0.7517 GB, free: 5.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/0.713, allocations: 0.5856 MB / 0.7523 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.7151, allocations: 1.121 MB / 0.7534 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005034/0.7156, allocations: 0.4979 MB / 0.7538 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.7159, allocations: 116 kB / 0.754 GB, free: 3.543 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.7182, allocations: 1.36 MB / 0.7553 GB, free: 2.629 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.7182, allocations: 3.938 kB / 0.7553 GB, free: 2.625 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.7183, allocations: 42.75 kB / 0.7553 GB, free: 2.617 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.7184, allocations: 31.95 kB / 0.7554 GB, free: 2.586 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.7204, allocations: 1.235 MB / 0.7566 GB, free: 1.816 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.009512/0.73, allocations: 5.463 MB / 0.7619 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007997/0.738, allocations: 3.292 MB / 0.7651 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.7395, allocations: 0.7798 MB / 0.7659 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.7401, allocations: 0.7375 MB / 0.7666 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001507/0.7416, allocations: 0.9345 MB / 0.7675 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=136): time 3.507e-06/0.7416, allocations: 0 / 0.7675 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=136): time 0.01568/0.7573, allocations: 5.114 MB / 0.7725 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.7574, allocations: 120.1 kB / 0.7726 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.7596, allocations: 1.278 MB / 0.7739 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00033/0.76, allocations: 45.7 kB / 0.7739 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/0.7605, allocations: 0.7109 MB / 0.7746 GB, free: 92 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004961/0.761, allocations: 481.2 kB / 0.7751 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.7611, allocations: 32 kB / 0.7751 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7612, allocations: 361.9 kB / 0.7754 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.7624, allocations: 0.6523 MB / 0.7761 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.7637, allocations: 0.8442 MB / 0.7769 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.7649, allocations: 0.7165 MB / 0.7776 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7649, allocations: 8 kB / 0.7776 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004395/0.7693, allocations: 2.373 MB / 0.7799 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.7693, allocations: 8 kB / 0.7799 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.7693, allocations: 4 kB / 0.7799 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008431/0.7778, allocations: 2.661 MB / 0.7825 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.7788, allocations: 223.7 kB / 0.7828 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004772/0.7836, allocations: 2.917 MB / 0.7856 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.7858, allocations: 286.5 kB / 0.7859 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.786, allocations: 51.98 kB / 0.7859 GB, free: 4.367 MB / 0.5105 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,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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.000334/0.7863, allocations: 176.8 kB / 0.7861 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/0.7866, allocations: 173.8 kB / 0.7863 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.8019, allocations: 5.252 MB / 0.7914 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.802, allocations: 16 kB / 0.7914 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.802, allocations: 0 / 0.7914 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/0.8021, allocations: 15.92 kB / 0.7914 GB, free: 14.71 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.01824/0.8203, allocations: 7.41 MB / 0.7987 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.8204, allocations: 4 kB / 0.7987 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.8216, allocations: 175.8 kB / 0.7988 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006703/0.8283, allocations: 2.005 MB / 0.8008 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004211/0.8288, allocations: 27.98 kB / 0.8008 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/0.8472, allocations: 7.853 MB / 0.8085 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.8472, allocations: 3.953 kB / 0.8085 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/0.8648, allocations: 6.272 MB / 0.8146 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000814/0.8657, allocations: 294.5 kB / 0.8149 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.866, allocations: 28 kB / 0.8149 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/0.8678, allocations: 195.8 kB / 0.8151 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000913/0.8687, allocations: 285.2 kB / 0.8154 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.8688, allocations: 35.98 kB / 0.8154 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001503/0.8703, allocations: 0.9813 MB / 0.8164 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8703, allocations: 0 / 0.8164 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001637/0.872, allocations: 0.5462 MB / 0.8169 GB, free: 4.277 MB / 0.5417 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01754/0.8895, allocations: 7.048 MB / 0.8238 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007263/0.8969, allocations: 2.494 MB / 0.8262 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8969, allocations: 3.938 kB / 0.8262 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005655/0.9026, allocations: 1.948 MB / 0.8281 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.9038, allocations: 141.7 kB / 0.8283 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/0.9098, allocations: 3.005 MB / 0.8312 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/0.9108, allocations: 1.324 MB / 0.8325 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006344/0.9114, allocations: 149.7 kB / 0.8326 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008921/0.9123, allocations: 0.6633 MB / 0.8333 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of SimCode: time 9.81e-07/0.9123, allocations: 0 / 0.8333 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3326/1.245, allocations: 41.41 MB / 0.8737 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/1.245, allocations: 173.5 kB / 0.8739 GB, free: 182.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.206/4.451, allocations: 1.125 kB / 0.8739 GB, free: 182.4 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)