Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005913/0.005913, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.342/1.342, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001266/0.001267, allocations: 180.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5063/0.5063, allocations: 91.9 MB / 431.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 77.72 kB / 0.5727 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1373, allocations: 71.28 MB / 0.6424 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.008344/0.1457, allocations: 8.319 MB / 0.6505 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.1502, allocations: 2.591 MB / 0.653 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006427/0.1509, allocations: 16 kB / 0.653 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.1515, allocations: 305.2 kB / 0.6533 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.1537, allocations: 1.048 MB / 0.6543 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.1554, allocations: 0.8216 MB / 0.6551 GB, free: 6.449 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.1576, allocations: 2.155 MB / 0.6572 GB, free: 4.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006113/0.1582, allocations: 465.2 kB / 0.6577 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008957/0.1591, allocations: 0.8676 MB / 0.6585 GB, free: 2.934 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1602, allocations: 1.112 MB / 0.6596 GB, free: 1.816 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.1605, allocations: 188 kB / 0.6598 GB, free: 1.633 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006127/0.1611, allocations: 363.8 kB / 0.6601 GB, free: 1.277 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.1615, allocations: 450.2 kB / 0.6606 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007276/0.1623, allocations: 0.9129 MB / 0.6615 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.1644, allocations: 2.269 MB / 0.6637 GB, free: 13.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1645, allocations: 0 / 0.6637 GB, free: 13.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1645, allocations: 0 / 0.6637 GB, free: 13.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.252e-05/0.1645, allocations: 0 / 0.6637 GB, free: 13.64 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01213/0.1766, allocations: 3.539 MB / 0.6671 GB, free: 10.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1767, allocations: 8.031 kB / 0.6671 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004665/0.1814, allocations: 0.7549 MB / 0.6679 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.1831, allocations: 1.085 MB / 0.6689 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004639/0.1836, allocations: 454.4 kB / 0.6694 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.1838, allocations: 120 kB / 0.6695 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.1869, allocations: 1.451 MB / 0.6709 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.1869, allocations: 0 / 0.6709 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.1871, allocations: 40 kB / 0.6709 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.1871, allocations: 28 kB / 0.671 GB, free: 5.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/0.1902, allocations: 1.355 MB / 0.6723 GB, free: 4.609 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.00836/0.1986, allocations: 4.918 MB / 0.6771 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008875/0.2075, allocations: 3 MB / 0.68 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.2095, allocations: 0.9313 MB / 0.6809 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.2096, allocations: 16.98 kB / 0.681 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.2097, allocations: 59.48 kB / 0.681 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=128): time 3.336e-06/0.2097, allocations: 4 kB / 0.681 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=128): time 0.04156/0.2513, allocations: 9.799 MB / 0.6906 GB, free: 1.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.2514, allocations: 153.5 kB / 0.6907 GB, free: 1.258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.2539, allocations: 1.352 MB / 0.692 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/0.2542, allocations: 53.7 kB / 0.6921 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006475/0.2548, allocations: 0.6002 MB / 0.6927 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006571/0.2555, allocations: 473.2 kB / 0.6931 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008334/0.2564, allocations: 343.5 kB / 0.6935 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2565, allocations: 305.1 kB / 0.6938 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.2588, allocations: 0.9964 MB / 0.6947 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.2612, allocations: 1.187 MB / 0.6959 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004509/0.2658, allocations: 2.109 MB / 0.6979 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2658, allocations: 0 / 0.6979 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.0102/0.276, allocations: 3.793 MB / 0.7017 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.276, allocations: 5.094 kB / 0.7017 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.276, allocations: 4 kB / 0.7017 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/0.287, allocations: 3.028 MB / 0.7046 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.2883, allocations: 279.6 kB / 0.7049 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00772/0.2961, allocations: 3.056 MB / 0.7079 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.2983, allocations: 242.2 kB / 0.7081 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.2985, allocations: 71.97 kB / 0.7082 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002812/0.3014, allocations: 1.183 MB / 0.7093 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002485/0.3039, allocations: 1.187 MB / 0.7105 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004578/0.3085, allocations: 2.081 MB / 0.7125 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.602e-06/0.3085, allocations: 0 / 0.7125 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.01036/0.3188, allocations: 3.758 MB / 0.7162 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3189, allocations: 8 kB / 0.7162 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.3189, allocations: 7.938 kB / 0.7162 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.3294, allocations: 3.005 MB / 0.7191 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.3308, allocations: 279.6 kB / 0.7194 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007348/0.3382, allocations: 3.024 MB / 0.7224 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.3405, allocations: 222.6 kB / 0.7226 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.3408, allocations: 63.98 kB / 0.7226 GB, free: 276 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 {(34,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0004703/0.3413, allocations: 261 kB / 0.7229 GB, free: 8 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/0.3418, allocations: 162.1 kB / 0.723 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/0.3588, allocations: 4.91 MB / 0.7278 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.3589, allocations: 12 kB / 0.7278 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3589, allocations: 4 kB / 0.7278 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.3589, allocations: 7.969 kB / 0.7278 GB, free: 10.89 MB / 0.5294 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.0204/0.3793, allocations: 7.074 MB / 0.7348 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.3793, allocations: 4 kB / 0.7348 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.3803, allocations: 151.8 kB / 0.7349 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008224/0.3885, allocations: 2.221 MB / 0.7371 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.3887, allocations: 27.98 kB / 0.7371 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02948/0.4182, allocations: 11.86 MB / 0.7487 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.4183, allocations: 3.984 kB / 0.7487 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02034/0.4386, allocations: 6.124 MB / 0.7547 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/0.4392, allocations: 274.7 kB / 0.7549 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/0.4397, allocations: 27.94 kB / 0.7549 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/0.4414, allocations: 119.9 kB / 0.7551 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008911/0.4423, allocations: 269.3 kB / 0.7553 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.4425, allocations: 28 kB / 0.7553 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001642/0.4441, allocations: 0.9072 MB / 0.7562 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4441, allocations: 4 kB / 0.7562 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003997/0.4481, allocations: 0.8583 MB / 0.7571 GB, free: 12.47 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004685/0.4486, allocations: 155.1 kB / 0.7572 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01687/0.4655, allocations: 4.978 MB / 0.7621 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.4655, allocations: 4 kB / 0.7621 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006985/0.4725, allocations: 2.066 MB / 0.7641 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.4741, allocations: 133.2 kB / 0.7642 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007035/0.4812, allocations: 3.154 MB / 0.7673 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/0.4821, allocations: 1.23 MB / 0.7685 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007677/0.4829, allocations: 157.9 kB / 0.7687 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.4833, allocations: 95.42 kB / 0.7688 GB, free: 420 kB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/0.4833, allocations: 0 / 0.7688 GB, free: 420 kB / 0.5606 GB Notification: Performance of Templates: time 0.3201/0.8034, allocations: 38.38 MB / 0.8062 GB, free: 95.41 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)