Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.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.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001269/0.001269, allocations: 196.4 kB / 289.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4938/0.4938, allocations: 91.9 MB / 431.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 79.86 kB / 0.5019 GB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3294, allocations: 71.26 MB / 0.5715 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B): time 0.006985/0.3364, allocations: 8.941 MB / 0.5802 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004692/0.3412, allocations: 2.911 MB / 0.583 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009581/0.3422, allocations: 16.88 kB / 0.5831 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.3429, allocations: 335.2 kB / 0.5834 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.3452, allocations: 1.145 MB / 0.5845 GB, free: 28.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.347, allocations: 0.9906 MB / 0.5855 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.3489, allocations: 2.439 MB / 0.5878 GB, free: 26.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005837/0.3495, allocations: 0.5389 MB / 0.5884 GB, free: 26.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/0.3504, allocations: 0.9957 MB / 0.5893 GB, free: 25.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.3515, allocations: 1.225 MB / 0.5905 GB, free: 24.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003403/0.3519, allocations: 209.7 kB / 0.5907 GB, free: 24.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.3526, allocations: 441.7 kB / 0.5912 GB, free: 24.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.3529, allocations: 0.5075 MB / 0.5917 GB, free: 24.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.3535, allocations: 1.022 MB / 0.5926 GB, free: 23.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.3555, allocations: 2.566 MB / 0.5952 GB, free: 22.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3555, allocations: 1.469 kB / 0.5952 GB, free: 22.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3555, allocations: 0 / 0.5952 GB, free: 22.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.198e-05/0.3556, allocations: 3.938 kB / 0.5952 GB, free: 22.74 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01345/0.369, allocations: 3.858 MB / 0.5989 GB, free: 21.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3691, allocations: 9.156 kB / 0.5989 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007095/0.3762, allocations: 0.9248 MB / 0.5998 GB, free: 20.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.3784, allocations: 1.188 MB / 0.601 GB, free: 20.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/0.3789, allocations: 0.5057 MB / 0.6015 GB, free: 19.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.3791, allocations: 133.6 kB / 0.6016 GB, free: 19.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.3827, allocations: 1.698 MB / 0.6033 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.3827, allocations: 0 / 0.6033 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.3828, allocations: 46.53 kB / 0.6033 GB, free: 18.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.3829, allocations: 27.81 kB / 0.6034 GB, free: 18.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/0.3865, allocations: 1.555 MB / 0.6049 GB, free: 18.4 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.01091/0.3974, allocations: 5.933 MB / 0.6107 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.4076, allocations: 3.394 MB / 0.614 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00243/0.4101, allocations: 1.025 MB / 0.615 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.4102, allocations: 22.52 kB / 0.615 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4103, allocations: 59.25 kB / 0.6151 GB, free: 13.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 3.136e-06/0.4103, allocations: 0 / 0.6151 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04177/0.4521, allocations: 10.56 MB / 0.6254 GB, free: 6.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.4522, allocations: 201.2 kB / 0.6256 GB, free: 6.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.4541, allocations: 1.456 MB / 0.627 GB, free: 5.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005661/0.4547, allocations: 53.7 kB / 0.627 GB, free: 5.062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.4551, allocations: 0.6631 MB / 0.6277 GB, free: 4.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/0.4558, allocations: 0.4891 MB / 0.6282 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006471/0.4564, allocations: 375.5 kB / 0.6285 GB, free: 3.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.4565, allocations: 305.1 kB / 0.6288 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/0.4587, allocations: 1.118 MB / 0.6299 GB, free: 2.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.4611, allocations: 1.364 MB / 0.6312 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005104/0.4663, allocations: 2.354 MB / 0.6335 GB, free: 14.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.4663, allocations: 0 / 0.6335 GB, free: 14.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01209/0.4784, allocations: 4.351 MB / 0.6378 GB, free: 9.863 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.4785, allocations: 15.92 kB / 0.6378 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4785, allocations: 4 kB / 0.6378 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/0.492, allocations: 3.586 MB / 0.6413 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.4936, allocations: 291.5 kB / 0.6416 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008819/0.5024, allocations: 3.451 MB / 0.645 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.5052, allocations: 290 kB / 0.6452 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/0.5055, allocations: 71.98 kB / 0.6453 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003295/0.5088, allocations: 1.309 MB / 0.6466 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002906/0.5117, allocations: 1.329 MB / 0.6479 GB, free: 15.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005219/0.517, allocations: 2.292 MB / 0.6501 GB, free: 13.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.582e-06/0.517, allocations: 3.938 kB / 0.6501 GB, free: 13.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=261) (initialization_lambda0): time 0.01188/0.5289, allocations: 4.246 MB / 0.6543 GB, free: 8.793 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.529, allocations: 4 kB / 0.6543 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.529, allocations: 4.438 kB / 0.6543 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/0.5424, allocations: 3.546 MB / 0.6577 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.544, allocations: 299.5 kB / 0.658 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008785/0.5528, allocations: 3.322 MB / 0.6613 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.5557, allocations: 250.5 kB / 0.6615 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/0.5561, allocations: 75.97 kB / 0.6616 GB, free: 1.273 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (eSST4B.VM1.local_reset,eSST4B.VR1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 168 * 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 {(35,58)} Notification: Performance of prepare postOptimizeDAE: time 0.000619/0.5567, allocations: 277 kB / 0.6618 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006866/0.5574, allocations: 173.8 kB / 0.662 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01857/0.576, allocations: 5.13 MB / 0.667 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.576, allocations: 12 kB / 0.667 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5761, allocations: 0 / 0.667 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.033e-05/0.5761, allocations: 7.984 kB / 0.667 GB, free: 11.64 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 postOpt removeSimpleEquations (simulation): time 0.02294/0.5991, allocations: 7.417 MB / 0.6743 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.5991, allocations: 4.031 kB / 0.6743 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.6002, allocations: 179.8 kB / 0.6745 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008174/0.6084, allocations: 2.236 MB / 0.6766 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000276/0.6087, allocations: 31.98 kB / 0.6767 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02886/0.6376, allocations: 11.92 MB / 0.6883 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6376, allocations: 0 / 0.6883 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/0.6587, allocations: 6.463 MB / 0.6946 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007357/0.6595, allocations: 282.5 kB / 0.6949 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005328/0.66, allocations: 28 kB / 0.6949 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/0.662, allocations: 147.8 kB / 0.6951 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009648/0.663, allocations: 289.3 kB / 0.6953 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.6632, allocations: 36 kB / 0.6954 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001532/0.6647, allocations: 0.9691 MB / 0.6963 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.533e-06/0.6647, allocations: 0 / 0.6963 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002742/0.6675, allocations: 0.9439 MB / 0.6972 GB, free: 12.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSST4B.VA.state,eSST4B.VR1.y,eSST4B.VM1.y,eSST4B.TransducerDelay.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 (87): * Single equations (assignments): 85 * 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,6), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003766/0.6679, allocations: 145.3 kB / 0.6974 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01877/0.6866, allocations: 5.456 MB / 0.7027 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.6867, allocations: 0 / 0.7027 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00696/0.6937, allocations: 2.183 MB / 0.7048 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.6955, allocations: 168.5 kB / 0.705 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007976/0.7035, allocations: 3.555 MB / 0.7085 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.7045, allocations: 1.281 MB / 0.7097 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001034/0.7056, allocations: 170.8 kB / 0.7099 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.706, allocations: 103.4 kB / 0.71 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of SimCode: time 1.363e-06/0.706, allocations: 3.938 kB / 0.71 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.06971/0.7757, allocations: 42.59 MB / 0.7516 GB, free: 4.496 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.pipe 2>&1)