Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.001293/0.001293, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 239.2 MB, free: 4.594 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.00129/0.001289, allocations: 188.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5171/0.5171, allocations: 91.91 MB / 431.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 79.88 kB / 0.502 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3461, allocations: 71.26 MB / 0.5716 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.006585/0.3527, allocations: 8.828 MB / 0.5802 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004357/0.3571, allocations: 2.857 MB / 0.583 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007878/0.3579, allocations: 14.47 kB / 0.583 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.3587, allocations: 349.9 kB / 0.5833 GB, free: 29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.3606, allocations: 1.028 MB / 0.5843 GB, free: 28.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.3622, allocations: 0.958 MB / 0.5853 GB, free: 27.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.364, allocations: 2.418 MB / 0.5876 GB, free: 26.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.3646, allocations: 0.4969 MB / 0.5881 GB, free: 26.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009827/0.3656, allocations: 0.9578 MB / 0.5891 GB, free: 25.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.3666, allocations: 1.2 MB / 0.5902 GB, free: 25.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.3669, allocations: 212 kB / 0.5904 GB, free: 25.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007539/0.3676, allocations: 485.9 kB / 0.5909 GB, free: 25.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.3679, allocations: 0.4959 MB / 0.5914 GB, free: 24.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005814/0.3685, allocations: 0.9998 MB / 0.5924 GB, free: 24.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.3704, allocations: 2.551 MB / 0.5949 GB, free: 23.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3704, allocations: 0 / 0.5949 GB, free: 23.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3704, allocations: 1.375 kB / 0.5949 GB, free: 23.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.519e-05/0.3704, allocations: 0 / 0.5949 GB, free: 23.1 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.0119/0.3823, allocations: 3.77 MB / 0.5985 GB, free: 21.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3824, allocations: 13.81 kB / 0.5985 GB, free: 21.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/0.3826, allocations: 166.7 kB / 0.5987 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.3872, allocations: 0.7682 MB / 0.5995 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.3893, allocations: 1.218 MB / 0.6006 GB, free: 20.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.3897, allocations: 463.6 kB / 0.6011 GB, free: 20 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.39, allocations: 119.5 kB / 0.6012 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/0.393, allocations: 1.552 MB / 0.6027 GB, free: 19.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.3931, allocations: 0.875 kB / 0.6027 GB, free: 19.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.3932, allocations: 41.77 kB / 0.6028 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.3932, allocations: 33.55 kB / 0.6028 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/0.3965, allocations: 1.434 MB / 0.6042 GB, free: 18.81 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.009692/0.4062, allocations: 5.464 MB / 0.6095 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00848/0.4147, allocations: 3.081 MB / 0.6125 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.4168, allocations: 0.9663 MB / 0.6135 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.4173, allocations: 0.7322 MB / 0.6142 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002248/0.4195, allocations: 1.134 MB / 0.6153 GB, free: 12.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 2.845e-06/0.4195, allocations: 0 / 0.6153 GB, free: 12.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.03927/0.4588, allocations: 10.03 MB / 0.6251 GB, free: 7.031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.4589, allocations: 120.1 kB / 0.6252 GB, free: 6.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.4611, allocations: 1.547 MB / 0.6267 GB, free: 5.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.4613, allocations: 53.69 kB / 0.6268 GB, free: 5.277 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.4617, allocations: 0.6516 MB / 0.6274 GB, free: 4.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.4621, allocations: 493 kB / 0.6279 GB, free: 4.133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005702/0.4627, allocations: 375.4 kB / 0.6282 GB, free: 3.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.606e-05/0.4627, allocations: 301.1 kB / 0.6285 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.4647, allocations: 1.058 MB / 0.6296 GB, free: 2.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.4668, allocations: 1.266 MB / 0.6308 GB, free: 1.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/0.4711, allocations: 2.239 MB / 0.633 GB, free: 14.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4711, allocations: 0 / 0.633 GB, free: 14.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01004/0.4812, allocations: 4.007 MB / 0.6369 GB, free: 10.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.4812, allocations: 4 kB / 0.6369 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.4812, allocations: 4 kB / 0.6369 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009372/0.4906, allocations: 2.687 MB / 0.6395 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.4925, allocations: 363.5 kB / 0.6399 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006519/0.4991, allocations: 2.703 MB / 0.6425 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/0.5022, allocations: 266.2 kB / 0.6428 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004509/0.5026, allocations: 75.91 kB / 0.6428 GB, free: 4.625 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009956/0.5036, allocations: 325.4 kB / 0.6431 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/0.5044, allocations: 181.8 kB / 0.6433 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/0.5208, allocations: 4.907 MB / 0.6481 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.5209, allocations: 19.94 kB / 0.6481 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.5209, allocations: 0 / 0.6481 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.616e-05/0.521, allocations: 3.984 kB / 0.6481 GB, free: 15.17 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.02159/0.5426, allocations: 7.16 MB / 0.6551 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.5426, allocations: 4.031 kB / 0.6551 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.5438, allocations: 163.8 kB / 0.6553 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007737/0.5515, allocations: 2.146 MB / 0.6574 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003872/0.5519, allocations: 39.92 kB / 0.6574 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02575/0.5777, allocations: 10.06 MB / 0.6672 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5777, allocations: 0 / 0.6672 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/0.5971, allocations: 6.162 MB / 0.6733 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008156/0.598, allocations: 286.5 kB / 0.6735 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006615/0.5987, allocations: 27.94 kB / 0.6736 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/0.6008, allocations: 143.8 kB / 0.6737 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009382/0.6017, allocations: 281.3 kB / 0.674 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.602, allocations: 39.98 kB / 0.674 GB, free: 4.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.6038, allocations: 1.036 MB / 0.675 GB, free: 3.289 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6038, allocations: 0 / 0.675 GB, free: 3.289 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002027/0.6058, allocations: 0.5659 MB / 0.6756 GB, free: 2.723 MB / 478.1 MB 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01955/0.6254, allocations: 6.789 MB / 0.6822 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01045/0.6359, allocations: 3.1 MB / 0.6852 GB, free: 8.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.6359, allocations: 4.125 kB / 0.6852 GB, free: 8.781 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006746/0.6427, allocations: 2 MB / 0.6872 GB, free: 6.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.6448, allocations: 161.7 kB / 0.6873 GB, free: 6.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04996/0.6948, allocations: 21.76 MB / 0.7086 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008443/0.6957, allocations: 1.274 MB / 0.7098 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008431/0.6965, allocations: 154.9 kB / 0.71 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009791/0.6975, allocations: 0.6789 MB / 0.7106 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.6975, allocations: 0 / 0.7106 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07935/0.7769, allocations: 46.29 MB / 0.7558 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.33, allocations: 14.12 kB / 0.7559 GB, free: 15.4 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)