Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07295/0.07295, allocations: 12.2 MB / 27.32 MB, free: 1.418 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009709/0.0009707, allocations: 112.3 kB / 30.83 MB, free: 4.699 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.1 MB / 239.3 MB, free: 10.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 192.4 kB / 289.5 MB, free: 13.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4362/0.4362, allocations: 78.5 MB / 418 MB, free: 11.91 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 139.8 kB / 498.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3111, allocations: 68.04 MB / 0.5531 GB, free: 22.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.007466/0.3186, allocations: 9.172 MB / 0.5621 GB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.3232, allocations: 2.869 MB / 0.5649 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006775/0.3239, allocations: 19.94 kB / 0.5649 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007606/0.3247, allocations: 270.3 kB / 0.5651 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.3267, allocations: 1.126 MB / 0.5662 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.3281, allocations: 0.7859 MB / 0.567 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.3296, allocations: 2.428 MB / 0.5694 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.3301, allocations: 469.4 kB / 0.5698 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006274/0.3307, allocations: 0.8672 MB / 0.5707 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007888/0.3315, allocations: 1.143 MB / 0.5718 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.3317, allocations: 119.9 kB / 0.5719 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005523/0.3323, allocations: 375.7 kB / 0.5723 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.3326, allocations: 422 kB / 0.5727 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.3331, allocations: 0.9124 MB / 0.5736 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.3348, allocations: 2.491 MB / 0.576 GB, free: 14.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3349, allocations: 7.984 kB / 0.576 GB, free: 14.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3349, allocations: 0 / 0.576 GB, free: 14.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.3349, allocations: 0 / 0.576 GB, free: 14.67 MB / 398.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.01345/0.3483, allocations: 4.058 MB / 0.58 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3484, allocations: 11.98 kB / 0.58 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.3486, allocations: 176.7 kB / 0.5801 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/0.353, allocations: 0.7664 MB / 0.5809 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.3548, allocations: 1.219 MB / 0.5821 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004239/0.3552, allocations: 462.5 kB / 0.5825 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.3554, allocations: 120 kB / 0.5826 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.3583, allocations: 1.544 MB / 0.5841 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3584, allocations: 7.938 kB / 0.5841 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.3585, allocations: 44 kB / 0.5842 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.3585, allocations: 28 kB / 0.5842 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.3615, allocations: 1.433 MB / 0.5856 GB, free: 4.559 MB / 398.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.0085/0.37, allocations: 5.465 MB / 0.591 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008118/0.3781, allocations: 3.066 MB / 0.5939 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.38, allocations: 0.979 MB / 0.5949 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/0.3805, allocations: 0.7258 MB / 0.5956 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002178/0.3827, allocations: 1.133 MB / 0.5967 GB, free: 8.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 4.618e-06/0.3827, allocations: 3.984 kB / 0.5967 GB, free: 8.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=134): time 0.03955/0.4223, allocations: 10.03 MB / 0.6065 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.4224, allocations: 120.2 kB / 0.6066 GB, free: 14.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.4249, allocations: 1.543 MB / 0.6081 GB, free: 12.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.4251, allocations: 49.7 kB / 0.6082 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/0.4256, allocations: 0.6593 MB / 0.6088 GB, free: 12.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004978/0.4262, allocations: 489 kB / 0.6093 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006562/0.4268, allocations: 379.5 kB / 0.6097 GB, free: 11.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.4269, allocations: 305.1 kB / 0.6099 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.4291, allocations: 1.05 MB / 0.611 GB, free: 9.914 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.4315, allocations: 1.274 MB / 0.6122 GB, free: 8.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.4359, allocations: 2.235 MB / 0.6144 GB, free: 6.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.4359, allocations: 8 kB / 0.6144 GB, free: 6.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009759/0.4457, allocations: 3.995 MB / 0.6183 GB, free: 2.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.4457, allocations: 8 kB / 0.6183 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.4457, allocations: 4 kB / 0.6183 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009003/0.4547, allocations: 2.675 MB / 0.6209 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.4564, allocations: 371.4 kB / 0.6213 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005894/0.4623, allocations: 2.699 MB / 0.6239 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.4647, allocations: 266.2 kB / 0.6242 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.4649, allocations: 71.97 kB / 0.6242 GB, free: 12.15 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.0007778/0.4657, allocations: 321.5 kB / 0.6246 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/0.4661, allocations: 181.8 kB / 0.6247 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.4814, allocations: 4.915 MB / 0.6295 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.4815, allocations: 19.94 kB / 0.6295 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.4815, allocations: 0 / 0.6295 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.4815, allocations: 3.984 kB / 0.6295 GB, free: 6.691 MB / 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.01831/0.4998, allocations: 7.164 MB / 0.6365 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4999, allocations: 3.938 kB / 0.6365 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/0.5008, allocations: 163.8 kB / 0.6367 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007068/0.5079, allocations: 2.142 MB / 0.6388 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.508, allocations: 35.98 kB / 0.6388 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02293/0.531, allocations: 9.174 MB / 0.6478 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.531, allocations: 0 / 0.6478 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01806/0.549, allocations: 6.162 MB / 0.6538 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/0.5497, allocations: 298.5 kB / 0.6541 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/0.5501, allocations: 27.94 kB / 0.6541 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.5519, allocations: 147.8 kB / 0.6543 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008266/0.5527, allocations: 265.3 kB / 0.6545 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.5528, allocations: 36 kB / 0.6545 GB, free: 12.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00178/0.5546, allocations: 1.032 MB / 0.6556 GB, free: 11.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5546, allocations: 0 / 0.6556 GB, free: 11.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00179/0.5564, allocations: 0.5737 MB / 0.6561 GB, free: 11.15 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.01875/0.5752, allocations: 6.773 MB / 0.6627 GB, free: 4.336 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009027/0.5843, allocations: 3.011 MB / 0.6657 GB, free: 1.316 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5843, allocations: 0 / 0.6657 GB, free: 1.316 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00602/0.5903, allocations: 1.968 MB / 0.6676 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.5921, allocations: 160.6 kB / 0.6677 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2665/0.8585, allocations: 22.28 MB / 0.6895 GB, free: 117.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.8594, allocations: 1.283 MB / 0.6908 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006468/0.8601, allocations: 162.8 kB / 0.6909 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007674/0.8608, allocations: 0.6675 MB / 0.6916 GB, free: 116.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.8609, allocations: 0 / 0.6916 GB, free: 116.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05213/0.913, allocations: 42.94 MB / 0.7335 GB, free: 79.94 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.9132, allocations: 217.1 kB / 0.7337 GB, free: 79.69 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.74, allocations: 7.938 kB / 0.7337 GB, free: 79.68 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)