Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",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.0009192/0.0009192, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.0008677, allocations: 94.12 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4537/0.4537, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.465e-05, allocations: 4 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3566, allocations: 69.5 MB / 0.5492 GB, free: 19.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.4902, allocations: 110.9 MB / 0.6575 GB, free: 4.676 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4905, allocations: 91.88 kB / 0.6576 GB, free: 4.586 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3968/0.8873, allocations: 40.09 MB / 0.6968 GB, free: 106.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.8873, allocations: 0 / 0.6968 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.243e-05/0.8874, allocations: 27.28 kB / 0.6968 GB, free: 106.3 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.0045/0.8919, allocations: 2.045 MB / 0.6988 GB, free: 105.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.892, allocations: 15.38 kB / 0.6988 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.8921, allocations: 162.8 kB / 0.699 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/0.8958, allocations: 0.7205 MB / 0.6997 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.8973, allocations: 1.038 MB / 0.7007 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/0.8977, allocations: 463.9 kB / 0.7011 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.8979, allocations: 113.2 kB / 0.7012 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.9, allocations: 1.238 MB / 0.7024 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.9, allocations: 0 / 0.7024 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.9001, allocations: 42.97 kB / 0.7025 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.9002, allocations: 24.75 kB / 0.7025 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.902, allocations: 1.128 MB / 0.7036 GB, free: 102.9 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.007973/0.91, allocations: 5.052 MB / 0.7085 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007119/0.9171, allocations: 3.211 MB / 0.7117 GB, free: 97.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008769/0.918, allocations: 0.732 MB / 0.7124 GB, free: 96.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.9182, allocations: 20.91 kB / 0.7124 GB, free: 96.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.9182, allocations: 59.38 kB / 0.7125 GB, free: 96.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 2.836e-06/0.9182, allocations: 0 / 0.7125 GB, free: 96.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.01364/0.9319, allocations: 5.013 MB / 0.7174 GB, free: 91.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.9319, allocations: 149.5 kB / 0.7175 GB, free: 91.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.9334, allocations: 1.184 MB / 0.7187 GB, free: 89.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.9335, allocations: 45.7 kB / 0.7187 GB, free: 89.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.9339, allocations: 0.632 MB / 0.7193 GB, free: 89.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.9342, allocations: 457.1 kB / 0.7198 GB, free: 88.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.9343, allocations: 24 kB / 0.7198 GB, free: 88.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.9344, allocations: 357.9 kB / 0.7201 GB, free: 88.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008305/0.9352, allocations: 0.5781 MB / 0.7207 GB, free: 87.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/0.9361, allocations: 0.7615 MB / 0.7214 GB, free: 86.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008993/0.937, allocations: 0.6453 MB / 0.7221 GB, free: 86.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.937, allocations: 4 kB / 0.7221 GB, free: 86.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003226/0.9403, allocations: 2.182 MB / 0.7242 GB, free: 84.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002805/0.9406, allocations: 1.433 MB / 0.7256 GB, free: 82.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9406, allocations: 4 kB / 0.7256 GB, free: 82.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007936/0.9485, allocations: 2.881 MB / 0.7284 GB, free: 79.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.9491, allocations: 167.8 kB / 0.7286 GB, free: 79.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/0.9534, allocations: 2.576 MB / 0.7311 GB, free: 76.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.9551, allocations: 242.7 kB / 0.7313 GB, free: 76.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.9552, allocations: 51.98 kB / 0.7314 GB, free: 76.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.9552, allocations: 5.719 kB / 0.7314 GB, free: 76.61 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003086/0.9583, allocations: 2.006 MB / 0.7333 GB, free: 74.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.9583, allocations: 4 kB / 0.7333 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007771/0.9661, allocations: 2.878 MB / 0.7361 GB, free: 71.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.9667, allocations: 151.8 kB / 0.7363 GB, free: 71.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0043/0.971, allocations: 2.563 MB / 0.7388 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.9729, allocations: 230.8 kB / 0.739 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.973, allocations: 47.98 kB / 0.7391 GB, free: 68.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {34 45} Notification: Performance of prepare postOptimizeDAE: time 0.0002994/0.9733, allocations: 174.8 kB / 0.7392 GB, free: 68.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/0.9738, allocations: 166 kB / 0.7394 GB, free: 68.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.9877, allocations: 5.207 MB / 0.7445 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.9877, allocations: 16 kB / 0.7445 GB, free: 63.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.9877, allocations: 0 / 0.7445 GB, free: 63.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/0.9878, allocations: 3.984 kB / 0.7445 GB, free: 63.12 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 postOpt removeSimpleEquations (simulation): time 0.01753/1.005, allocations: 7.348 MB / 0.7517 GB, free: 55.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.005, allocations: 4 kB / 0.7517 GB, free: 55.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/1.006, allocations: 147.8 kB / 0.7518 GB, free: 55.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005928/1.012, allocations: 2.065 MB / 0.7538 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/1.013, allocations: 35.92 kB / 0.7539 GB, free: 53.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/1.03, allocations: 9.4 MB / 0.763 GB, free: 43.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.03, allocations: 4.031 kB / 0.763 GB, free: 43.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/1.046, allocations: 6.184 MB / 0.7691 GB, free: 37.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007439/1.047, allocations: 286.6 kB / 0.7694 GB, free: 37.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005633/1.047, allocations: 28 kB / 0.7694 GB, free: 37.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.049, allocations: 163.9 kB / 0.7695 GB, free: 37.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008055/1.05, allocations: 261.2 kB / 0.7698 GB, free: 36.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.05, allocations: 35.98 kB / 0.7698 GB, free: 36.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001414/1.051, allocations: 0.9255 MB / 0.7707 GB, free: 35.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.051, allocations: 0 / 0.7707 GB, free: 35.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00232/1.054, allocations: 0.7762 MB / 0.7715 GB, free: 35.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * 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 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01567/1.069, allocations: 6.943 MB / 0.7783 GB, free: 28.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/1.082, allocations: 4.117 MB / 0.7823 GB, free: 23.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.082, allocations: 4 kB / 0.7823 GB, free: 23.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005594/1.088, allocations: 2.001 MB / 0.7842 GB, free: 21.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/1.09, allocations: 131.2 kB / 0.7844 GB, free: 21.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/1.097, allocations: 2.789 MB / 0.7871 GB, free: 18.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/1.098, allocations: 1.27 MB / 0.7883 GB, free: 17.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0012/1.099, allocations: 213.1 kB / 0.7885 GB, free: 17.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/1.099, allocations: 0.5774 MB / 0.7891 GB, free: 16.81 MB / 490.7 MB Notification: Performance of SimCode: time 1.343e-06/1.099, allocations: 3.938 kB / 0.7891 GB, free: 16.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08669/1.186, allocations: 47.32 MB / 0.8353 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.186, allocations: 169.5 kB / 0.8355 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.343/4.53, allocations: 3.938 kB / 0.8355 GB, free: 1.398 MB / 0.5105 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)