Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.001074/0.001074, allocations: 174.9 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.224/1.224, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008862/0.0008862, allocations: 100.4 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.4304/0.4304, allocations: 78.9 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.385e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3132, allocations: 69.5 MB / 0.5492 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4369, allocations: 113.7 MB / 0.6602 GB, free: 1.887 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4372, allocations: 87.94 kB / 0.6603 GB, free: 1.801 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3812/0.8184, allocations: 44.06 MB / 0.7033 GB, free: 105.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.8185, allocations: 0 / 0.7033 GB, free: 105.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.221e-05/0.8186, allocations: 38.67 kB / 0.7034 GB, free: 105.5 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005192/0.8238, allocations: 2.153 MB / 0.7055 GB, free: 104.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8238, allocations: 14.06 kB / 0.7055 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/0.8241, allocations: 162.4 kB / 0.7056 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.8279, allocations: 0.7387 MB / 0.7064 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.8298, allocations: 1.123 MB / 0.7075 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/0.8302, allocations: 478.4 kB / 0.7079 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.8304, allocations: 115.8 kB / 0.708 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.8323, allocations: 1.281 MB / 0.7093 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.8324, allocations: 0 / 0.7093 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.8325, allocations: 40 kB / 0.7093 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.8325, allocations: 24 kB / 0.7093 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.8343, allocations: 1.179 MB / 0.7105 GB, free: 99.07 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.008753/0.8431, allocations: 5.474 MB / 0.7158 GB, free: 93.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/0.8501, allocations: 3.218 MB / 0.719 GB, free: 90.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.8513, allocations: 0.768 MB / 0.7197 GB, free: 89.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004123/0.8517, allocations: 0.7309 MB / 0.7204 GB, free: 88.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.8529, allocations: 0.9072 MB / 0.7213 GB, free: 87.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 2.655e-06/0.8529, allocations: 0 / 0.7213 GB, free: 87.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.01413/0.8671, allocations: 4.979 MB / 0.7262 GB, free: 82.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.8672, allocations: 120.1 kB / 0.7263 GB, free: 82.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.869, allocations: 1.331 MB / 0.7276 GB, free: 80.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000298/0.8693, allocations: 49.7 kB / 0.7276 GB, free: 80.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.8697, allocations: 0.6623 MB / 0.7283 GB, free: 80.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/0.8701, allocations: 484.2 kB / 0.7288 GB, free: 79.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.8702, allocations: 28 kB / 0.7288 GB, free: 79.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.8702, allocations: 361.9 kB / 0.7291 GB, free: 79.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.8713, allocations: 0.6406 MB / 0.7298 GB, free: 78.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.8723, allocations: 0.8247 MB / 0.7306 GB, free: 77.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.8733, allocations: 0.7204 MB / 0.7313 GB, free: 77.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8733, allocations: 4 kB / 0.7313 GB, free: 77.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003402/0.8767, allocations: 2.244 MB / 0.7335 GB, free: 74.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.8768, allocations: 4 kB / 0.7335 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.8768, allocations: 8 kB / 0.7335 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007653/0.8845, allocations: 2.55 MB / 0.736 GB, free: 72.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.8855, allocations: 239.6 kB / 0.7362 GB, free: 72.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/0.8894, allocations: 2.257 MB / 0.7384 GB, free: 69.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.8916, allocations: 270.7 kB / 0.7387 GB, free: 69.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.8918, allocations: 51.98 kB / 0.7387 GB, free: 69.52 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,iEEEX1.rotatingExciter.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: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.8921, allocations: 177.5 kB / 0.7389 GB, free: 69.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.8924, allocations: 177.8 kB / 0.739 GB, free: 69.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.906, allocations: 5.196 MB / 0.7441 GB, free: 63.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.9061, allocations: 19.98 kB / 0.7441 GB, free: 63.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.9061, allocations: 0 / 0.7441 GB, free: 63.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/0.9061, allocations: 3.984 kB / 0.7441 GB, free: 63.93 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.01624/0.9224, allocations: 7.362 MB / 0.7513 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.9224, allocations: 3.938 kB / 0.7513 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009687/0.9234, allocations: 151.8 kB / 0.7515 GB, free: 56.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005729/0.9291, allocations: 2.009 MB / 0.7534 GB, free: 54.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/0.9294, allocations: 28 kB / 0.7535 GB, free: 54.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/0.9448, allocations: 7.858 MB / 0.7611 GB, free: 46.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.9449, allocations: 7.938 kB / 0.7611 GB, free: 46.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.9599, allocations: 6.164 MB / 0.7672 GB, free: 40.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/0.9606, allocations: 302.5 kB / 0.7675 GB, free: 39.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.9609, allocations: 24 kB / 0.7675 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.9626, allocations: 191.8 kB / 0.7677 GB, free: 39.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007448/0.9634, allocations: 261.3 kB / 0.7679 GB, free: 39.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.9635, allocations: 35.98 kB / 0.7679 GB, free: 39.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0013/0.9648, allocations: 1.012 MB / 0.7689 GB, free: 38.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9648, allocations: 0 / 0.7689 GB, free: 38.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001382/0.9662, allocations: 0.5423 MB / 0.7695 GB, free: 37.7 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * 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.01572/0.9819, allocations: 6.961 MB / 0.7763 GB, free: 30.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007202/0.9892, allocations: 2.469 MB / 0.7787 GB, free: 28.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.9893, allocations: 0 / 0.7787 GB, free: 28.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005737/0.995, allocations: 1.905 MB / 0.7805 GB, free: 26.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.9966, allocations: 143.7 kB / 0.7807 GB, free: 26.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/1.003, allocations: 2.87 MB / 0.7835 GB, free: 23.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/1.004, allocations: 1.309 MB / 0.7847 GB, free: 21.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007262/1.004, allocations: 137.4 kB / 0.7849 GB, free: 21.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007857/1.005, allocations: 0.6477 MB / 0.7855 GB, free: 21.1 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/1.005, allocations: 0 / 0.7855 GB, free: 21.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0617/1.067, allocations: 40.26 MB / 0.8248 GB, free: 13 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/1.067, allocations: 175.3 kB / 0.825 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/4.106, allocations: 0 / 0.825 GB, free: 12.77 MB / 0.5105 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)