Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008751/0.0008753, allocations: 180.6 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 239.5 MB, free: 1.617 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008011/0.0008009, allocations: 101.4 kB / 290.7 MB, free: 13.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4268/0.4268, allocations: 78.61 MB / 420.4 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 12 kB / 0.4888 GB, free: 2.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3468, allocations: 69.35 MB / 0.5565 GB, free: 39.17 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.007109/0.354, allocations: 8.578 MB / 0.5649 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.3597, allocations: 2.789 MB / 0.5676 GB, free: 33.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.3612, allocations: 17.56 kB / 0.5676 GB, free: 33.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.3621, allocations: 280.1 kB / 0.5679 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.3651, allocations: 1.139 MB / 0.569 GB, free: 32.96 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.3669, allocations: 0.773 MB / 0.5698 GB, free: 32.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002527/0.3694, allocations: 2.518 MB / 0.5722 GB, free: 31.37 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005346/0.37, allocations: 471.6 kB / 0.5727 GB, free: 31.12 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009086/0.3709, allocations: 0.852 MB / 0.5735 GB, free: 30.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008227/0.3717, allocations: 1.112 MB / 0.5746 GB, free: 30.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.3719, allocations: 94.31 kB / 0.5747 GB, free: 30.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.3725, allocations: 305.7 kB / 0.575 GB, free: 30.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.3728, allocations: 415.3 kB / 0.5754 GB, free: 29.95 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.3733, allocations: 0.9178 MB / 0.5763 GB, free: 29.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.3749, allocations: 2.449 MB / 0.5787 GB, free: 28.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.375, allocations: 0 / 0.5787 GB, free: 28.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.375, allocations: 0 / 0.5787 GB, free: 28.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.375, allocations: 1.25 kB / 0.5787 GB, free: 28.49 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.01239/0.3874, allocations: 3.993 MB / 0.5826 GB, free: 27.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3874, allocations: 8.125 kB / 0.5826 GB, free: 27.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004319/0.3918, allocations: 0.78 MB / 0.5833 GB, free: 26.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.3938, allocations: 1.248 MB / 0.5845 GB, free: 26.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.3942, allocations: 0.5842 MB / 0.5851 GB, free: 25.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.3944, allocations: 127.1 kB / 0.5852 GB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.3971, allocations: 1.675 MB / 0.5869 GB, free: 24.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3971, allocations: 0 / 0.5869 GB, free: 24.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.3973, allocations: 46.5 kB / 0.5869 GB, free: 24.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.3973, allocations: 26.25 kB / 0.5869 GB, free: 24.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.4001, allocations: 1.594 MB / 0.5885 GB, free: 24.25 MB / 426.7 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.00811/0.4083, allocations: 5.692 MB / 0.5941 GB, free: 21.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008257/0.4165, allocations: 3.7 MB / 0.5977 GB, free: 19.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/0.4186, allocations: 1.072 MB / 0.5987 GB, free: 19.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.4187, allocations: 28.3 kB / 0.5987 GB, free: 19.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/0.4208, allocations: 1.246 MB / 0.6 GB, free: 18.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=140): time 2.795e-06/0.4209, allocations: 3.938 kB / 0.6 GB, free: 18.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.03851/0.4594, allocations: 11.75 MB / 0.6114 GB, free: 16.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.4595, allocations: 173.6 kB / 0.6116 GB, free: 16.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/0.4624, allocations: 1.578 MB / 0.6131 GB, free: 15.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003458/0.4628, allocations: 52.61 kB / 0.6132 GB, free: 15.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/0.4633, allocations: 0.6802 MB / 0.6139 GB, free: 14.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/0.464, allocations: 0.5011 MB / 0.6144 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.4644, allocations: 189.2 kB / 0.6145 GB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.4645, allocations: 306.2 kB / 0.6148 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.4667, allocations: 1.134 MB / 0.6159 GB, free: 12.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.4688, allocations: 1.343 MB / 0.6172 GB, free: 11.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/0.4729, allocations: 2.441 MB / 0.6196 GB, free: 8.934 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.4729, allocations: 0 / 0.6196 GB, free: 8.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01571/0.4886, allocations: 6.666 MB / 0.6261 GB, free: 2.242 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.4888, allocations: 225 kB / 0.6264 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4888, allocations: 4 kB / 0.6264 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008169/0.497, allocations: 2.959 MB / 0.6292 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.4985, allocations: 331.5 kB / 0.6296 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/0.505, allocations: 3.228 MB / 0.6327 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.5074, allocations: 338 kB / 0.633 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.5077, allocations: 71.98 kB / 0.6331 GB, free: 11.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5077, allocations: 7.984 kB / 0.6331 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01644/0.5241, allocations: 6.448 MB / 0.6394 GB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5242, allocations: 4 kB / 0.6394 GB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008344/0.5325, allocations: 2.947 MB / 0.6423 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.5339, allocations: 315.5 kB / 0.6426 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/0.5402, allocations: 3.216 MB / 0.6457 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.5426, allocations: 314.3 kB / 0.646 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.5428, allocations: 67.98 kB / 0.6461 GB, free: 13.67 MB / 458.7 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 (187): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * 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 {(29,44)} Notification: Performance of prepare postOptimizeDAE: time 0.000883/0.5437, allocations: 413.4 kB / 0.6465 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/0.5442, allocations: 177.8 kB / 0.6467 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/0.5601, allocations: 6.024 MB / 0.6525 GB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.5602, allocations: 15.94 kB / 0.6526 GB, free: 7.027 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.5602, allocations: 4 kB / 0.6526 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/0.5602, allocations: 11.97 kB / 0.6526 GB, free: 7.012 MB / 458.7 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.02041/0.5806, allocations: 8.5 MB / 0.6609 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.5807, allocations: 0 / 0.6609 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.5818, allocations: 195.8 kB / 0.6611 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007159/0.589, allocations: 2.505 MB / 0.6635 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002878/0.5893, allocations: 35.98 kB / 0.6635 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02307/0.6124, allocations: 10.32 MB / 0.6736 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6124, allocations: 0 / 0.6736 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/0.633, allocations: 7.342 MB / 0.6808 GB, free: 9.793 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.6343, allocations: 306.5 kB / 0.6811 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000984/0.6353, allocations: 28 kB / 0.6811 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00244/0.6378, allocations: 203.8 kB / 0.6813 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/0.6389, allocations: 269.3 kB / 0.6816 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/0.6391, allocations: 36 kB / 0.6816 GB, free: 8.949 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002169/0.6413, allocations: 1.076 MB / 0.6826 GB, free: 7.879 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6413, allocations: 0 / 0.6826 GB, free: 7.879 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003392/0.6447, allocations: 0.901 MB / 0.6835 GB, free: 6.977 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.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 (97): * Single equations (assignments): 96 * 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.0004656/0.6452, allocations: 163 kB / 0.6837 GB, free: 6.809 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01575/0.661, allocations: 5.824 MB / 0.6894 GB, free: 0.957 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.661, allocations: 0 / 0.6894 GB, free: 0.957 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006369/0.6674, allocations: 2.261 MB / 0.6916 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.6695, allocations: 167.3 kB / 0.6917 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.6766, allocations: 4.222 MB / 0.6959 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/0.6775, allocations: 1.304 MB / 0.6971 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001149/0.6787, allocations: 195.1 kB / 0.6973 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005372/0.6792, allocations: 103.4 kB / 0.6974 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.6792, allocations: 4 kB / 0.6974 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of Templates: time 0.05437/0.7336, allocations: 34.34 MB / 0.731 GB, free: 6.312 MB / 0.5261 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)