Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001005/0.001005, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.251/1.251, allocations: 222.9 MB / 238.8 MB, free: 4.754 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.001296/0.001295, allocations: 192.4 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4421/0.4421, allocations: 78.51 MB / 417.8 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.88 kB / 496.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1417, allocations: 68.19 MB / 0.5517 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2798/0.4215, allocations: 8.597 MB / 0.5601 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00518/0.4268, allocations: 2.596 MB / 0.5626 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.4281, allocations: 17.03 kB / 0.5627 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009286/0.429, allocations: 249.5 kB / 0.5629 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.4317, allocations: 1.072 MB / 0.5639 GB, free: 34.01 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001268/0.433, allocations: 0.6418 MB / 0.5646 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.435, allocations: 2.214 MB / 0.5667 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.4354, allocations: 378.3 kB / 0.5671 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007678/0.4362, allocations: 0.7912 MB / 0.5679 GB, free: 33.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007824/0.437, allocations: 1.067 MB / 0.5689 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.4372, allocations: 104.5 kB / 0.569 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.4378, allocations: 324.6 kB / 0.5693 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.438, allocations: 391.3 kB / 0.5697 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.4386, allocations: 0.8311 MB / 0.5705 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.44, allocations: 2.206 MB / 0.5726 GB, free: 32.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.44, allocations: 0 / 0.5726 GB, free: 32.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.44, allocations: 0 / 0.5726 GB, free: 32.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.44, allocations: 0 / 0.5726 GB, free: 32.13 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.0127/0.4527, allocations: 3.761 MB / 0.5763 GB, free: 31.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4528, allocations: 8.719 kB / 0.5763 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004398/0.4572, allocations: 0.7514 MB / 0.5771 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.459, allocations: 1.115 MB / 0.5782 GB, free: 30.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/0.4594, allocations: 425.5 kB / 0.5786 GB, free: 30.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.4596, allocations: 112.3 kB / 0.5787 GB, free: 30.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.4622, allocations: 1.433 MB / 0.5801 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.4622, allocations: 2.109 kB / 0.5801 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.4624, allocations: 45.28 kB / 0.5801 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.4624, allocations: 22.72 kB / 0.5801 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002757/0.4652, allocations: 1.345 MB / 0.5814 GB, free: 29.18 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.008463/0.4736, allocations: 4.931 MB / 0.5863 GB, free: 26.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007934/0.4816, allocations: 2.891 MB / 0.5891 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.4836, allocations: 0.9098 MB / 0.59 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.4838, allocations: 26.23 kB / 0.59 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/0.4859, allocations: 1.065 MB / 0.591 GB, free: 24.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.206e-06/0.4859, allocations: 0 / 0.591 GB, free: 24.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04134/0.5273, allocations: 9.789 MB / 0.6006 GB, free: 22.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.5274, allocations: 118 kB / 0.6007 GB, free: 22.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/0.5304, allocations: 1.417 MB / 0.6021 GB, free: 22.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003838/0.5308, allocations: 51.7 kB / 0.6021 GB, free: 21.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.5312, allocations: 0.6001 MB / 0.6027 GB, free: 21.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.5317, allocations: 459.1 kB / 0.6032 GB, free: 21.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006992/0.5325, allocations: 336.8 kB / 0.6035 GB, free: 21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.5325, allocations: 301.1 kB / 0.6038 GB, free: 20.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.5347, allocations: 0.9726 MB / 0.6047 GB, free: 20.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.5371, allocations: 1.175 MB / 0.6059 GB, free: 19.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/0.5414, allocations: 2.069 MB / 0.6079 GB, free: 18.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.5414, allocations: 5.656 kB / 0.6079 GB, free: 18.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009274/0.5507, allocations: 3.713 MB / 0.6115 GB, free: 16.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5508, allocations: 7.219 kB / 0.6115 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.5508, allocations: 3.594 kB / 0.6115 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009208/0.56, allocations: 2.978 MB / 0.6144 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.5614, allocations: 268.2 kB / 0.6147 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/0.5676, allocations: 2.988 MB / 0.6176 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.5701, allocations: 250.3 kB / 0.6179 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.5703, allocations: 63.97 kB / 0.6179 GB, free: 11.32 MB / 430.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.0005899/0.5709, allocations: 298.3 kB / 0.6182 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.5712, allocations: 165.9 kB / 0.6184 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/0.5868, allocations: 4.816 MB / 0.6231 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.5869, allocations: 12 kB / 0.6231 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.5869, allocations: 0.5 kB / 0.6231 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.948e-05/0.587, allocations: 21.81 kB / 0.6231 GB, free: 5.98 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 postOpt removeSimpleEquations (simulation): time 0.0287/0.6157, allocations: 6.891 MB / 0.6298 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.6158, allocations: 1 kB / 0.6298 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.6173, allocations: 143.8 kB / 0.63 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/0.6287, allocations: 2.143 MB / 0.6321 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000567/0.6293, allocations: 36.72 kB / 0.6321 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03664/0.666, allocations: 9.169 MB / 0.641 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.666, allocations: 0 / 0.641 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02826/0.6943, allocations: 5.946 MB / 0.6468 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008512/0.6952, allocations: 271.7 kB / 0.6471 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000699/0.6959, allocations: 24 kB / 0.6471 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/0.6987, allocations: 139.8 kB / 0.6473 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001382/0.7001, allocations: 257.2 kB / 0.6475 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/0.7004, allocations: 36 kB / 0.6475 GB, free: 12.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002588/0.703, allocations: 0.9581 MB / 0.6485 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.703, allocations: 0 / 0.6485 GB, free: 11.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002738/0.7058, allocations: 0.5268 MB / 0.649 GB, free: 11.12 MB / 462.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.0005699/0.7063, allocations: 156 kB / 0.6491 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01348/0.7198, allocations: 2.853 MB / 0.6519 GB, free: 8.125 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7199, allocations: 4.062 kB / 0.6519 GB, free: 8.121 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009932/0.7298, allocations: 1.887 MB / 0.6538 GB, free: 6.211 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.7324, allocations: 134.8 kB / 0.6539 GB, free: 6.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008933/0.7414, allocations: 3.579 MB / 0.6574 GB, free: 2.543 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.7426, allocations: 1.227 MB / 0.6586 GB, free: 1.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001157/0.7437, allocations: 139 kB / 0.6587 GB, free: 1.148 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006639/0.7444, allocations: 91.41 kB / 0.6588 GB, free: 1.062 MB / 462.1 MB Notification: Performance of SimCode: time 1.392e-06/0.7444, allocations: 0 / 0.6588 GB, free: 1.062 MB / 462.1 MB Notification: Performance of Templates: time 0.06286/0.8073, allocations: 27.16 MB / 0.6853 GB, free: 6.051 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)