Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.ESST1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00594/0.00594, allocations: 101.1 kB / 15.88 MB, free: 5.871 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.364/1.364, allocations: 222.9 MB / 239.5 MB, free: 4.824 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.001308/0.001308, allocations: 188.5 kB / 289.8 MB, free: 2.559 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5358/0.5358, allocations: 91.9 MB / 431.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 75.88 kB / 0.5019 GB, free: 8.227 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3582, allocations: 71.26 MB / 0.5715 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A): time 0.007506/0.3657, allocations: 9.382 MB / 0.5806 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005542/0.3713, allocations: 2.971 MB / 0.5835 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.3731, allocations: 19.12 kB / 0.5835 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3742, allocations: 289.1 kB / 0.5838 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002951/0.3772, allocations: 0.9355 MB / 0.5847 GB, free: 27.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.3793, allocations: 0.9417 MB / 0.5856 GB, free: 27.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00281/0.3821, allocations: 2.489 MB / 0.5881 GB, free: 26.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.3828, allocations: 495.8 kB / 0.5885 GB, free: 25.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.3843, allocations: 0.9123 MB / 0.5894 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.3857, allocations: 1.201 MB / 0.5906 GB, free: 24.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003381/0.386, allocations: 121.6 kB / 0.5907 GB, free: 24.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/0.3869, allocations: 293.7 kB / 0.591 GB, free: 24.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.3872, allocations: 449.7 kB / 0.5914 GB, free: 24.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007685/0.388, allocations: 0.9528 MB / 0.5924 GB, free: 23.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.3896, allocations: 2.046 MB / 0.5944 GB, free: 23.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3896, allocations: 3.328 kB / 0.5944 GB, free: 23.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3896, allocations: 0 / 0.5944 GB, free: 23.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.421e-05/0.3897, allocations: 0 / 0.5944 GB, free: 23.18 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.01387/0.4036, allocations: 3.937 MB / 0.5982 GB, free: 21.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4037, allocations: 9.531 kB / 0.5982 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/0.4087, allocations: 0.7843 MB / 0.599 GB, free: 21.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.4117, allocations: 1.317 MB / 0.6003 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000454/0.4122, allocations: 495.1 kB / 0.6007 GB, free: 20.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.4125, allocations: 131.8 kB / 0.6009 GB, free: 20.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.4162, allocations: 1.656 MB / 0.6025 GB, free: 19.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4162, allocations: 3.938 kB / 0.6025 GB, free: 19.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.4164, allocations: 50.47 kB / 0.6025 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.4164, allocations: 31.97 kB / 0.6026 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003749/0.4202, allocations: 1.566 MB / 0.6041 GB, free: 18.8 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.01121/0.4314, allocations: 5.521 MB / 0.6095 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008938/0.4404, allocations: 3.202 MB / 0.6126 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/0.4429, allocations: 1.016 MB / 0.6136 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.443, allocations: 29.05 kB / 0.6136 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002699/0.4458, allocations: 1.188 MB / 0.6148 GB, free: 13.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.206e-06/0.4458, allocations: 0 / 0.6148 GB, free: 13.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=143): time 0.04369/0.4895, allocations: 10.97 MB / 0.6255 GB, free: 6.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.4896, allocations: 183.4 kB / 0.6257 GB, free: 6.734 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/0.4921, allocations: 1.67 MB / 0.6273 GB, free: 5.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004735/0.4926, allocations: 53.7 kB / 0.6274 GB, free: 5.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.493, allocations: 0.6991 MB / 0.628 GB, free: 4.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/0.4936, allocations: 0.5045 MB / 0.6285 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006557/0.4942, allocations: 383.7 kB / 0.6289 GB, free: 3.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.4943, allocations: 309.1 kB / 0.6292 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/0.4964, allocations: 1.11 MB / 0.6303 GB, free: 1.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.4986, allocations: 1.325 MB / 0.6316 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/0.5034, allocations: 2.312 MB / 0.6338 GB, free: 14.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.5034, allocations: 4 kB / 0.6338 GB, free: 14.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01049/0.5139, allocations: 4.11 MB / 0.6379 GB, free: 10.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.514, allocations: 11.98 kB / 0.6379 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.514, allocations: 0 / 0.6379 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/0.525, allocations: 3.206 MB / 0.641 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.5267, allocations: 303.6 kB / 0.6413 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008323/0.535, allocations: 3.41 MB / 0.6446 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/0.5383, allocations: 306 kB / 0.6449 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/0.5386, allocations: 75.97 kB / 0.645 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002956/0.5415, allocations: 1.308 MB / 0.6463 GB, free: 1.445 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002502/0.5441, allocations: 1.292 MB / 0.6475 GB, free: 96 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00468/0.5488, allocations: 2.245 MB / 0.6497 GB, free: 13.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.812e-06/0.5488, allocations: 0 / 0.6497 GB, free: 13.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=268) (initialization_lambda0): time 0.01115/0.5599, allocations: 4.199 MB / 0.6538 GB, free: 9.586 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.56, allocations: 4 kB / 0.6538 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.56, allocations: 8 kB / 0.6538 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.5705, allocations: 3.132 MB / 0.6569 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.5722, allocations: 311.5 kB / 0.6572 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008244/0.5805, allocations: 3.217 MB / 0.6603 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/0.5837, allocations: 258.5 kB / 0.6606 GB, free: 2.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/0.5842, allocations: 71.98 kB / 0.6606 GB, free: 2.566 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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,61)} Notification: Performance of prepare postOptimizeDAE: time 0.000785/0.585, allocations: 272.8 kB / 0.6609 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008371/0.5859, allocations: 185.7 kB / 0.6611 GB, free: 2.109 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0182/0.6041, allocations: 5.217 MB / 0.6662 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-05/0.6041, allocations: 23.94 kB / 0.6662 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.6042, allocations: 7.922 kB / 0.6662 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.303e-05/0.6042, allocations: 3.984 kB / 0.6662 GB, free: 12.83 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.02323/0.6275, allocations: 7.537 MB / 0.6736 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.6275, allocations: 4 kB / 0.6736 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.6287, allocations: 159.8 kB / 0.6737 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008227/0.6369, allocations: 2.318 MB / 0.676 GB, free: 2.668 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004266/0.6374, allocations: 39.92 kB / 0.676 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02919/0.6666, allocations: 11.55 MB / 0.6873 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.6666, allocations: 4.031 kB / 0.6873 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02126/0.6879, allocations: 6.498 MB / 0.6937 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/0.6889, allocations: 306.5 kB / 0.6939 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009037/0.6898, allocations: 28 kB / 0.694 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/0.6924, allocations: 171.8 kB / 0.6941 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/0.6936, allocations: 265.3 kB / 0.6944 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002983/0.6939, allocations: 43.98 kB / 0.6944 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002476/0.6964, allocations: 1.133 MB / 0.6955 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6964, allocations: 0 / 0.6955 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004271/0.7007, allocations: 0.9558 MB / 0.6965 GB, free: 13.35 MB / 0.4981 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,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.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 (91): * 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: 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,9), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005965/0.7013, allocations: 156.6 kB / 0.6966 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01787/0.7192, allocations: 5.308 MB / 0.7018 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7193, allocations: 0 / 0.7018 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007207/0.7265, allocations: 2.154 MB / 0.7039 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.7293, allocations: 182 kB / 0.7041 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/0.7379, allocations: 4.226 MB / 0.7082 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.7391, allocations: 1.344 MB / 0.7095 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/0.74, allocations: 103.4 kB / 0.7096 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.74, allocations: 0 / 0.7096 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.04699/0.787, allocations: 33.22 MB / 0.7421 GB, free: 14.54 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe 2>&1)