Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 99.7 kB / 16.35 MB, free: 5.828 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.267/1.267, allocations: 222.9 MB / 240 MB, free: 4.488 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.001198/0.001198, allocations: 192.1 kB / 290.3 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.482/0.482, allocations: 91.9 MB / 432.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 79.88 kB / 0.5033 GB, free: 6.91 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3271, allocations: 71.26 MB / 0.5729 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006443/0.3336, allocations: 8.282 MB / 0.581 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.3377, allocations: 2.552 MB / 0.5835 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007509/0.3385, allocations: 13.53 kB / 0.5835 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.3392, allocations: 324.8 kB / 0.5838 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.3412, allocations: 1.118 MB / 0.5849 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.3425, allocations: 0.6926 MB / 0.5855 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.3443, allocations: 2.201 MB / 0.5877 GB, free: 27.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.3448, allocations: 414 kB / 0.5881 GB, free: 27.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007862/0.3456, allocations: 0.8855 MB / 0.589 GB, free: 27.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009791/0.3466, allocations: 1.118 MB / 0.59 GB, free: 26.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.3469, allocations: 182.1 kB / 0.5902 GB, free: 26.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007987/0.3477, allocations: 412.9 kB / 0.5906 GB, free: 26.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.348, allocations: 466.1 kB / 0.5911 GB, free: 26.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006647/0.3486, allocations: 0.8969 MB / 0.5919 GB, free: 25.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.3506, allocations: 2.296 MB / 0.5942 GB, free: 24.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3506, allocations: 0 / 0.5942 GB, free: 24.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3506, allocations: 1 kB / 0.5942 GB, free: 24.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.3506, allocations: 4 kB / 0.5942 GB, free: 24.52 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01123/0.3618, allocations: 3.547 MB / 0.5976 GB, free: 23.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3619, allocations: 9.562 kB / 0.5977 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004542/0.3664, allocations: 0.7479 MB / 0.5984 GB, free: 22.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.3687, allocations: 1.116 MB / 0.5995 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.369, allocations: 425.7 kB / 0.5999 GB, free: 21.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.3693, allocations: 116.1 kB / 0.6 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/0.3721, allocations: 1.433 MB / 0.6014 GB, free: 21.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.3721, allocations: 0.6094 kB / 0.6014 GB, free: 21.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.3722, allocations: 35.69 kB / 0.6014 GB, free: 21.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.3723, allocations: 23.78 kB / 0.6015 GB, free: 21.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002845/0.3751, allocations: 1.352 MB / 0.6028 GB, free: 20.69 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.009216/0.3844, allocations: 4.904 MB / 0.6076 GB, free: 17.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007606/0.392, allocations: 2.9 MB / 0.6104 GB, free: 16.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.394, allocations: 0.919 MB / 0.6113 GB, free: 16.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.3941, allocations: 24.48 kB / 0.6113 GB, free: 16.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/0.3961, allocations: 1.064 MB / 0.6124 GB, free: 15.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.805e-06/0.3961, allocations: 0 / 0.6124 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03644/0.4326, allocations: 9.804 MB / 0.6219 GB, free: 11.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.4327, allocations: 119.8 kB / 0.622 GB, free: 11.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.4346, allocations: 1.411 MB / 0.6234 GB, free: 10.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003339/0.4349, allocations: 57.75 kB / 0.6235 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.4352, allocations: 0.5963 MB / 0.6241 GB, free: 9.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/0.4356, allocations: 461.4 kB / 0.6245 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005234/0.4361, allocations: 331.5 kB / 0.6248 GB, free: 8.664 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.375e-05/0.4362, allocations: 305.1 kB / 0.6251 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.4379, allocations: 0.9682 MB / 0.6261 GB, free: 7.395 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.4397, allocations: 1.174 MB / 0.6272 GB, free: 6.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/0.4431, allocations: 2.077 MB / 0.6292 GB, free: 4.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4431, allocations: 3.938 kB / 0.6292 GB, free: 4.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007946/0.4511, allocations: 3.715 MB / 0.6329 GB, free: 328 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.4511, allocations: 8 kB / 0.6329 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4512, allocations: 4 kB / 0.6329 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009386/0.4606, allocations: 2.981 MB / 0.6358 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.462, allocations: 267.6 kB / 0.636 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/0.4688, allocations: 2.992 MB / 0.639 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.4713, allocations: 246.3 kB / 0.6392 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.4715, allocations: 63.98 kB / 0.6393 GB, free: 9.738 MB / 446.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 (161): * Single equations (assignments): 160 * 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,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0006929/0.4722, allocations: 302.5 kB / 0.6395 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/0.4727, allocations: 161.9 kB / 0.6397 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/0.4876, allocations: 4.815 MB / 0.6444 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.4877, allocations: 12 kB / 0.6444 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.4877, allocations: 11.94 kB / 0.6444 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.333e-05/0.4877, allocations: 11.91 kB / 0.6444 GB, free: 4.395 MB / 446.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.01779/0.5055, allocations: 6.882 MB / 0.6512 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.5056, allocations: 0 / 0.6512 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009392/0.5065, allocations: 143.8 kB / 0.6513 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007019/0.5136, allocations: 2.146 MB / 0.6534 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003056/0.5139, allocations: 27.98 kB / 0.6534 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02337/0.5373, allocations: 10.06 MB / 0.6632 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5373, allocations: 4 kB / 0.6632 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/0.5545, allocations: 5.944 MB / 0.669 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007092/0.5553, allocations: 282.7 kB / 0.6693 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/0.5557, allocations: 31.88 kB / 0.6693 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.5573, allocations: 135.8 kB / 0.6695 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008364/0.5581, allocations: 257.4 kB / 0.6697 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.5583, allocations: 35.98 kB / 0.6697 GB, free: 10.12 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001395/0.5597, allocations: 0.9543 MB / 0.6707 GB, free: 9.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5597, allocations: 0 / 0.6707 GB, free: 9.172 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00143/0.5611, allocations: 0.5307 MB / 0.6712 GB, free: 8.641 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (83): * Single equations (assignments): 82 * 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.0003169/0.5614, allocations: 157.6 kB / 0.6714 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008254/0.5697, allocations: 2.887 MB / 0.6742 GB, free: 5.594 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5697, allocations: 0 / 0.6742 GB, free: 5.594 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005625/0.5754, allocations: 1.927 MB / 0.6761 GB, free: 3.648 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.5766, allocations: 142.4 kB / 0.6762 GB, free: 3.516 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.5816, allocations: 3.027 MB / 0.6791 GB, free: 468 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/0.5823, allocations: 1.227 MB / 0.6803 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004881/0.5828, allocations: 142 kB / 0.6805 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.5832, allocations: 95.42 kB / 0.6806 GB, free: 14.97 MB / 494.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5832, allocations: 0 / 0.6806 GB, free: 14.97 MB / 494.1 MB Notification: Performance of Templates: time 0.04168/0.6249, allocations: 30.3 MB / 0.7102 GB, free: 0.6797 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)