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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008784/0.0008785, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 239.4 MB, free: 5.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001174, allocations: 176.5 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5829/0.5829, allocations: 91.92 MB / 433.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003994, allocations: 8 kB / 0.5049 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3976, allocations: 72.46 MB / 0.5756 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.006243/0.4039, allocations: 8.146 MB / 0.5836 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.4087, allocations: 2.614 MB / 0.5862 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009326/0.4097, allocations: 14.19 kB / 0.5862 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.4103, allocations: 240.7 kB / 0.5864 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.4123, allocations: 0.8624 MB / 0.5872 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.4137, allocations: 0.7514 MB / 0.588 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.4153, allocations: 2.039 MB / 0.59 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.4159, allocations: 414.5 kB / 0.5904 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.4166, allocations: 0.7371 MB / 0.5911 GB, free: 26.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009892/0.4176, allocations: 1.002 MB / 0.5921 GB, free: 26.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.4178, allocations: 93.22 kB / 0.5921 GB, free: 26.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.4184, allocations: 261.8 kB / 0.5924 GB, free: 26.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.4187, allocations: 349 kB / 0.5927 GB, free: 25.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006293/0.4193, allocations: 0.8281 MB / 0.5935 GB, free: 25.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.421, allocations: 2.124 MB / 0.5956 GB, free: 24.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.421, allocations: 0 / 0.5956 GB, free: 24.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.421, allocations: 0 / 0.5956 GB, free: 24.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.4211, allocations: 1.719 kB / 0.5956 GB, free: 24.58 MB / 430.1 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.01161/0.4327, allocations: 3.307 MB / 0.5988 GB, free: 23.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4327, allocations: 10.66 kB / 0.5989 GB, free: 23.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003727/0.4331, allocations: 164.8 kB / 0.599 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.438, allocations: 0.7545 MB / 0.5997 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.4401, allocations: 1.079 MB / 0.6008 GB, free: 22.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004565/0.4406, allocations: 471.1 kB / 0.6013 GB, free: 21.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.4408, allocations: 119.3 kB / 0.6014 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/0.4442, allocations: 1.54 MB / 0.6029 GB, free: 21.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.4442, allocations: 0 / 0.6029 GB, free: 21.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.4444, allocations: 40.44 kB / 0.6029 GB, free: 21.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.4444, allocations: 24.88 kB / 0.6029 GB, free: 21.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.4478, allocations: 1.451 MB / 0.6043 GB, free: 20.77 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.009615/0.4575, allocations: 5.03 MB / 0.6093 GB, free: 17.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009592/0.4671, allocations: 3.61 MB / 0.6128 GB, free: 16.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.4693, allocations: 1.01 MB / 0.6138 GB, free: 16.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.4695, allocations: 20.81 kB / 0.6138 GB, free: 16.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4695, allocations: 46.34 kB / 0.6138 GB, free: 16.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 3.457e-06/0.4695, allocations: 0 / 0.6138 GB, free: 16.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04431/0.5139, allocations: 12.03 MB / 0.6256 GB, free: 9.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.514, allocations: 141.5 kB / 0.6257 GB, free: 9.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.5159, allocations: 1.364 MB / 0.6271 GB, free: 8.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000413/0.5163, allocations: 49.7 kB / 0.6271 GB, free: 8.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.5167, allocations: 0.608 MB / 0.6277 GB, free: 7.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/0.5171, allocations: 469.2 kB / 0.6281 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.5174, allocations: 181.6 kB / 0.6283 GB, free: 7.027 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.5174, allocations: 305.1 kB / 0.6286 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.5194, allocations: 1.066 MB / 0.6296 GB, free: 5.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.5215, allocations: 1.273 MB / 0.6309 GB, free: 4.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/0.5255, allocations: 2.277 MB / 0.6331 GB, free: 2.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.5255, allocations: 0 / 0.6331 GB, free: 2.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.009995/0.5355, allocations: 4.211 MB / 0.6372 GB, free: 13.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.5357, allocations: 202.2 kB / 0.6374 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.5357, allocations: 4 kB / 0.6374 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01119/0.5469, allocations: 3.403 MB / 0.6407 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.5485, allocations: 279.6 kB / 0.641 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007982/0.5564, allocations: 3.396 MB / 0.6443 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.5592, allocations: 278.4 kB / 0.6446 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.5594, allocations: 63.98 kB / 0.6447 GB, free: 6.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5594, allocations: 11.94 kB / 0.6447 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00992/0.5693, allocations: 3.996 MB / 0.6486 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.5694, allocations: 4 kB / 0.6486 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/0.5803, allocations: 3.38 MB / 0.6519 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.5819, allocations: 275.6 kB / 0.6521 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007605/0.5895, allocations: 3.329 MB / 0.6554 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.592, allocations: 258.5 kB / 0.6556 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.5921, allocations: 67.97 kB / 0.6557 GB, free: 10.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(34,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0008242/0.593, allocations: 380.8 kB / 0.6561 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/0.5933, allocations: 158 kB / 0.6562 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01859/0.6119, allocations: 5.98 MB / 0.6621 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.612, allocations: 12 kB / 0.6621 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.612, allocations: 4 kB / 0.6621 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-05/0.6121, allocations: 3.984 kB / 0.6621 GB, free: 4.199 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02246/0.6345, allocations: 8.157 MB / 0.67 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.6346, allocations: 0 / 0.67 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.6356, allocations: 143.8 kB / 0.6702 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009146/0.6448, allocations: 2.603 MB / 0.6727 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003171/0.6451, allocations: 27.98 kB / 0.6727 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03097/0.6761, allocations: 12.05 MB / 0.6845 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.6762, allocations: 7.922 kB / 0.6845 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02294/0.6991, allocations: 7.29 MB / 0.6916 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009209/0.7001, allocations: 274.7 kB / 0.6919 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007134/0.7008, allocations: 24 kB / 0.6919 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/0.703, allocations: 163.9 kB / 0.6921 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/0.704, allocations: 261.3 kB / 0.6923 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/0.7042, allocations: 36 kB / 0.6924 GB, free: 4.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001784/0.706, allocations: 0.9072 MB / 0.6932 GB, free: 3.797 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.706, allocations: 0 / 0.6932 GB, free: 3.797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00294/0.709, allocations: 0.8661 MB / 0.6941 GB, free: 2.93 MB / 494.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02254/0.7315, allocations: 7.892 MB / 0.7018 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01912/0.7507, allocations: 5.565 MB / 0.7072 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.7508, allocations: 0 / 0.7072 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007599/0.7584, allocations: 2.306 MB / 0.7095 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.7606, allocations: 145.2 kB / 0.7096 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05883/0.8195, allocations: 22.78 MB / 0.7319 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.8206, allocations: 1.23 MB / 0.7331 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001056/0.8217, allocations: 154 kB / 0.7332 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.8228, allocations: 0.5969 MB / 0.7338 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.8228, allocations: 0 / 0.7338 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.356/1.179, allocations: 46.91 MB / 0.7796 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.179, allocations: 207.5 kB / 0.7798 GB, free: 168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.307/4.487, allocations: 4 kB / 0.7798 GB, free: 168 MB / 0.5606 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/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)