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.001331/0.001331, allocations: 100.1 kB / 15.88 MB, free: 12 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.329/1.329, allocations: 222.9 MB / 239.5 MB, free: 4.758 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.00136/0.00136, allocations: 184.5 kB / 289.8 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5301/0.5301, allocations: 91.89 MB / 431.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 79.88 kB / 0.5019 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3406, allocations: 71.27 MB / 0.5715 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006834/0.3475, allocations: 8.615 MB / 0.5799 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004947/0.3525, allocations: 2.612 MB / 0.5824 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.3542, allocations: 14.22 kB / 0.5824 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.3554, allocations: 249.9 kB / 0.5827 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.3585, allocations: 0.9972 MB / 0.5836 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.36, allocations: 0.6411 MB / 0.5843 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.3621, allocations: 2.07 MB / 0.5863 GB, free: 27.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.3626, allocations: 381.9 kB / 0.5867 GB, free: 27.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/0.3636, allocations: 0.787 MB / 0.5874 GB, free: 26.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.3646, allocations: 1.059 MB / 0.5885 GB, free: 26.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003134/0.3649, allocations: 104.5 kB / 0.5886 GB, free: 26.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007964/0.3657, allocations: 328.1 kB / 0.5889 GB, free: 26.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003122/0.3661, allocations: 383.5 kB / 0.5892 GB, free: 26.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007604/0.3668, allocations: 0.8287 MB / 0.59 GB, free: 25.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.3683, allocations: 1.729 MB / 0.5917 GB, free: 24.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3683, allocations: 3.5 kB / 0.5917 GB, free: 24.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3684, allocations: 0 / 0.5917 GB, free: 24.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.344e-05/0.3684, allocations: 0 / 0.5917 GB, free: 24.83 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.01284/0.3812, allocations: 3.547 MB / 0.5952 GB, free: 23.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3813, allocations: 8.906 kB / 0.5952 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.3861, allocations: 0.7563 MB / 0.5959 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.3882, allocations: 1.112 MB / 0.597 GB, free: 22.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/0.3886, allocations: 427.3 kB / 0.5974 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.3889, allocations: 112 kB / 0.5975 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.3919, allocations: 1.43 MB / 0.5989 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.392, allocations: 1.25 kB / 0.5989 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.3921, allocations: 44.48 kB / 0.599 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.3922, allocations: 24.19 kB / 0.599 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003067/0.3952, allocations: 1.35 MB / 0.6003 GB, free: 20.99 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.009652/0.4049, allocations: 4.937 MB / 0.6052 GB, free: 18.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008695/0.4136, allocations: 2.896 MB / 0.608 GB, free: 16.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/0.4159, allocations: 0.9191 MB / 0.6089 GB, free: 16.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.4161, allocations: 27.67 kB / 0.6089 GB, free: 16.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002425/0.4186, allocations: 1.055 MB / 0.6099 GB, free: 16.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.108e-06/0.4186, allocations: 0 / 0.6099 GB, free: 16.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.0408/0.4594, allocations: 9.799 MB / 0.6195 GB, free: 12.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.4595, allocations: 121.4 kB / 0.6196 GB, free: 12.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.4618, allocations: 1.412 MB / 0.621 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004133/0.4622, allocations: 49.77 kB / 0.621 GB, free: 11.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.4626, allocations: 0.604 MB / 0.6216 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/0.4631, allocations: 465.4 kB / 0.6221 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006/0.4637, allocations: 331.5 kB / 0.6224 GB, free: 10.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.4638, allocations: 301.1 kB / 0.6227 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.4657, allocations: 0.9722 MB / 0.6236 GB, free: 8.824 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.4676, allocations: 1.178 MB / 0.6248 GB, free: 7.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/0.4713, allocations: 2.077 MB / 0.6268 GB, free: 5.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.4714, allocations: 3.938 kB / 0.6268 GB, free: 5.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008536/0.4799, allocations: 3.711 MB / 0.6304 GB, free: 1.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.48, allocations: 8 kB / 0.6304 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.48, allocations: 0 / 0.6304 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009623/0.4896, allocations: 2.978 MB / 0.6334 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.4912, allocations: 267.6 kB / 0.6336 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007419/0.4986, allocations: 3 MB / 0.6365 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.5012, allocations: 246.3 kB / 0.6368 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.5015, allocations: 63.98 kB / 0.6368 GB, free: 11.17 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.0006682/0.5021, allocations: 305.4 kB / 0.6371 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/0.5025, allocations: 161.9 kB / 0.6373 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/0.5186, allocations: 4.823 MB / 0.642 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.5186, allocations: 12 kB / 0.642 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.5186, allocations: 4 kB / 0.642 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.433e-05/0.5187, allocations: 11.91 kB / 0.642 GB, free: 5.828 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.01913/0.5378, allocations: 6.895 MB / 0.6487 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.5379, allocations: 4 kB / 0.6488 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009822/0.5389, allocations: 135.8 kB / 0.6489 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007782/0.5467, allocations: 2.146 MB / 0.651 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003638/0.5471, allocations: 27.98 kB / 0.651 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02374/0.5708, allocations: 9.171 MB / 0.66 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5709, allocations: 0 / 0.66 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/0.5895, allocations: 5.958 MB / 0.6658 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/0.5903, allocations: 274.8 kB / 0.666 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003726/0.5907, allocations: 27.98 kB / 0.6661 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.5924, allocations: 131.8 kB / 0.6662 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008762/0.5932, allocations: 257.2 kB / 0.6664 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5934, allocations: 39.98 kB / 0.6665 GB, free: 12.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001553/0.5949, allocations: 0.9464 MB / 0.6674 GB, free: 11.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5949, allocations: 4 kB / 0.6674 GB, free: 11.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001697/0.5966, allocations: 0.5229 MB / 0.6679 GB, free: 10.96 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.0003685/0.597, allocations: 163.8 kB / 0.6681 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009495/0.6065, allocations: 2.852 MB / 0.6709 GB, free: 7.938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.6066, allocations: 0 / 0.6709 GB, free: 7.938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006492/0.6131, allocations: 1.89 MB / 0.6727 GB, free: 6.035 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.6148, allocations: 131.2 kB / 0.6728 GB, free: 5.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/0.6214, allocations: 3.627 MB / 0.6764 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.6222, allocations: 1.231 MB / 0.6776 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.6228, allocations: 91.42 kB / 0.6777 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6229, allocations: 0 / 0.6777 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of Templates: time 0.03552/0.6584, allocations: 25.69 MB / 0.7027 GB, free: 7.203 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)