Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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.EXAC2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.3 MB / 213.4 MB, free: 13.71 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.0009079/0.0009076, allocations: 95.98 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08808/0.08808, allocations: 12.19 MB / 321.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.322/0.322, allocations: 78.07 MB / 450.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.909e-05, allocations: 0 / 0.5143 GB, free: 29.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.152, allocations: 69.23 MB / 0.5819 GB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5054/0.6574, allocations: 117.3 MB / 0.6964 GB, free: 7.434 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.6578, allocations: 85.14 kB / 0.6965 GB, free: 7.387 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1333/0.7911, allocations: 48.46 MB / 0.7438 GB, free: 15.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7912, allocations: 7.938 kB / 0.7438 GB, free: 15.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000111/0.7913, allocations: 32 kB / 0.7439 GB, free: 15.6 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.006411/0.7977, allocations: 2.33 MB / 0.7461 GB, free: 13.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.7978, allocations: 11.97 kB / 0.7462 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.8009, allocations: 0.6001 MB / 0.7467 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.8031, allocations: 1.168 MB / 0.7479 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005209/0.8037, allocations: 466.8 kB / 0.7483 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.8039, allocations: 75.91 kB / 0.7484 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002139/0.806, allocations: 1.226 MB / 0.7496 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.8082, allocations: 1.258 MB / 0.7508 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.8082, allocations: 4 kB / 0.7508 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.8084, allocations: 0 / 0.7508 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.8084, allocations: 31.95 kB / 0.7509 GB, free: 9.625 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.0107/0.8191, allocations: 5.484 MB / 0.7562 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008797/0.8279, allocations: 3.332 MB / 0.7595 GB, free: 1.277 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.8303, allocations: 0.7602 MB / 0.7602 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.8315, allocations: 0.7415 MB / 0.7609 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002166/0.8337, allocations: 0.9202 MB / 0.7618 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=143): time 4.298e-06/0.8337, allocations: 0 / 0.7618 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=143): time 0.01696/0.8506, allocations: 5.063 MB / 0.7668 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.8508, allocations: 145.8 kB / 0.7669 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.8532, allocations: 1.209 MB / 0.7681 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004023/0.8537, allocations: 33.75 kB / 0.7681 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006805/0.8543, allocations: 0.7343 MB / 0.7688 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007026/0.8551, allocations: 492.5 kB / 0.7693 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.8552, allocations: 0 / 0.7693 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.8554, allocations: 361.9 kB / 0.7697 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.8565, allocations: 0.6406 MB / 0.7703 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.8578, allocations: 0.8334 MB / 0.7711 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.8593, allocations: 0.7204 MB / 0.7718 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.8593, allocations: 0 / 0.7718 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.004656/0.864, allocations: 2.299 MB / 0.774 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007014/0.8647, allocations: 1.534 MB / 0.7755 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.8647, allocations: 7.984 kB / 0.7756 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008013/0.8727, allocations: 2.387 MB / 0.7779 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.8741, allocations: 243.6 kB / 0.7781 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/0.8797, allocations: 3.074 MB / 0.7811 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.8824, allocations: 254.6 kB / 0.7814 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.8826, allocations: 59.94 kB / 0.7814 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.8826, allocations: 4 kB / 0.7814 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004262/0.8868, allocations: 2.069 MB / 0.7834 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.8869, allocations: 4 kB / 0.7834 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007815/0.8947, allocations: 2.386 MB / 0.7858 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.8958, allocations: 239.6 kB / 0.786 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/0.901, allocations: 3.074 MB / 0.789 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.9037, allocations: 238.8 kB / 0.7892 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.9038, allocations: 63.97 kB / 0.7893 GB, free: 2.117 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,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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.0005005/0.9043, allocations: 124.7 kB / 0.7894 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01581/0.9202, allocations: 5.055 MB / 0.7944 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.9213, allocations: 189.7 kB / 0.7945 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.937, allocations: 5.115 MB / 0.7995 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.937, allocations: 16 kB / 0.7995 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.9371, allocations: 0 / 0.7995 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-05/0.9371, allocations: 7.969 kB / 0.7996 GB, free: 7.574 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.01934/0.9565, allocations: 7.353 MB / 0.8067 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.9565, allocations: 0 / 0.8067 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.9578, allocations: 195.9 kB / 0.8069 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006338/0.9642, allocations: 1.986 MB / 0.8089 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002576/0.9645, allocations: 11.98 kB / 0.8089 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.982, allocations: 7.72 MB / 0.8164 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.9821, allocations: 0 / 0.8164 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/1, allocations: 6.244 MB / 0.8225 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.001, allocations: 298.5 kB / 0.8228 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/1.002, allocations: 3.953 kB / 0.8228 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/1.004, allocations: 187.8 kB / 0.823 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009689/1.004, allocations: 281.2 kB / 0.8232 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.005, allocations: 43.92 kB / 0.8233 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001561/1.006, allocations: 0.9083 MB / 0.8242 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.006, allocations: 4 kB / 0.8242 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002482/1.009, allocations: 0.7952 MB / 0.825 GB, free: 13.25 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,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.01824/1.027, allocations: 7.003 MB / 0.8318 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01335/1.04, allocations: 4.283 MB / 0.836 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.04, allocations: 0 / 0.836 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005831/1.046, allocations: 1.931 MB / 0.8379 GB, free: 15.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.048, allocations: 117.7 kB / 0.838 GB, free: 15.86 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007167/1.055, allocations: 3.048 MB / 0.8409 GB, free: 12.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.056, allocations: 1.361 MB / 0.8423 GB, free: 11.38 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001382/1.058, allocations: 282.9 kB / 0.8425 GB, free: 11.09 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009277/1.059, allocations: 0.6828 MB / 0.8432 GB, free: 10.41 MB / 0.573 GB Notification: Performance of SimCode: time 2.064e-06/1.059, allocations: 4 kB / 0.8432 GB, free: 10.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4511/1.51, allocations: 47.73 MB / 0.8898 GB, free: 165.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.51, allocations: 125.8 kB / 0.8899 GB, free: 165.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.964/5.474, allocations: 0 / 0.8899 GB, free: 165.1 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)