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.009223/0.009223, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.366/1.366, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001595/0.001595, allocations: 192.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4841/0.4841, allocations: 78.52 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 87.81 kB / 0.5536 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3182, allocations: 68.16 MB / 0.6202 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006091/0.3243, allocations: 8.264 MB / 0.6283 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.3287, allocations: 2.56 MB / 0.6308 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.3298, allocations: 12 kB / 0.6308 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.3308, allocations: 317.3 kB / 0.6311 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.3339, allocations: 1.21 MB / 0.6323 GB, free: 13.98 MB / 446.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.00144/0.3354, allocations: 0.6825 MB / 0.6329 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.3381, allocations: 2.334 MB / 0.6352 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005504/0.3386, allocations: 416.3 kB / 0.6356 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009374/0.3396, allocations: 0.8833 MB / 0.6365 GB, free: 9.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.3407, allocations: 1.136 MB / 0.6376 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.341, allocations: 184 kB / 0.6378 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006959/0.3417, allocations: 407.8 kB / 0.6382 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.3421, allocations: 466.2 kB / 0.6386 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007145/0.3428, allocations: 0.909 MB / 0.6395 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.3451, allocations: 2.309 MB / 0.6417 GB, free: 4.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3451, allocations: 4 kB / 0.6417 GB, free: 4.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3451, allocations: 0 / 0.6417 GB, free: 4.234 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.3452, allocations: 0 / 0.6417 GB, free: 4.234 MB / 446.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.01337/0.3585, allocations: 3.822 MB / 0.6455 GB, free: 360 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3586, allocations: 8.031 kB / 0.6455 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/0.3632, allocations: 0.756 MB / 0.6462 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.3654, allocations: 1.125 MB / 0.6473 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004489/0.3659, allocations: 428.7 kB / 0.6477 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.3661, allocations: 108 kB / 0.6478 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.3689, allocations: 1.424 MB / 0.6492 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3689, allocations: 7.938 kB / 0.6492 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.369, allocations: 43.98 kB / 0.6493 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.369, allocations: 28 kB / 0.6493 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.3719, allocations: 1.343 MB / 0.6506 GB, free: 10.95 MB / 462.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.008337/0.3803, allocations: 4.924 MB / 0.6554 GB, free: 5.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008392/0.3887, allocations: 2.896 MB / 0.6582 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/0.3907, allocations: 0.9035 MB / 0.6591 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.3909, allocations: 24.92 kB / 0.6592 GB, free: 1.848 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002185/0.3931, allocations: 1.065 MB / 0.6602 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 4.448e-06/0.3931, allocations: 0 / 0.6602 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.04111/0.4342, allocations: 9.79 MB / 0.6698 GB, free: 6.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.4343, allocations: 123.9 kB / 0.6699 GB, free: 6.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/0.4371, allocations: 1.411 MB / 0.6712 GB, free: 5.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003318/0.4375, allocations: 57.64 kB / 0.6713 GB, free: 5.297 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.438, allocations: 0.6048 MB / 0.6719 GB, free: 4.688 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007176/0.4388, allocations: 479.9 kB / 0.6724 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.4398, allocations: 339.5 kB / 0.6727 GB, free: 3.879 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4399, allocations: 309.1 kB / 0.673 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/0.4422, allocations: 0.9682 MB / 0.6739 GB, free: 2.605 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.4445, allocations: 1.169 MB / 0.6751 GB, free: 1.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004309/0.4488, allocations: 2.081 MB / 0.6771 GB, free: 15.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.4489, allocations: 3.938 kB / 0.6771 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009434/0.4583, allocations: 3.72 MB / 0.6807 GB, free: 11.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4584, allocations: 8 kB / 0.6807 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.4584, allocations: 4 kB / 0.6807 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.4685, allocations: 2.978 MB / 0.6836 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.4702, allocations: 267.6 kB / 0.6839 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007743/0.478, allocations: 3.001 MB / 0.6868 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.4808, allocations: 250.8 kB / 0.6871 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.4812, allocations: 63.98 kB / 0.6871 GB, free: 4.941 MB / 494.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.0009428/0.4822, allocations: 301.5 kB / 0.6874 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005784/0.4827, allocations: 170.9 kB / 0.6876 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/0.499, allocations: 4.815 MB / 0.6923 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/0.4991, allocations: 12 kB / 0.6923 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.4991, allocations: 0 / 0.6923 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-05/0.4992, allocations: 11.91 kB / 0.6923 GB, free: 15.61 MB / 0.4981 GB 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.02151/0.5207, allocations: 6.89 MB / 0.699 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.5208, allocations: 4 kB / 0.699 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.5218, allocations: 139.8 kB / 0.6992 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007831/0.5297, allocations: 2.146 MB / 0.7013 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003916/0.5301, allocations: 28 kB / 0.7013 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02765/0.5578, allocations: 10.07 MB / 0.7111 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5578, allocations: 0 / 0.7111 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/0.5773, allocations: 5.956 MB / 0.7169 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007549/0.5781, allocations: 283.6 kB / 0.7172 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006765/0.5788, allocations: 23.94 kB / 0.7172 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/0.5809, allocations: 139.8 kB / 0.7174 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/0.582, allocations: 261.3 kB / 0.7176 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/0.5823, allocations: 35.98 kB / 0.7177 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001983/0.5842, allocations: 0.9543 MB / 0.7186 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.683e-06/0.5843, allocations: 112 / 0.7186 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002272/0.5865, allocations: 0.5347 MB / 0.7191 GB, free: 3.805 MB / 0.5137 GB 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.0005152/0.5871, allocations: 153 kB / 0.7193 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009577/0.5967, allocations: 2.896 MB / 0.7221 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.5967, allocations: 0 / 0.7221 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006575/0.6033, allocations: 1.93 MB / 0.724 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.6054, allocations: 135 kB / 0.7241 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.6122, allocations: 3.068 MB / 0.7271 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.6134, allocations: 1.227 MB / 0.7283 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007598/0.6142, allocations: 141.9 kB / 0.7284 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.6147, allocations: 95.41 kB / 0.7285 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.282e-06/0.6147, allocations: 4 kB / 0.7285 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.05433/0.669, allocations: 30.57 MB / 0.7584 GB, free: 11.5 MB / 0.5606 GB 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)