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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0872/0.0872, allocations: 12.59 MB / 28.22 MB, free: 0.7656 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.001003/0.001003, allocations: 107.4 kB / 31.84 MB, free: 3.895 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.408/1.408, allocations: 205.1 MB / 240.4 MB, free: 12.34 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.00128/0.00128, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4544/0.4544, allocations: 78.51 MB / 419.3 MB, free: 11.22 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.00253/0.00253, allocations: 142.5 kB / 0.5559 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1356, allocations: 68.13 MB / 0.6224 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.009758/0.1454, allocations: 8.798 MB / 0.631 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005767/0.1512, allocations: 2.806 MB / 0.6337 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.1523, allocations: 16 kB / 0.6338 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.1535, allocations: 341.1 kB / 0.6341 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.157, allocations: 1.243 MB / 0.6353 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.159, allocations: 0.8491 MB / 0.6361 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003249/0.1623, allocations: 2.568 MB / 0.6386 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008576/0.1631, allocations: 498 kB / 0.6391 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.1648, allocations: 0.9689 MB / 0.6401 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.1668, allocations: 1.202 MB / 0.6412 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006137/0.1674, allocations: 211.9 kB / 0.6414 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.1685, allocations: 479.6 kB / 0.6419 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004514/0.169, allocations: 0.4942 MB / 0.6424 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000985/0.17, allocations: 0.9944 MB / 0.6433 GB, free: 9.859 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.1729, allocations: 2.583 MB / 0.6459 GB, free: 7.266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1729, allocations: 0 / 0.6459 GB, free: 7.266 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1729, allocations: 0 / 0.6459 GB, free: 7.266 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.187e-05/0.1729, allocations: 0 / 0.6459 GB, free: 7.266 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.01583/0.1888, allocations: 4.107 MB / 0.6499 GB, free: 3.098 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1888, allocations: 11.98 kB / 0.6499 GB, free: 3.086 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005116/0.194, allocations: 0.7754 MB / 0.6506 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/0.1972, allocations: 1.248 MB / 0.6519 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006553/0.1979, allocations: 454.5 kB / 0.6523 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005229/0.1984, allocations: 124 kB / 0.6524 GB, free: 380 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004146/0.2026, allocations: 1.515 MB / 0.6539 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.2026, allocations: 7.938 kB / 0.6539 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.2028, allocations: 43.98 kB / 0.6539 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.2028, allocations: 24 kB / 0.654 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003528/0.2064, allocations: 1.421 MB / 0.6554 GB, free: 13.3 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.01238/0.2188, allocations: 5.391 MB / 0.6606 GB, free: 7.672 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008966/0.2278, allocations: 3.066 MB / 0.6636 GB, free: 4.465 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/0.23, allocations: 0.9751 MB / 0.6646 GB, free: 3.484 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.2308, allocations: 0.7297 MB / 0.6653 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00262/0.2334, allocations: 1.122 MB / 0.6664 GB, free: 1.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 4.298e-06/0.2334, allocations: 0 / 0.6664 GB, free: 1.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=133): time 0.04222/0.2757, allocations: 9.769 MB / 0.6759 GB, free: 7.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/0.2758, allocations: 116.1 kB / 0.676 GB, free: 7.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003522/0.2794, allocations: 1.547 MB / 0.6775 GB, free: 5.945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004929/0.2799, allocations: 57.7 kB / 0.6776 GB, free: 5.883 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000776/0.2807, allocations: 0.6524 MB / 0.6782 GB, free: 5.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000912/0.2816, allocations: 0.5074 MB / 0.6787 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.2829, allocations: 367.6 kB / 0.6791 GB, free: 4.348 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.283, allocations: 305.1 kB / 0.6794 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/0.2857, allocations: 1.05 MB / 0.6804 GB, free: 2.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/0.2886, allocations: 1.266 MB / 0.6816 GB, free: 1.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005168/0.2937, allocations: 2.224 MB / 0.6838 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.2938, allocations: 0 / 0.6838 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01039/0.3042, allocations: 3.844 MB / 0.6875 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.3042, allocations: 8 kB / 0.6876 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/0.3043, allocations: 11.94 kB / 0.6876 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009858/0.3142, allocations: 2.675 MB / 0.6902 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.3161, allocations: 363.5 kB / 0.6905 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.3229, allocations: 2.695 MB / 0.6932 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.3261, allocations: 286.6 kB / 0.6934 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005027/0.3267, allocations: 71.97 kB / 0.6935 GB, free: 5.387 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.00142/0.3281, allocations: 326.9 kB / 0.6938 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007514/0.3289, allocations: 182.8 kB / 0.694 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/0.3459, allocations: 4.954 MB / 0.6988 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.346, allocations: 16 kB / 0.6988 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.346, allocations: 0 / 0.6988 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.461e-05/0.3461, allocations: 7.969 kB / 0.6988 GB, free: 15.88 MB / 0.5137 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.02144/0.3675, allocations: 7.112 MB / 0.7058 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.3676, allocations: 0 / 0.7058 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.3688, allocations: 171.7 kB / 0.706 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007727/0.3765, allocations: 2.138 MB / 0.708 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003653/0.3769, allocations: 24 kB / 0.7081 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3087/0.6856, allocations: 10.07 MB / 0.7179 GB, free: 82.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6856, allocations: 1.25 kB / 0.7179 GB, free: 82.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02019/0.7058, allocations: 6.135 MB / 0.7239 GB, free: 81.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/0.7065, allocations: 303.4 kB / 0.7242 GB, free: 80.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.7067, allocations: 28.22 kB / 0.7242 GB, free: 80.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.7084, allocations: 143.5 kB / 0.7244 GB, free: 80.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009011/0.7093, allocations: 270.8 kB / 0.7246 GB, free: 80.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.7094, allocations: 44.09 kB / 0.7247 GB, free: 80.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001661/0.7111, allocations: 1.031 MB / 0.7257 GB, free: 80.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7111, allocations: 0 / 0.7257 GB, free: 80.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001763/0.7129, allocations: 0.5662 MB / 0.7262 GB, free: 80.32 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.0004066/0.7133, allocations: 169.2 kB / 0.7264 GB, free: 80.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009498/0.7228, allocations: 3.036 MB / 0.7293 GB, free: 79.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7228, allocations: 6.094 kB / 0.7293 GB, free: 79.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006696/0.7295, allocations: 1.997 MB / 0.7313 GB, free: 78.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.7312, allocations: 153.8 kB / 0.7314 GB, free: 78.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/0.7379, allocations: 3.381 MB / 0.7347 GB, free: 76.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.739, allocations: 1.276 MB / 0.736 GB, free: 76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009835/0.74, allocations: 163.9 kB / 0.7361 GB, free: 75.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.7404, allocations: 106.7 kB / 0.7362 GB, free: 75.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.824e-06/0.7405, allocations: 0 / 0.7362 GB, free: 75.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.0424/0.7829, allocations: 31.78 MB / 0.7673 GB, free: 50.95 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)