Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.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.EXST1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXST1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",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.001077/0.001077, allocations: 98.03 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.428/1.428, allocations: 223.3 MB / 239.4 MB, free: 5.43 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.001326/0.001326, allocations: 184.5 kB / 290.6 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5461/0.5461, allocations: 91.93 MB / 433.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 12 kB / 0.5049 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 72.46 MB / 0.5756 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXST1): time 0.006802/0.3992, allocations: 8.185 MB / 0.5836 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.4046, allocations: 2.68 MB / 0.5863 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.406, allocations: 18.59 kB / 0.5863 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009026/0.407, allocations: 244.8 kB / 0.5865 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.4095, allocations: 0.8947 MB / 0.5874 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.4112, allocations: 0.7749 MB / 0.5881 GB, free: 28.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002359/0.4136, allocations: 2.145 MB / 0.5902 GB, free: 27.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005567/0.4141, allocations: 368.8 kB / 0.5906 GB, free: 27.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.4154, allocations: 0.7728 MB / 0.5913 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.4166, allocations: 1.032 MB / 0.5923 GB, free: 26.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.4168, allocations: 92.09 kB / 0.5924 GB, free: 26.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007507/0.4176, allocations: 263.6 kB / 0.5927 GB, free: 26.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.4179, allocations: 368.9 kB / 0.593 GB, free: 26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007373/0.4187, allocations: 0.8427 MB / 0.5939 GB, free: 25.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.4206, allocations: 2.167 MB / 0.596 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4206, allocations: 5.406 kB / 0.596 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4206, allocations: 0 / 0.596 GB, free: 24.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.636e-05/0.4207, allocations: 0 / 0.596 GB, free: 24.68 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.01305/0.4337, allocations: 3.41 MB / 0.5993 GB, free: 23.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4338, allocations: 13.97 kB / 0.5993 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006254/0.4344, allocations: 157.8 kB / 0.5995 GB, free: 23.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005526/0.44, allocations: 0.765 MB / 0.6002 GB, free: 23.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/0.443, allocations: 1.148 MB / 0.6013 GB, free: 22.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006172/0.4436, allocations: 0.5001 MB / 0.6018 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.4439, allocations: 108.5 kB / 0.6019 GB, free: 21.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003902/0.4478, allocations: 1.575 MB / 0.6035 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4479, allocations: 0 / 0.6035 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.448, allocations: 43.72 kB / 0.6035 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.4481, allocations: 24.59 kB / 0.6035 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004033/0.4521, allocations: 1.542 MB / 0.605 GB, free: 20.78 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.01086/0.463, allocations: 5.069 MB / 0.61 GB, free: 17.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009968/0.473, allocations: 3.594 MB / 0.6135 GB, free: 16.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.4759, allocations: 1.056 MB / 0.6145 GB, free: 16.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.4761, allocations: 28.81 kB / 0.6146 GB, free: 16.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4761, allocations: 50.45 kB / 0.6146 GB, free: 16.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 3.437e-06/0.4762, allocations: 0 / 0.6146 GB, free: 16.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04679/0.523, allocations: 12.23 MB / 0.6266 GB, free: 9.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.5231, allocations: 153.5 kB / 0.6267 GB, free: 8.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.5254, allocations: 1.44 MB / 0.6281 GB, free: 7.391 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004528/0.5259, allocations: 57.64 kB / 0.6282 GB, free: 7.328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.5263, allocations: 0.6121 MB / 0.6288 GB, free: 6.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004783/0.5268, allocations: 465.3 kB / 0.6292 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.527, allocations: 181.6 kB / 0.6294 GB, free: 6.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.5271, allocations: 305.1 kB / 0.6297 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.5294, allocations: 1.117 MB / 0.6308 GB, free: 4.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.5318, allocations: 1.327 MB / 0.6321 GB, free: 3.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/0.5364, allocations: 2.37 MB / 0.6344 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.5364, allocations: 4 kB / 0.6344 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of matching and sorting (n=244) (initialization): time 0.01138/0.5478, allocations: 4.332 MB / 0.6386 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.548, allocations: 210.5 kB / 0.6388 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5481, allocations: 4 kB / 0.6388 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/0.5599, allocations: 3.442 MB / 0.6422 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.5616, allocations: 295.6 kB / 0.6425 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009773/0.5714, allocations: 3.587 MB / 0.646 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.5745, allocations: 318.2 kB / 0.6463 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.5747, allocations: 63.98 kB / 0.6463 GB, free: 4.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5747, allocations: 4 kB / 0.6463 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01091/0.5856, allocations: 4.117 MB / 0.6503 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.5857, allocations: 4 kB / 0.6503 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/0.5972, allocations: 3.411 MB / 0.6537 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.5989, allocations: 299.5 kB / 0.654 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009374/0.6083, allocations: 3.523 MB / 0.6574 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/0.6112, allocations: 286.5 kB / 0.6577 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/0.6114, allocations: 67.98 kB / 0.6577 GB, free: 8.793 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 (171): * Single equations (assignments): 170 * 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,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0009253/0.6123, allocations: 380.7 kB / 0.6581 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/0.6128, allocations: 169.9 kB / 0.6583 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/0.6327, allocations: 6.066 MB / 0.6642 GB, free: 2.152 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/0.6327, allocations: 12 kB / 0.6642 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6328, allocations: 0 / 0.6642 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.492e-05/0.6328, allocations: 3.984 kB / 0.6642 GB, free: 2.137 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.02488/0.6577, allocations: 8.365 MB / 0.6724 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.6577, allocations: 4 kB / 0.6724 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/0.6607, allocations: 479.5 kB / 0.6728 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00911/0.6698, allocations: 2.619 MB / 0.6754 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/0.6702, allocations: 31.98 kB / 0.6754 GB, free: 6.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03283/0.703, allocations: 14.08 MB / 0.6892 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7031, allocations: 0 / 0.6892 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02305/0.7261, allocations: 7.468 MB / 0.6965 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008023/0.727, allocations: 278.7 kB / 0.6967 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.7273, allocations: 24 kB / 0.6968 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/0.7292, allocations: 195.8 kB / 0.6969 GB, free: 0 / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009436/0.7301, allocations: 265.3 kB / 0.6972 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.7302, allocations: 35.94 kB / 0.6972 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001666/0.7319, allocations: 0.9786 MB / 0.6982 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7319, allocations: 0 / 0.6982 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00258/0.7345, allocations: 0.8699 MB / 0.699 GB, free: 13.86 MB / 0.4981 GB 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,eXST1.imLeadLag.TF.x_scaled[1],eXST1.Vm1.state,eXST1.imDerivativeLag.x,eXST1.TransducerDelay.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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,6), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02311/0.7576, allocations: 8.072 MB / 0.7069 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02049/0.7782, allocations: 5.998 MB / 0.7128 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.7782, allocations: 0 / 0.7128 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.009609/0.7879, allocations: 2.677 MB / 0.7154 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.7897, allocations: 151.5 kB / 0.7155 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05663/0.8464, allocations: 23.48 MB / 0.7385 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000921/0.8474, allocations: 1.238 MB / 0.7397 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009743/0.8483, allocations: 170.2 kB / 0.7398 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009471/0.8493, allocations: 0.6047 MB / 0.7404 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.8493, allocations: 0 / 0.7404 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3555/1.205, allocations: 47.77 MB / 0.7871 GB, free: 169 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/1.205, allocations: 213.3 kB / 0.7873 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.371/4.576, allocations: 4.859 kB / 0.7873 GB, free: 168.7 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe 2>&1)