Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1",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.001035/0.001035, allocations: 175 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.158/1.158, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008685/0.0008685, allocations: 91.09 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4304/0.4304, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.745e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2824, allocations: 69.5 MB / 0.5492 GB, free: 19.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4082, allocations: 112.3 MB / 0.6589 GB, free: 3.258 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.4085, allocations: 79.95 kB / 0.659 GB, free: 3.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3587/0.7673, allocations: 42.84 MB / 0.7008 GB, free: 106 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.7673, allocations: 0 / 0.7008 GB, free: 106 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.89e-05/0.7674, allocations: 35.72 kB / 0.7008 GB, free: 106 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.005015/0.7724, allocations: 2.137 MB / 0.7029 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.7725, allocations: 15.03 kB / 0.7029 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.7727, allocations: 160.4 kB / 0.7031 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003978/0.7767, allocations: 0.7759 MB / 0.7038 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.7784, allocations: 1.114 MB / 0.7049 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/0.7787, allocations: 438 kB / 0.7053 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.7789, allocations: 113.3 kB / 0.7055 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.7808, allocations: 1.291 MB / 0.7067 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.7808, allocations: 0 / 0.7067 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.7809, allocations: 41.34 kB / 0.7068 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.781, allocations: 31.09 kB / 0.7068 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.7828, allocations: 1.182 MB / 0.7079 GB, free: 101.5 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.007924/0.7908, allocations: 5.137 MB / 0.713 GB, free: 96.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007139/0.7979, allocations: 3.354 MB / 0.7162 GB, free: 92.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.7993, allocations: 0.7711 MB / 0.717 GB, free: 91.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.7994, allocations: 21.16 kB / 0.717 GB, free: 91.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/0.8008, allocations: 0.9256 MB / 0.7179 GB, free: 90.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=137): time 3.457e-06/0.8008, allocations: 0 / 0.7179 GB, free: 90.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=137): time 0.01513/0.8159, allocations: 5.246 MB / 0.723 GB, free: 85.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.816, allocations: 120.1 kB / 0.7231 GB, free: 85.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.8178, allocations: 1.29 MB / 0.7244 GB, free: 84.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002378/0.8181, allocations: 53.72 kB / 0.7245 GB, free: 84.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.8184, allocations: 0.6561 MB / 0.7251 GB, free: 83.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.8188, allocations: 484.1 kB / 0.7256 GB, free: 83.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.8189, allocations: 28 kB / 0.7256 GB, free: 83.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.819, allocations: 361.9 kB / 0.7259 GB, free: 82.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009163/0.8199, allocations: 0.6015 MB / 0.7265 GB, free: 82.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009792/0.8209, allocations: 0.8053 MB / 0.7273 GB, free: 81.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009575/0.8218, allocations: 0.6727 MB / 0.728 GB, free: 80.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.8218, allocations: 0 / 0.728 GB, free: 80.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00335/0.8252, allocations: 2.221 MB / 0.7301 GB, free: 78.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.8254, allocations: 1.534 MB / 0.7316 GB, free: 76.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8254, allocations: 11.97 kB / 0.7316 GB, free: 76.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00782/0.8333, allocations: 2.717 MB / 0.7343 GB, free: 73.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.8341, allocations: 179.7 kB / 0.7345 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004381/0.8385, allocations: 2.616 MB / 0.737 GB, free: 71.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.8406, allocations: 266.7 kB / 0.7373 GB, free: 70.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.8407, allocations: 51.98 kB / 0.7373 GB, free: 70.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.8407, allocations: 5.719 kB / 0.7373 GB, free: 70.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003036/0.8438, allocations: 2.037 MB / 0.7393 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.8438, allocations: 4 kB / 0.7393 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007601/0.8514, allocations: 2.69 MB / 0.7419 GB, free: 66.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.8522, allocations: 179.7 kB / 0.7421 GB, free: 65.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004239/0.8564, allocations: 2.557 MB / 0.7446 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.8586, allocations: 266.8 kB / 0.7449 GB, free: 63.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.8588, allocations: 43.98 kB / 0.7449 GB, free: 63 MB / 490.7 MB 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,cSVGN1.leadLagLim.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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 {30 45} Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.8591, allocations: 172.8 kB / 0.7451 GB, free: 62.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/0.8595, allocations: 173.8 kB / 0.7452 GB, free: 62.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.8741, allocations: 5.387 MB / 0.7505 GB, free: 57.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.8742, allocations: 19.94 kB / 0.7505 GB, free: 57.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.8742, allocations: 3.953 kB / 0.7505 GB, free: 57.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/0.8742, allocations: 7.969 kB / 0.7505 GB, free: 57.21 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.01695/0.8912, allocations: 7.6 MB / 0.758 GB, free: 49.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.8912, allocations: 11.94 kB / 0.758 GB, free: 49.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/0.892, allocations: 127.8 kB / 0.7581 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007068/0.8991, allocations: 2.383 MB / 0.7604 GB, free: 46.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/0.8994, allocations: 27.98 kB / 0.7604 GB, free: 46.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/0.9185, allocations: 9.417 MB / 0.7696 GB, free: 37.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9186, allocations: 0 / 0.7696 GB, free: 37.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.935, allocations: 6.427 MB / 0.7759 GB, free: 30.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/0.9357, allocations: 302.4 kB / 0.7762 GB, free: 30.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.9359, allocations: 24 kB / 0.7762 GB, free: 30.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.9377, allocations: 191.8 kB / 0.7764 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007362/0.9384, allocations: 277.4 kB / 0.7767 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/0.9385, allocations: 32 kB / 0.7767 GB, free: 30.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.9397, allocations: 1.007 MB / 0.7777 GB, free: 29.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9397, allocations: 0 / 0.7777 GB, free: 29.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001776/0.9415, allocations: 0.8153 MB / 0.7785 GB, free: 28.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,cSVGN1.LagLim.state,cSVGN1.leadLag.TF.x_scaled[1],cSVGN1.leadLagLim.integrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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 {27 41} Notification: Performance of Backend phase and start with SimCode phase: time 0.01663/0.9582, allocations: 7.119 MB / 0.7854 GB, free: 21.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01265/0.9708, allocations: 4.255 MB / 0.7896 GB, free: 16.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.9709, allocations: 0 / 0.7896 GB, free: 16.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005534/0.9764, allocations: 2.026 MB / 0.7916 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.9776, allocations: 141.5 kB / 0.7917 GB, free: 14.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.9823, allocations: 2.786 MB / 0.7944 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.9828, allocations: 1.306 MB / 0.7957 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009912/0.9838, allocations: 242.2 kB / 0.7959 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/0.9844, allocations: 0.6164 MB / 0.7965 GB, free: 9.637 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9844, allocations: 0 / 0.7965 GB, free: 9.637 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0733/1.058, allocations: 50.18 MB / 0.8455 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.058, allocations: 158.6 kB / 0.8457 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.68/4.738, allocations: 0 / 0.8457 GB, free: 7.383 MB / 0.5261 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)