Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001091/0.001091, 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 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008253/0.0008254, allocations: 86.69 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06779/0.06779, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2636/0.2636, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.403e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 69.25 MB / 0.589 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3985/0.5119, allocations: 115.3 MB / 0.7016 GB, free: 1.137 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5123, allocations: 88.06 kB / 0.7017 GB, free: 1.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.123/0.6353, allocations: 47.37 MB / 0.7479 GB, free: 9.238 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.6353, allocations: 3.938 kB / 0.7479 GB, free: 9.234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.515e-05/0.6354, allocations: 31.94 kB / 0.748 GB, free: 9.203 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.005848/0.6413, allocations: 2.211 MB / 0.7501 GB, free: 7.094 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6414, allocations: 11.98 kB / 0.7501 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.6416, allocations: 172.7 kB / 0.7503 GB, free: 6.973 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.6446, allocations: 0.5805 MB / 0.7509 GB, free: 6.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.6467, allocations: 1.101 MB / 0.7519 GB, free: 5.559 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000466/0.6472, allocations: 469.2 kB / 0.7524 GB, free: 5.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.6474, allocations: 117.9 kB / 0.7525 GB, free: 4.988 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.6495, allocations: 1.323 MB / 0.7538 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.6496, allocations: 0 / 0.7538 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.6497, allocations: 42.56 kB / 0.7538 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.6497, allocations: 35.94 kB / 0.7539 GB, free: 4.055 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.6517, allocations: 1.205 MB / 0.755 GB, free: 3.301 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.008829/0.6606, allocations: 5.43 MB / 0.7603 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007905/0.6685, allocations: 3.265 MB / 0.7635 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.6698, allocations: 0.7758 MB / 0.7643 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006167/0.6704, allocations: 0.7336 MB / 0.765 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.672, allocations: 0.919 MB / 0.7659 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=134): time 3.587e-06/0.672, allocations: 0 / 0.7659 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of matching and sorting (n=134): time 0.01524/0.6872, allocations: 5.04 MB / 0.7708 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.6873, allocations: 120.1 kB / 0.7709 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.6892, allocations: 1.265 MB / 0.7722 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.6895, allocations: 53.7 kB / 0.7722 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.69, allocations: 0.6796 MB / 0.7729 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004767/0.6905, allocations: 485 kB / 0.7734 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.6906, allocations: 28 kB / 0.7734 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6907, allocations: 361.9 kB / 0.7737 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.6918, allocations: 0.6484 MB / 0.7744 GB, free: 328 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.693, allocations: 0.8247 MB / 0.7752 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.6943, allocations: 0.7165 MB / 0.7759 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.6943, allocations: 8 kB / 0.7759 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004063/0.6983, allocations: 2.267 MB / 0.7781 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6984, allocations: 8 kB / 0.7781 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.6984, allocations: 7.938 kB / 0.7781 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008207/0.7066, allocations: 2.543 MB / 0.7806 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.7078, allocations: 247.6 kB / 0.7808 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/0.7121, allocations: 2.257 MB / 0.783 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.7143, allocations: 282.5 kB / 0.7833 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.7144, allocations: 51.98 kB / 0.7833 GB, free: 7.027 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * 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.0002953/0.7147, allocations: 172.7 kB / 0.7835 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.715, allocations: 173.8 kB / 0.7837 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/0.7302, allocations: 5.224 MB / 0.7888 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.7302, allocations: 12 kB / 0.7888 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.7302, allocations: 4 kB / 0.7888 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-05/0.7303, allocations: 11.97 kB / 0.7888 GB, free: 1.406 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 postOpt removeSimpleEquations (simulation): time 0.0184/0.7487, allocations: 7.414 MB / 0.796 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.7488, allocations: 0 / 0.796 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.7499, allocations: 171.8 kB / 0.7962 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00636/0.7563, allocations: 2.006 MB / 0.7982 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002626/0.7566, allocations: 31.98 kB / 0.7982 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.7737, allocations: 7.837 MB / 0.8059 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7738, allocations: 0 / 0.8059 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01716/0.7909, allocations: 6.26 MB / 0.812 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006888/0.7917, allocations: 298.4 kB / 0.8122 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/0.7919, allocations: 31.95 kB / 0.8123 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.7936, allocations: 187.8 kB / 0.8125 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008003/0.7945, allocations: 273.3 kB / 0.8127 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.7946, allocations: 39.98 kB / 0.8128 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001355/0.7959, allocations: 0.977 MB / 0.8137 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7959, allocations: 0 / 0.8137 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001586/0.7975, allocations: 0.5384 MB / 0.8142 GB, free: 7.02 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,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.01754/0.8151, allocations: 7.036 MB / 0.8211 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006847/0.822, allocations: 2.469 MB / 0.8235 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.822, allocations: 0 / 0.8235 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005509/0.8275, allocations: 1.939 MB / 0.8254 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.8287, allocations: 140 kB / 0.8255 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/0.8345, allocations: 2.978 MB / 0.8285 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.8352, allocations: 1.309 MB / 0.8297 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005886/0.8358, allocations: 141.5 kB / 0.8299 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008259/0.8366, allocations: 0.6594 MB / 0.8305 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of SimCode: time 7.52e-07/0.8366, allocations: 0 / 0.8305 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/1.132, allocations: 40.25 MB / 0.8698 GB, free: 179.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00012/1.132, allocations: 174.8 kB / 0.87 GB, free: 179.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/4.272, allocations: 0 / 0.87 GB, free: 179.5 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)