Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.001387/0.001387, allocations: 180.9 kB / 7.65 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.404/1.404, 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.0008467/0.0008464, allocations: 94.17 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5049/0.5049, allocations: 78.94 MB / 410.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.657e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1714, allocations: 69.52 MB / 0.5425 GB, free: 5.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5426/0.714, allocations: 113.8 MB / 0.6537 GB, free: 212 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.7143, allocations: 92.47 kB / 0.6537 GB, free: 120 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1257/0.84, allocations: 45.85 MB / 0.6985 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8401, allocations: 0 / 0.6985 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001791/0.8403, allocations: 36.94 kB / 0.6985 GB, free: 2.25 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.006924/0.8472, allocations: 2.205 MB / 0.7007 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8473, allocations: 12.03 kB / 0.7007 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.8518, allocations: 0.7429 MB / 0.7014 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.8549, allocations: 1.16 MB / 0.7026 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005289/0.8555, allocations: 430.5 kB / 0.703 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/0.8559, allocations: 67.91 kB / 0.703 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002658/0.8586, allocations: 1.145 MB / 0.7042 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.8612, allocations: 1.169 MB / 0.7053 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.8612, allocations: 0 / 0.7053 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.8614, allocations: 1.5 kB / 0.7053 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.8614, allocations: 28 kB / 0.7053 GB, free: 11.07 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.01058/0.872, allocations: 5.382 MB / 0.7106 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007758/0.8798, allocations: 3.214 MB / 0.7137 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.8809, allocations: 0.7365 MB / 0.7144 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/0.8815, allocations: 0.7375 MB / 0.7152 GB, free: 500 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/0.883, allocations: 0.8774 MB / 0.716 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=134): time 5.441e-06/0.8831, allocations: 4 kB / 0.716 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=134): time 0.01555/0.8986, allocations: 4.958 MB / 0.7209 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.8987, allocations: 124.1 kB / 0.721 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.9017, allocations: 1.209 MB / 0.7222 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.9021, allocations: 25.7 kB / 0.7222 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006852/0.9028, allocations: 0.6907 MB / 0.7229 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007441/0.9036, allocations: 465 kB / 0.7233 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.9037, allocations: 0 / 0.7233 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.9039, allocations: 357.9 kB / 0.7237 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.9051, allocations: 0.6183 MB / 0.7243 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.9064, allocations: 0.7857 MB / 0.725 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.908, allocations: 0.7009 MB / 0.7257 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.908, allocations: 0 / 0.7257 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004522/0.9126, allocations: 2.142 MB / 0.7278 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.9126, allocations: 11.95 kB / 0.7278 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.9126, allocations: 11.98 kB / 0.7278 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007638/0.9203, allocations: 2.277 MB / 0.73 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.9214, allocations: 238.6 kB / 0.7303 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/0.9262, allocations: 2.419 MB / 0.7326 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.9287, allocations: 238.6 kB / 0.7329 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.929, allocations: 51.98 kB / 0.7329 GB, free: 14.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * 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.0003652/0.9294, allocations: 142.6 kB / 0.7331 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01508/0.9444, allocations: 4.954 MB / 0.7379 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008406/0.9453, allocations: 165.9 kB / 0.738 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/0.961, allocations: 5.111 MB / 0.743 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.961, allocations: 15.98 kB / 0.7431 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.961, allocations: 0 / 0.7431 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-05/0.9611, allocations: 11.97 kB / 0.7431 GB, free: 3.699 MB / 0.5417 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.01933/0.9804, allocations: 7.221 MB / 0.7501 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.9805, allocations: 0.8438 kB / 0.7501 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.9816, allocations: 171.8 kB / 0.7503 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006339/0.988, allocations: 1.986 MB / 0.7522 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002993/0.9883, allocations: 15.98 kB / 0.7522 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/1.006, allocations: 7.714 MB / 0.7598 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.006, allocations: 0 / 0.7598 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3937/1.4, allocations: 6.132 MB / 0.7658 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.401, allocations: 302.2 kB / 0.766 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/1.401, allocations: 0 / 0.766 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/1.403, allocations: 173 kB / 0.7662 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008054/1.403, allocations: 268.2 kB / 0.7665 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.404, allocations: 40.38 kB / 0.7665 GB, free: 134 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001241/1.405, allocations: 0.912 MB / 0.7674 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.405, allocations: 0 / 0.7674 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001504/1.406, allocations: 0.4897 MB / 0.7679 GB, free: 133.8 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.01704/1.423, allocations: 6.902 MB / 0.7746 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006951/1.43, allocations: 2.388 MB / 0.7769 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.43, allocations: 0 / 0.7769 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005702/1.436, allocations: 1.884 MB / 0.7788 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/1.438, allocations: 119.3 kB / 0.7789 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.449, allocations: 2.861 MB / 0.7817 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.45, allocations: 1.311 MB / 0.783 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001002/1.451, allocations: 140.5 kB / 0.7831 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.452, allocations: 0.6507 MB / 0.7837 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.362e-06/1.452, allocations: 2.156 kB / 0.7837 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08636/1.538, allocations: 37.83 MB / 0.8207 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.539, allocations: 123.1 kB / 0.8208 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/4.909, allocations: 0 / 0.8208 GB, free: 129.1 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)