Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009983/0.0009984, allocations: 102.3 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07232/0.07232, allocations: 12.59 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3123/0.3123, allocations: 78.51 MB / 457.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 115.1 kB / 0.5255 GB, free: 19.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1374, allocations: 68.13 MB / 0.592 GB, free: 15.64 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.009963/0.1474, allocations: 8.636 MB / 0.6004 GB, free: 6.949 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006169/0.1537, allocations: 2.584 MB / 0.6029 GB, free: 4.355 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.1557, allocations: 12 kB / 0.603 GB, free: 4.344 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1572, allocations: 250.4 kB / 0.6032 GB, free: 4.098 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.1615, allocations: 1.085 MB / 0.6043 GB, free: 3.016 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.002043/0.1636, allocations: 0.631 MB / 0.6049 GB, free: 2.391 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003616/0.1672, allocations: 2.237 MB / 0.6071 GB, free: 148 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009211/0.1681, allocations: 379.8 kB / 0.6074 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.1697, allocations: 0.7973 MB / 0.6082 GB, free: 14.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.1715, allocations: 1.066 MB / 0.6092 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006635/0.1722, allocations: 108 kB / 0.6093 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.1734, allocations: 323.7 kB / 0.6096 GB, free: 13.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007115/0.1742, allocations: 390.2 kB / 0.61 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.1757, allocations: 0.8348 MB / 0.6108 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.1786, allocations: 2.199 MB / 0.613 GB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1786, allocations: 4 kB / 0.613 GB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1786, allocations: 0 / 0.613 GB, free: 10.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.661e-05/0.1787, allocations: 0 / 0.613 GB, free: 10.02 MB / 410.7 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.01546/0.1942, allocations: 3.761 MB / 0.6167 GB, free: 6.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.1943, allocations: 11.98 kB / 0.6167 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/0.1991, allocations: 0.751 MB / 0.6174 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.2019, allocations: 1.116 MB / 0.6185 GB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005417/0.2024, allocations: 428.6 kB / 0.6189 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004521/0.2029, allocations: 108 kB / 0.619 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.2064, allocations: 1.428 MB / 0.6204 GB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.2065, allocations: 3.938 kB / 0.6204 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.2066, allocations: 40 kB / 0.6204 GB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.2067, allocations: 24 kB / 0.6205 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.2098, allocations: 1.347 MB / 0.6218 GB, free: 0.8164 MB / 410.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.0098/0.2197, allocations: 4.934 MB / 0.6266 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008071/0.2278, allocations: 2.893 MB / 0.6294 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/0.2297, allocations: 0.9073 MB / 0.6303 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.2299, allocations: 24.92 kB / 0.6303 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002226/0.2322, allocations: 1.058 MB / 0.6314 GB, free: 6.617 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 4.067e-06/0.2322, allocations: 0 / 0.6314 GB, free: 6.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.3364/0.5686, allocations: 9.79 MB / 0.6409 GB, free: 51.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.5688, allocations: 120.1 kB / 0.641 GB, free: 51.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/0.5723, allocations: 1.412 MB / 0.6424 GB, free: 51.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004698/0.5728, allocations: 51.17 kB / 0.6425 GB, free: 51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.5734, allocations: 0.5982 MB / 0.6431 GB, free: 50.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006457/0.574, allocations: 462.3 kB / 0.6435 GB, free: 50.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007717/0.5748, allocations: 337.7 kB / 0.6438 GB, free: 50.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.5749, allocations: 301.7 kB / 0.6441 GB, free: 49.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/0.5774, allocations: 0.9757 MB / 0.6451 GB, free: 49.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.5801, allocations: 1.168 MB / 0.6462 GB, free: 49.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/0.5849, allocations: 2.078 MB / 0.6482 GB, free: 48.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.5849, allocations: 1.344 kB / 0.6482 GB, free: 48.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01169/0.5966, allocations: 3.705 MB / 0.6518 GB, free: 46.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.5967, allocations: 10.34 kB / 0.6519 GB, free: 46.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.5967, allocations: 4.438 kB / 0.6519 GB, free: 46.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/0.6089, allocations: 2.981 MB / 0.6548 GB, free: 46.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.6105, allocations: 270.3 kB / 0.655 GB, free: 46.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007346/0.6179, allocations: 2.996 MB / 0.658 GB, free: 44.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.6208, allocations: 248.6 kB / 0.6582 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/0.6212, allocations: 64.91 kB / 0.6583 GB, free: 44.76 MB / 426.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 (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.0009203/0.6221, allocations: 301.5 kB / 0.6585 GB, free: 44.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005487/0.6226, allocations: 160.2 kB / 0.6587 GB, free: 44.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/0.6383, allocations: 4.82 MB / 0.6634 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/0.6384, allocations: 14.59 kB / 0.6634 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.6384, allocations: 0 / 0.6634 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.245e-05/0.6385, allocations: 10.09 kB / 0.6634 GB, free: 42.01 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 postOpt removeSimpleEquations (simulation): time 0.01855/0.657, allocations: 6.891 MB / 0.6702 GB, free: 36.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.6571, allocations: 3.938 kB / 0.6702 GB, free: 36.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009512/0.6581, allocations: 143.7 kB / 0.6703 GB, free: 35.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007142/0.6652, allocations: 2.149 MB / 0.6724 GB, free: 33.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/0.6656, allocations: 27.98 kB / 0.6724 GB, free: 33.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02216/0.6877, allocations: 9.173 MB / 0.6814 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6878, allocations: 0 / 0.6814 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1236/0.8114, allocations: 40.57 MB / 0.721 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008553/0.8123, allocations: 282.6 kB / 0.7213 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006313/0.813, allocations: 23.69 kB / 0.7213 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/0.8151, allocations: 135.8 kB / 0.7214 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001126/0.8162, allocations: 253.3 kB / 0.7217 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002746/0.8165, allocations: 32 kB / 0.7217 GB, free: 14.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002065/0.8186, allocations: 0.9581 MB / 0.7226 GB, free: 13.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8186, allocations: 0 / 0.7226 GB, free: 13.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003681/0.8223, allocations: 0.7857 MB / 0.7234 GB, free: 13.11 MB / 458.7 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.0005608/0.8229, allocations: 164.5 kB / 0.7236 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009905/0.8328, allocations: 2.859 MB / 0.7263 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.8328, allocations: 4 kB / 0.7263 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0066/0.8394, allocations: 1.886 MB / 0.7282 GB, free: 8.176 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.8418, allocations: 144.4 kB / 0.7283 GB, free: 8.035 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.8562, allocations: 5.254 MB / 0.7335 GB, free: 2.746 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.8579, allocations: 1.28 MB / 0.7347 GB, free: 1.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001116/0.8591, allocations: 150 kB / 0.7348 GB, free: 1.281 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007901/0.8599, allocations: 95.41 kB / 0.7349 GB, free: 1.188 MB / 458.7 MB Notification: Performance of SimCode: time 2.725e-06/0.8599, allocations: 0 / 0.7349 GB, free: 1.188 MB / 458.7 MB Notification: Performance of Templates: time 0.07765/0.9376, allocations: 41.88 MB / 0.7758 GB, free: 7.355 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)