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.001826/0.001826, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.397/1.397, allocations: 222.9 MB / 238.9 MB, free: 4.793 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.001614/0.001613, allocations: 188.5 kB / 289.1 MB, free: 2.539 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5199/0.5199, allocations: 91.9 MB / 431.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 79.86 kB / 0.5013 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3865, allocations: 71.27 MB / 0.5709 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.007978/0.3946, allocations: 9.152 MB / 0.5799 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006247/0.4009, allocations: 2.9 MB / 0.5827 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.4026, allocations: 17.28 kB / 0.5827 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.4037, allocations: 269.5 kB / 0.583 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.4065, allocations: 0.9088 MB / 0.5839 GB, free: 28.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.4085, allocations: 0.8885 MB / 0.5847 GB, free: 27.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.4111, allocations: 2.299 MB / 0.587 GB, free: 26.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007097/0.4118, allocations: 459.1 kB / 0.5874 GB, free: 26.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.4132, allocations: 0.853 MB / 0.5882 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.4145, allocations: 1.131 MB / 0.5893 GB, free: 25.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002744/0.4148, allocations: 114 kB / 0.5894 GB, free: 25.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009505/0.4158, allocations: 384.9 kB / 0.5898 GB, free: 25.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.4161, allocations: 418.9 kB / 0.5902 GB, free: 25.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007295/0.4169, allocations: 0.9006 MB / 0.5911 GB, free: 24.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.4191, allocations: 2.48 MB / 0.5935 GB, free: 23.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4192, allocations: 0 / 0.5935 GB, free: 23.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4192, allocations: 0 / 0.5935 GB, free: 23.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.516e-05/0.4192, allocations: 0 / 0.5935 GB, free: 23.56 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.01381/0.433, allocations: 3.766 MB / 0.5972 GB, free: 21.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.4331, allocations: 9.406 kB / 0.5972 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002419/0.4333, allocations: 176.5 kB / 0.5974 GB, free: 21.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.4382, allocations: 0.7679 MB / 0.5981 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.4408, allocations: 1.221 MB / 0.5993 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004767/0.4413, allocations: 465.3 kB / 0.5998 GB, free: 20.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.4416, allocations: 123.2 kB / 0.5999 GB, free: 20.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.4457, allocations: 1.543 MB / 0.6014 GB, free: 19.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.4458, allocations: 5.922 kB / 0.6014 GB, free: 19.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.4459, allocations: 45.41 kB / 0.6014 GB, free: 19.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.446, allocations: 29.03 kB / 0.6015 GB, free: 19.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003893/0.4499, allocations: 1.435 MB / 0.6029 GB, free: 19.27 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.01304/0.4629, allocations: 5.457 MB / 0.6082 GB, free: 16.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009254/0.4722, allocations: 3.074 MB / 0.6112 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.4748, allocations: 0.973 MB / 0.6121 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/0.4755, allocations: 0.7317 MB / 0.6129 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003222/0.4787, allocations: 1.135 MB / 0.614 GB, free: 13.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 1.058e-05/0.4787, allocations: 0 / 0.614 GB, free: 13.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04379/0.5225, allocations: 10.03 MB / 0.6238 GB, free: 7.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.5226, allocations: 128.2 kB / 0.6239 GB, free: 7.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.5259, allocations: 1.536 MB / 0.6254 GB, free: 6.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005552/0.5264, allocations: 53.7 kB / 0.6254 GB, free: 6.223 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006172/0.5271, allocations: 0.6555 MB / 0.6261 GB, free: 5.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008927/0.528, allocations: 489 kB / 0.6265 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/0.5295, allocations: 383.4 kB / 0.6269 GB, free: 4.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.5296, allocations: 305.1 kB / 0.6272 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/0.5321, allocations: 1.046 MB / 0.6282 GB, free: 3.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.5347, allocations: 1.274 MB / 0.6295 GB, free: 2.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/0.5394, allocations: 2.243 MB / 0.6316 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.5395, allocations: 4 kB / 0.6317 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01161/0.5511, allocations: 3.995 MB / 0.6356 GB, free: 11.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.5512, allocations: 4 kB / 0.6356 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.5512, allocations: 7.984 kB / 0.6356 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009588/0.5608, allocations: 2.679 MB / 0.6382 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.5628, allocations: 367.5 kB / 0.6385 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006638/0.5694, allocations: 2.699 MB / 0.6412 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/0.5726, allocations: 266.2 kB / 0.6414 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004693/0.5731, allocations: 71.97 kB / 0.6415 GB, free: 5.578 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.001282/0.5744, allocations: 321.5 kB / 0.6418 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008371/0.5752, allocations: 181.8 kB / 0.642 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/0.5938, allocations: 4.911 MB / 0.6468 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.5939, allocations: 19.94 kB / 0.6468 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.5939, allocations: 0 / 0.6468 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.478e-05/0.594, allocations: 11.95 kB / 0.6468 GB, free: 112 kB / 446.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.0247/0.6187, allocations: 7.156 MB / 0.6538 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/0.6187, allocations: 0 / 0.6538 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.62, allocations: 167.8 kB / 0.6539 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008021/0.6281, allocations: 2.142 MB / 0.656 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/0.6286, allocations: 31.98 kB / 0.6561 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02659/0.6552, allocations: 9.171 MB / 0.665 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.6552, allocations: 4 kB / 0.665 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02109/0.6763, allocations: 6.158 MB / 0.671 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.6774, allocations: 294.5 kB / 0.6713 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008774/0.6783, allocations: 31.94 kB / 0.6714 GB, free: 6.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/0.6806, allocations: 139.8 kB / 0.6715 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/0.6819, allocations: 269.3 kB / 0.6717 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002944/0.6822, allocations: 39.98 kB / 0.6718 GB, free: 6.184 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002562/0.6848, allocations: 1.032 MB / 0.6728 GB, free: 5.156 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6848, allocations: 0 / 0.6728 GB, free: 5.156 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002881/0.6877, allocations: 0.5659 MB / 0.6733 GB, free: 4.59 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.02124/0.7089, allocations: 6.793 MB / 0.68 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01057/0.7195, allocations: 3.022 MB / 0.6829 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.7196, allocations: 4 kB / 0.6829 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00691/0.7265, allocations: 1.968 MB / 0.6849 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/0.7293, allocations: 149.7 kB / 0.685 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06045/0.7897, allocations: 22.29 MB / 0.7068 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.7912, allocations: 1.278 MB / 0.708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001206/0.7924, allocations: 158.8 kB / 0.7082 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/0.7938, allocations: 0.6672 MB / 0.7088 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of SimCode: time 2.935e-06/0.7938, allocations: 4 kB / 0.7088 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08302/0.8769, allocations: 42.97 MB / 0.7508 GB, free: 4.199 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.8771, allocations: 207.9 kB / 0.751 GB, free: 3.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/4.113, allocations: 3.938 kB / 0.751 GB, free: 3.945 MB / 0.545 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)