Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.000986/0.0009861, allocations: 175.1 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.266/1.266, 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.0008119/0.0008119, allocations: 82.64 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.06029/0.06029, allocations: 12.21 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.2674/0.2674, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.281e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 69.24 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.4981, allocations: 115 MB / 0.7013 GB, free: 1.367 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4984, allocations: 91.48 kB / 0.7014 GB, free: 1.316 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.119/0.6173, allocations: 46.47 MB / 0.7468 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6174, allocations: 0 / 0.7468 GB, free: 10.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.716e-05/0.6175, allocations: 39.94 kB / 0.7468 GB, free: 10.18 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.005537/0.623, allocations: 2.201 MB / 0.7489 GB, free: 8.074 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6231, allocations: 15.98 kB / 0.749 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002744/0.6234, allocations: 165.2 kB / 0.7491 GB, free: 7.957 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.6263, allocations: 0.5837 MB / 0.7497 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.6282, allocations: 1.096 MB / 0.7508 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.6286, allocations: 466.7 kB / 0.7512 GB, free: 6.051 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.6289, allocations: 114.2 kB / 0.7513 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.631, allocations: 1.305 MB / 0.7526 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.631, allocations: 0 / 0.7526 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6311, allocations: 40.12 kB / 0.7526 GB, free: 5.086 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.6311, allocations: 31.95 kB / 0.7527 GB, free: 5.055 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.633, allocations: 1.184 MB / 0.7538 GB, free: 4.316 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.00859/0.6416, allocations: 5.389 MB / 0.7591 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007703/0.6494, allocations: 3.257 MB / 0.7623 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.6508, allocations: 0.768 MB / 0.763 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.6514, allocations: 0.7336 MB / 0.7637 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/0.6529, allocations: 0.9189 MB / 0.7646 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=133): time 3.336e-06/0.6529, allocations: 0 / 0.7646 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=133): time 0.0146/0.6675, allocations: 4.989 MB / 0.7695 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.6676, allocations: 124.1 kB / 0.7696 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.6696, allocations: 1.265 MB / 0.7708 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003654/0.67, allocations: 45.7 kB / 0.7709 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.6705, allocations: 0.6718 MB / 0.7715 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000597/0.6711, allocations: 485 kB / 0.772 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.6712, allocations: 24.06 kB / 0.772 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6714, allocations: 361.9 kB / 0.7724 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.6726, allocations: 0.6484 MB / 0.773 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.6739, allocations: 0.8208 MB / 0.7738 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.6752, allocations: 0.7126 MB / 0.7745 GB, free: 84 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.6752, allocations: 3.938 kB / 0.7745 GB, free: 80 kB / 0.4948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004478/0.6797, allocations: 2.271 MB / 0.7767 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.6797, allocations: 4.5 kB / 0.7767 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.6798, allocations: 15.98 kB / 0.7768 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007983/0.6878, allocations: 2.546 MB / 0.7792 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.6889, allocations: 239.6 kB / 0.7795 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.6931, allocations: 2.261 MB / 0.7817 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.6952, allocations: 282.6 kB / 0.7819 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.6954, allocations: 51.98 kB / 0.782 GB, free: 8.375 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,eSDC1A.rotatingExciterLimited.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: 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.0002996/0.6957, allocations: 172.8 kB / 0.7822 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.696, allocations: 173.8 kB / 0.7823 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/0.7105, allocations: 5.22 MB / 0.7874 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.7106, allocations: 16 kB / 0.7874 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.7106, allocations: 0 / 0.7874 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/0.7106, allocations: 11.97 kB / 0.7874 GB, free: 2.758 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.01758/0.7282, allocations: 7.344 MB / 0.7946 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.7283, allocations: 4 kB / 0.7946 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.7294, allocations: 167.8 kB / 0.7948 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006195/0.7356, allocations: 2.005 MB / 0.7967 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/0.7359, allocations: 35.98 kB / 0.7968 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/0.7531, allocations: 7.845 MB / 0.8044 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.7531, allocations: 0 / 0.8044 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.7696, allocations: 6.198 MB / 0.8105 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/0.7703, allocations: 290.5 kB / 0.8108 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/0.7707, allocations: 28 kB / 0.8108 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/0.7723, allocations: 191.8 kB / 0.811 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008103/0.7731, allocations: 277.2 kB / 0.8112 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.7733, allocations: 35.98 kB / 0.8113 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00137/0.7746, allocations: 0.977 MB / 0.8122 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7747, allocations: 0 / 0.8122 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00135/0.776, allocations: 0.5384 MB / 0.8128 GB, free: 8.508 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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.01644/0.7925, allocations: 6.962 MB / 0.8196 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006563/0.7991, allocations: 2.469 MB / 0.822 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7991, allocations: 0 / 0.822 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005306/0.8044, allocations: 1.931 MB / 0.8239 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.8055, allocations: 144 kB / 0.824 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.811, allocations: 2.955 MB / 0.8269 GB, free: 9.922 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.8117, allocations: 1.305 MB / 0.8281 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000581/0.8123, allocations: 141.4 kB / 0.8283 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007996/0.8131, allocations: 0.6594 MB / 0.8289 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.8131, allocations: 0 / 0.8289 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3131/1.126, allocations: 40.12 MB / 0.8681 GB, free: 184.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/1.126, allocations: 178.8 kB / 0.8683 GB, free: 183.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.159/4.285, allocations: 1.656 kB / 0.8683 GB, free: 183.8 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)