Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 172.9 kB / 7.647 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.324/1.324, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.0008243/0.0008243, allocations: 105.7 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4634/0.4634, allocations: 78.95 MB / 410.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.865e-05, allocations: 0 / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1519, allocations: 69.52 MB / 0.5425 GB, free: 5.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4104/0.5624, allocations: 111.9 MB / 0.6518 GB, free: 2.062 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5627, allocations: 89.88 kB / 0.6519 GB, free: 1.977 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1161/0.6788, allocations: 42.23 MB / 0.6931 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6789, allocations: 0 / 0.6931 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.253e-05/0.679, allocations: 32 kB / 0.6932 GB, free: 7.715 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005912/0.6849, allocations: 2.123 MB / 0.6952 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.685, allocations: 12.03 kB / 0.6952 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004395/0.6894, allocations: 0.7282 MB / 0.696 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.6918, allocations: 1.066 MB / 0.697 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004512/0.6923, allocations: 430.4 kB / 0.6974 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.6925, allocations: 63.94 kB / 0.6975 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002056/0.6946, allocations: 1.082 MB / 0.6985 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.6966, allocations: 1.117 MB / 0.6996 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.6966, allocations: 0 / 0.6996 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.6967, allocations: 8.422 kB / 0.6996 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.6968, allocations: 33.77 kB / 0.6997 GB, free: 0.8398 MB / 0.4948 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.7074, allocations: 5.157 MB / 0.7047 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007545/0.7149, allocations: 3.132 MB / 0.7077 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.7162, allocations: 0.7132 MB / 0.7084 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/0.7168, allocations: 0.7297 MB / 0.7092 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.7182, allocations: 0.8578 MB / 0.71 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=131): time 3.437e-06/0.7182, allocations: 0 / 0.71 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131): time 0.0159/0.7341, allocations: 5.041 MB / 0.7149 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.7343, allocations: 124.2 kB / 0.715 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.7364, allocations: 1.136 MB / 0.7161 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003615/0.7368, allocations: 29.7 kB / 0.7162 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004837/0.7373, allocations: 0.6592 MB / 0.7168 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005771/0.7378, allocations: 453.2 kB / 0.7172 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.506e-05/0.7379, allocations: 0 / 0.7172 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7381, allocations: 353.9 kB / 0.7176 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.7391, allocations: 0.5898 MB / 0.7182 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.7402, allocations: 0.7616 MB / 0.7189 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.7417, allocations: 0.6622 MB / 0.7196 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.7417, allocations: 4 kB / 0.7196 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004176/0.7459, allocations: 2.057 MB / 0.7216 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.7459, allocations: 12 kB / 0.7216 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.746, allocations: 7.953 kB / 0.7216 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007637/0.7536, allocations: 2.29 MB / 0.7238 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.7548, allocations: 211.7 kB / 0.724 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/0.7596, allocations: 2.419 MB / 0.7264 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.7619, allocations: 218.8 kB / 0.7266 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/0.7621, allocations: 55.97 kB / 0.7266 GB, free: 4.484 MB / 0.5261 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 (123): * Single equations (assignments): 121 * 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.0003482/0.7625, allocations: 133.6 kB / 0.7268 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01597/0.7784, allocations: 5.042 MB / 0.7317 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008983/0.7794, allocations: 165.9 kB / 0.7319 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/0.7954, allocations: 5.152 MB / 0.7369 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.7955, allocations: 16 kB / 0.7369 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.7955, allocations: 0 / 0.7369 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.065e-05/0.7955, allocations: 7.969 kB / 0.7369 GB, free: 9.93 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.01864/0.8142, allocations: 7.145 MB / 0.7439 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.8142, allocations: 0 / 0.7439 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/0.8152, allocations: 151.8 kB / 0.744 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006588/0.8218, allocations: 2.039 MB / 0.746 GB, free: 476 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002432/0.8221, allocations: 8 kB / 0.746 GB, free: 468 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/0.8415, allocations: 9.219 MB / 0.755 GB, free: 7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8416, allocations: 4.031 kB / 0.755 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/0.8587, allocations: 6.075 MB / 0.761 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007581/0.8595, allocations: 290.6 kB / 0.7612 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003369/0.8599, allocations: 7.953 kB / 0.7613 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.8616, allocations: 147.9 kB / 0.7614 GB, free: 428 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009935/0.8626, allocations: 261.3 kB / 0.7616 GB, free: 164 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.8628, allocations: 43.98 kB / 0.7617 GB, free: 120 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.2856/1.148, allocations: 0.8547 MB / 0.7625 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.72e-07/1.148, allocations: 0 / 0.7625 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002028/1.15, allocations: 492.4 kB / 0.763 GB, free: 136.1 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,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.01585/1.166, allocations: 6.846 MB / 0.7697 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006331/1.173, allocations: 2.331 MB / 0.772 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.173, allocations: 3.875 kB / 0.772 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005157/1.178, allocations: 1.951 MB / 0.7739 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.179, allocations: 108.2 kB / 0.774 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/1.185, allocations: 2.721 MB / 0.7766 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/1.185, allocations: 1.282 MB / 0.7779 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000548/1.186, allocations: 118 kB / 0.778 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007504/1.186, allocations: 0.6275 MB / 0.7786 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/1.186, allocations: 0 / 0.7786 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.705/5.892, allocations: 36.9 MB / 0.8146 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/5.892, allocations: 120.6 kB / 0.8148 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.739/9.631, allocations: 0 / 0.8148 GB, free: 131.6 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)