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/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07696/0.07696, allocations: 12.6 MB / 28.24 MB, free: 112 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 111.4 kB / 31.84 MB, free: 3.422 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.1 MB / 240.4 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 184.5 kB / 290.7 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4148/0.4148, allocations: 78.52 MB / 419.3 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 134.3 kB / 0.5554 GB, free: 28.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1068, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008525/0.1153, allocations: 8.327 MB / 0.63 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004631/0.12, allocations: 2.522 MB / 0.6325 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008408/0.1208, allocations: 12 kB / 0.6325 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008923/0.1218, allocations: 325.3 kB / 0.6328 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.1247, allocations: 1.249 MB / 0.6341 GB, free: 3.438 MB / 446.1 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.001423/0.1262, allocations: 0.6932 MB / 0.6347 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.1286, allocations: 2.342 MB / 0.637 GB, free: 416 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005569/0.1292, allocations: 412.4 kB / 0.6374 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.1302, allocations: 0.8871 MB / 0.6383 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.1314, allocations: 1.136 MB / 0.6394 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.1316, allocations: 184 kB / 0.6396 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006494/0.1323, allocations: 415.7 kB / 0.64 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.1327, allocations: 466.2 kB / 0.6404 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007001/0.1334, allocations: 0.909 MB / 0.6413 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.1354, allocations: 2.287 MB / 0.6435 GB, free: 9.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1354, allocations: 7.938 kB / 0.6435 GB, free: 9.688 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1354, allocations: 0 / 0.6435 GB, free: 9.688 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.1354, allocations: 0 / 0.6435 GB, free: 9.688 MB / 462.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.01217/0.1476, allocations: 3.765 MB / 0.6472 GB, free: 5.863 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1477, allocations: 11.98 kB / 0.6472 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/0.1479, allocations: 156.1 kB / 0.6474 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/0.1522, allocations: 0.7471 MB / 0.6481 GB, free: 4.941 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.1539, allocations: 1.112 MB / 0.6492 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/0.1543, allocations: 432.7 kB / 0.6496 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.1546, allocations: 108 kB / 0.6497 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.1572, allocations: 1.428 MB / 0.6511 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.1572, allocations: 7.922 kB / 0.6511 GB, free: 1.727 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1573, allocations: 44 kB / 0.6511 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.1574, allocations: 24 kB / 0.6512 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.1601, allocations: 1.339 MB / 0.6525 GB, free: 328 kB / 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.007984/0.1681, allocations: 4.907 MB / 0.6573 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007522/0.1757, allocations: 2.893 MB / 0.6601 GB, free: 8.156 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.1775, allocations: 0.9112 MB / 0.661 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.1777, allocations: 36.89 kB / 0.661 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002113/0.1798, allocations: 1.054 MB / 0.662 GB, free: 6.129 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 3.997e-06/0.1798, allocations: 0 / 0.662 GB, free: 6.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.03689/0.2167, allocations: 9.781 MB / 0.6716 GB, free: 12.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.2168, allocations: 119.9 kB / 0.6717 GB, free: 12.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.2191, allocations: 1.415 MB / 0.6731 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002775/0.2194, allocations: 49.7 kB / 0.6731 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/0.2199, allocations: 0.5963 MB / 0.6737 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000585/0.2205, allocations: 465.4 kB / 0.6742 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008567/0.2213, allocations: 339.3 kB / 0.6745 GB, free: 9.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.2214, allocations: 305.1 kB / 0.6748 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.2235, allocations: 0.9722 MB / 0.6757 GB, free: 8.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.2257, allocations: 1.173 MB / 0.6769 GB, free: 6.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00404/0.2298, allocations: 2.081 MB / 0.6789 GB, free: 4.672 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.2298, allocations: 4 kB / 0.6789 GB, free: 4.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009134/0.2389, allocations: 3.699 MB / 0.6825 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.239, allocations: 8 kB / 0.6825 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.239, allocations: 8 kB / 0.6825 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009373/0.2484, allocations: 2.97 MB / 0.6854 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.2498, allocations: 279.6 kB / 0.6857 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006598/0.2564, allocations: 2.981 MB / 0.6886 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.2585, allocations: 250.2 kB / 0.6889 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.2587, allocations: 71.91 kB / 0.6889 GB, free: 10.36 MB / 0.4981 GB 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.0006053/0.2593, allocations: 297.5 kB / 0.6892 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.2597, allocations: 162 kB / 0.6894 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/0.2741, allocations: 4.819 MB / 0.6941 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.2742, allocations: 12 kB / 0.6941 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.2742, allocations: 4 kB / 0.6941 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/0.2742, allocations: 11.91 kB / 0.6941 GB, free: 5.027 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.0177/0.292, allocations: 6.89 MB / 0.7008 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.292, allocations: 0 / 0.7008 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008537/0.2929, allocations: 135.8 kB / 0.701 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006898/0.2998, allocations: 2.146 MB / 0.7031 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.3001, allocations: 35.92 kB / 0.7031 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02391/0.324, allocations: 10.06 MB / 0.7129 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.324, allocations: 3.938 kB / 0.7129 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2427/0.5667, allocations: 5.944 MB / 0.7187 GB, free: 84.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.5673, allocations: 270.3 kB / 0.719 GB, free: 84.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.5675, allocations: 26.23 kB / 0.719 GB, free: 84.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.5691, allocations: 136 kB / 0.7191 GB, free: 84.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000854/0.5699, allocations: 264.6 kB / 0.7194 GB, free: 84.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.57, allocations: 33.19 kB / 0.7194 GB, free: 84.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001525/0.5716, allocations: 0.951 MB / 0.7203 GB, free: 83.97 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5716, allocations: 0 / 0.7203 GB, free: 83.97 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001477/0.5731, allocations: 0.5312 MB / 0.7209 GB, free: 83.97 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.01735/0.5904, allocations: 6.549 MB / 0.7273 GB, free: 81.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008284/0.5987, allocations: 2.895 MB / 0.7301 GB, free: 81.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.5988, allocations: 0 / 0.7301 GB, free: 81.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005599/0.6044, allocations: 1.932 MB / 0.732 GB, free: 80.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6057, allocations: 132.8 kB / 0.7321 GB, free: 80.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03585/0.6416, allocations: 18.99 MB / 0.7506 GB, free: 68.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.6421, allocations: 1.227 MB / 0.7518 GB, free: 67.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005316/0.6426, allocations: 141.8 kB / 0.752 GB, free: 67.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006569/0.6433, allocations: 0.6086 MB / 0.7526 GB, free: 66.56 MB / 0.5137 GB Notification: Performance of SimCode: time 1.001e-06/0.6433, allocations: 7.938 kB / 0.7526 GB, free: 66.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06073/0.704, allocations: 44.09 MB / 0.7956 GB, free: 22.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.02, allocations: 14.31 kB / 0.7956 GB, free: 22.52 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)