Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.183/0.183, allocations: 12.59 MB / 28.23 MB, free: 0.75 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.001991/0.001991, allocations: 115.4 kB / 31.84 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.938/2.938, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.002906/0.002905, allocations: 180.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.9842/0.9842, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.01204/0.01204, allocations: 147.5 kB / 0.5554 GB, free: 28.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2893, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.01871/0.3081, allocations: 8.797 MB / 0.6305 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.3202, allocations: 2.81 MB / 0.6333 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004605/0.3249, allocations: 19.94 kB / 0.6333 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003/0.328, allocations: 337.1 kB / 0.6336 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00807/0.3361, allocations: 1.243 MB / 0.6348 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.3405, allocations: 0.8499 MB / 0.6356 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008454/0.3489, allocations: 2.568 MB / 0.6382 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.3517, allocations: 495.2 kB / 0.6386 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.3559, allocations: 0.9844 MB / 0.6396 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003896/0.3598, allocations: 1.206 MB / 0.6408 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001516/0.3614, allocations: 204 kB / 0.641 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.3644, allocations: 471.6 kB / 0.6414 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.366, allocations: 0.4981 MB / 0.6419 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.3694, allocations: 0.979 MB / 0.6428 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008208/0.3776, allocations: 2.585 MB / 0.6454 GB, free: 7.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.3777, allocations: 0 / 0.6454 GB, free: 7.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.3778, allocations: 4 kB / 0.6454 GB, free: 7.789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001346/0.3779, allocations: 0 / 0.6454 GB, free: 7.789 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.02806/0.406, allocations: 4.046 MB / 0.6493 GB, free: 3.684 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.384e-05/0.4061, allocations: 19.97 kB / 0.6493 GB, free: 3.664 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008854/0.407, allocations: 164.5 kB / 0.6495 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.4174, allocations: 0.7703 MB / 0.6503 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/0.4245, allocations: 1.212 MB / 0.6514 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001368/0.426, allocations: 466.4 kB / 0.6519 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.427, allocations: 119.9 kB / 0.652 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008061/0.4351, allocations: 1.527 MB / 0.6535 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.367e-05/0.4352, allocations: 0 / 0.6535 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.4355, allocations: 44 kB / 0.6535 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.4355, allocations: 24 kB / 0.6536 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005209/0.4407, allocations: 1.417 MB / 0.6549 GB, free: 13.73 MB / 478.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.01874/0.4595, allocations: 5.39 MB / 0.6602 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.4714, allocations: 3.066 MB / 0.6632 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003374/0.4749, allocations: 0.9711 MB / 0.6641 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.4762, allocations: 0.7336 MB / 0.6649 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003946/0.4802, allocations: 1.117 MB / 0.666 GB, free: 1.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 8.726e-06/0.4803, allocations: 0 / 0.666 GB, free: 1.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=133): time 0.06372/0.544, allocations: 9.768 MB / 0.6755 GB, free: 8.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.5443, allocations: 116.1 kB / 0.6756 GB, free: 7.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006786/0.5511, allocations: 1.536 MB / 0.6771 GB, free: 6.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000775/0.552, allocations: 57.7 kB / 0.6772 GB, free: 6.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.5534, allocations: 0.6516 MB / 0.6778 GB, free: 5.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001665/0.5551, allocations: 485.1 kB / 0.6783 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002683/0.5578, allocations: 379.4 kB / 0.6786 GB, free: 4.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.558, allocations: 301.1 kB / 0.6789 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004831/0.5628, allocations: 1.05 MB / 0.6799 GB, free: 3.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/0.5684, allocations: 1.27 MB / 0.6812 GB, free: 2.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/0.5798, allocations: 2.224 MB / 0.6833 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.914e-05/0.5799, allocations: 0 / 0.6833 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.022/0.602, allocations: 3.828 MB / 0.6871 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.943e-05/0.6022, allocations: 12 kB / 0.6871 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.971e-05/0.6023, allocations: 11.98 kB / 0.6871 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01952/0.6218, allocations: 2.675 MB / 0.6897 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/0.6258, allocations: 355.5 kB / 0.6901 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/0.64, allocations: 2.699 MB / 0.6927 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006027/0.6461, allocations: 274.1 kB / 0.693 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000842/0.647, allocations: 79.91 kB / 0.693 GB, free: 5.883 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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.002101/0.6491, allocations: 321.4 kB / 0.6933 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/0.6504, allocations: 173.8 kB / 0.6935 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02859/0.679, allocations: 4.954 MB / 0.6983 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-05/0.6792, allocations: 16 kB / 0.6984 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/0.6792, allocations: 0 / 0.6984 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.867e-05/0.6793, allocations: 7.969 kB / 0.6984 GB, free: 396 kB / 0.4981 GB 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.03728/0.7166, allocations: 7.112 MB / 0.7053 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-05/0.7167, allocations: 7.875 kB / 0.7053 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/0.7187, allocations: 167.8 kB / 0.7055 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01371/0.7324, allocations: 2.138 MB / 0.7076 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009195/0.7335, allocations: 31.98 kB / 0.7076 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7117/1.445, allocations: 10.04 MB / 0.7174 GB, free: 82.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/1.445, allocations: 6.656 kB / 0.7174 GB, free: 82.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04103/1.486, allocations: 6.128 MB / 0.7234 GB, free: 81.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005386/1.492, allocations: 291.2 kB / 0.7237 GB, free: 81.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/1.493, allocations: 22.91 kB / 0.7237 GB, free: 81.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007392/1.501, allocations: 151.7 kB / 0.7238 GB, free: 81.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002103/1.503, allocations: 270.1 kB / 0.7241 GB, free: 81.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/1.503, allocations: 36.14 kB / 0.7241 GB, free: 81.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008248/1.511, allocations: 1.035 MB / 0.7251 GB, free: 80.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.523e-06/1.512, allocations: 0 / 0.7251 GB, free: 80.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009048/1.521, allocations: 0.5602 MB / 0.7257 GB, free: 80.81 MB / 0.5137 GB 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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.04847/1.569, allocations: 6.757 MB / 0.7323 GB, free: 78.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02598/1.595, allocations: 3.029 MB / 0.7352 GB, free: 77.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/1.595, allocations: 2.297 kB / 0.7352 GB, free: 77.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01031/1.606, allocations: 1.985 MB / 0.7372 GB, free: 76.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/1.61, allocations: 164.5 kB / 0.7373 GB, free: 76.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1047/1.714, allocations: 21.92 MB / 0.7587 GB, free: 59.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/1.717, allocations: 1.274 MB / 0.76 GB, free: 58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002245/1.719, allocations: 158.8 kB / 0.7601 GB, free: 57.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.721, allocations: 0.6555 MB / 0.7608 GB, free: 57.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.224e-06/1.721, allocations: 0 / 0.7608 GB, free: 57.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.212/1.933, allocations: 48.56 MB / 0.8082 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.31/32.24, allocations: 7.062 kB / 0.8082 GB, free: 8.703 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)