Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.001108/0.001108, 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.325/1.325, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008655/0.0008655, allocations: 85.02 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06919/0.06919, allocations: 12.18 MB / 326.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2699/0.2699, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.233e-05, allocations: 11.98 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 69.24 MB / 0.5889 GB, free: 2.922 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.533, allocations: 113.4 MB / 0.6997 GB, free: 2.957 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5333, allocations: 90.94 kB / 0.6998 GB, free: 2.906 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1144/0.6478, allocations: 43.74 MB / 0.7425 GB, free: 14.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6478, allocations: 0 / 0.7425 GB, free: 14.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.462e-05/0.6479, allocations: 36 kB / 0.7426 GB, free: 14.1 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005352/0.6532, allocations: 2.121 MB / 0.7446 GB, free: 12.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6533, allocations: 11.98 kB / 0.7446 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002527/0.6536, allocations: 166.3 kB / 0.7448 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.6566, allocations: 0.5687 MB / 0.7454 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.6583, allocations: 1.02 MB / 0.7463 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004227/0.6587, allocations: 464.8 kB / 0.7468 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.6589, allocations: 111.8 kB / 0.7469 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.661, allocations: 1.266 MB / 0.7481 GB, free: 9.188 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.661, allocations: 4 kB / 0.7481 GB, free: 9.184 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.6612, allocations: 40.56 kB / 0.7482 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.6612, allocations: 27.95 kB / 0.7482 GB, free: 9.148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.6631, allocations: 1.141 MB / 0.7493 GB, free: 8.434 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.008178/0.6712, allocations: 5.19 MB / 0.7544 GB, free: 4.336 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007507/0.6788, allocations: 3.189 MB / 0.7575 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.68, allocations: 0.7418 MB / 0.7582 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005765/0.6806, allocations: 0.7336 MB / 0.7589 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.682, allocations: 0.8839 MB / 0.7598 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=131): time 3.657e-06/0.682, allocations: 0 / 0.7598 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=131): time 0.0156/0.6976, allocations: 5.13 MB / 0.7648 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.6977, allocations: 124.1 kB / 0.7649 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.6996, allocations: 1.188 MB / 0.7661 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003052/0.7, allocations: 49.7 kB / 0.7661 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.7004, allocations: 0.6675 MB / 0.7668 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/0.7009, allocations: 465.1 kB / 0.7672 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.701, allocations: 32 kB / 0.7673 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7011, allocations: 357.9 kB / 0.7676 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.7023, allocations: 0.621 MB / 0.7682 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.7034, allocations: 0.7967 MB / 0.769 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.7046, allocations: 0.6844 MB / 0.7697 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7046, allocations: 4 kB / 0.7697 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.004161/0.7088, allocations: 2.193 MB / 0.7718 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.7088, allocations: 8 kB / 0.7718 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.7088, allocations: 7.984 kB / 0.7718 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008317/0.7172, allocations: 2.547 MB / 0.7743 GB, free: 280 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.7183, allocations: 219.7 kB / 0.7745 GB, free: 60 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004451/0.7227, allocations: 2.265 MB / 0.7767 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.725, allocations: 254.6 kB / 0.777 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.7252, allocations: 55.98 kB / 0.777 GB, free: 13.46 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,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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.0003792/0.7256, allocations: 164.8 kB / 0.7772 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.7259, allocations: 169.9 kB / 0.7773 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.7417, allocations: 5.271 MB / 0.7825 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.7418, allocations: 15.98 kB / 0.7825 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.7418, allocations: 7.953 kB / 0.7825 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/0.7418, allocations: 3.984 kB / 0.7825 GB, free: 7.801 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.01891/0.7608, allocations: 7.32 MB / 0.7897 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.7608, allocations: 4.031 kB / 0.7897 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.7619, allocations: 151.8 kB / 0.7898 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00679/0.7687, allocations: 2.065 MB / 0.7918 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003335/0.7691, allocations: 28 kB / 0.7919 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.7888, allocations: 9.391 MB / 0.801 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.7889, allocations: 8 kB / 0.801 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.8058, allocations: 6.189 MB / 0.8071 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008181/0.8066, allocations: 278.7 kB / 0.8073 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005596/0.8072, allocations: 28 kB / 0.8074 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.809, allocations: 167.9 kB / 0.8075 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000885/0.8099, allocations: 261.3 kB / 0.8078 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.8101, allocations: 35.98 kB / 0.8078 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001508/0.8116, allocations: 0.92 MB / 0.8087 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8116, allocations: 0 / 0.8087 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001848/0.8135, allocations: 0.5345 MB / 0.8092 GB, free: 11.96 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,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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 {1 3,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01721/0.8307, allocations: 6.988 MB / 0.8161 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006945/0.8377, allocations: 2.406 MB / 0.8184 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8377, allocations: 0.875 kB / 0.8184 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005535/0.8433, allocations: 2.02 MB / 0.8204 GB, free: 464 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.8445, allocations: 133.3 kB / 0.8205 GB, free: 328 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/0.8507, allocations: 2.836 MB / 0.8233 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.8515, allocations: 1.277 MB / 0.8245 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005803/0.8521, allocations: 121 kB / 0.8246 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000831/0.853, allocations: 0.6281 MB / 0.8253 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/0.853, allocations: 0 / 0.8253 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05787/0.9108, allocations: 39.2 MB / 0.8635 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.9111, allocations: 177.6 kB / 0.8637 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/4.013, allocations: 3.938 kB / 0.8637 GB, free: 4.031 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)