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/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/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/package.mo): time 0.08512/0.08512, allocations: 12.2 MB / 27.43 MB, free: 1.387 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 119.4 kB / 30.94 MB, free: 4.66 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.531/1.531, allocations: 205.1 MB / 239.4 MB, free: 10.93 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.001565/0.001565, allocations: 184.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4965/0.4965, allocations: 78.5 MB / 418.1 MB, free: 31.74 MB / 318.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.0029/0.0029, allocations: 125 kB / 498.5 MB, free: 444 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.458, allocations: 68.04 MB / 0.5533 GB, free: 37.79 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008679/0.4667, allocations: 8.652 MB / 0.5617 GB, free: 31.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.472, allocations: 2.561 MB / 0.5642 GB, free: 29.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007568/0.4728, allocations: 14.09 kB / 0.5642 GB, free: 29.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000841/0.4737, allocations: 251.8 kB / 0.5645 GB, free: 29.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.4762, allocations: 1.062 MB / 0.5655 GB, free: 28.85 MB / 414.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.00131/0.4775, allocations: 0.6482 MB / 0.5661 GB, free: 28.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.4797, allocations: 2.316 MB / 0.5684 GB, free: 27.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.4803, allocations: 424.7 kB / 0.5688 GB, free: 27.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008552/0.4811, allocations: 0.8851 MB / 0.5697 GB, free: 26.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009512/0.4821, allocations: 1.137 MB / 0.5708 GB, free: 26.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.4823, allocations: 180.8 kB / 0.571 GB, free: 26.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006424/0.483, allocations: 409.1 kB / 0.5713 GB, free: 26.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.4833, allocations: 473.1 kB / 0.5718 GB, free: 25.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006021/0.4839, allocations: 0.9052 MB / 0.5727 GB, free: 25.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.4859, allocations: 2.269 MB / 0.5749 GB, free: 24.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4859, allocations: 0 / 0.5749 GB, free: 24.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4859, allocations: 0 / 0.5749 GB, free: 24.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.566e-05/0.4859, allocations: 0 / 0.5749 GB, free: 24.22 MB / 414.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.4993, allocations: 3.758 MB / 0.5786 GB, free: 22.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4994, allocations: 13.39 kB / 0.5786 GB, free: 22.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.4996, allocations: 158.2 kB / 0.5787 GB, free: 22.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.5043, allocations: 0.7509 MB / 0.5795 GB, free: 22.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.5063, allocations: 1.115 MB / 0.5806 GB, free: 21.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/0.5067, allocations: 428.2 kB / 0.581 GB, free: 21.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.507, allocations: 108.3 kB / 0.5811 GB, free: 21.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.51, allocations: 1.425 MB / 0.5825 GB, free: 20.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.5101, allocations: 4.609 kB / 0.5825 GB, free: 20.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.5102, allocations: 49.39 kB / 0.5825 GB, free: 20.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.5102, allocations: 23.09 kB / 0.5825 GB, free: 20.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.5135, allocations: 1.339 MB / 0.5838 GB, free: 20.26 MB / 414.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.01013/0.5236, allocations: 4.94 MB / 0.5887 GB, free: 17.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008509/0.5322, allocations: 2.89 MB / 0.5915 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.5342, allocations: 0.9262 MB / 0.5924 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.5344, allocations: 18.8 kB / 0.5924 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002119/0.5365, allocations: 1.056 MB / 0.5934 GB, free: 14.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 3.586e-06/0.5365, allocations: 4 kB / 0.5934 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.03967/0.5762, allocations: 9.78 MB / 0.603 GB, free: 7.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.5763, allocations: 119.8 kB / 0.6031 GB, free: 7.266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.5785, allocations: 1.411 MB / 0.6045 GB, free: 5.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.5787, allocations: 53.7 kB / 0.6045 GB, free: 5.785 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.5791, allocations: 0.6001 MB / 0.6051 GB, free: 5.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/0.5796, allocations: 465.5 kB / 0.6056 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005686/0.5802, allocations: 335.4 kB / 0.6059 GB, free: 4.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.5802, allocations: 305.1 kB / 0.6062 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.582, allocations: 0.9682 MB / 0.6071 GB, free: 3.117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.584, allocations: 1.174 MB / 0.6083 GB, free: 1.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.5876, allocations: 2.081 MB / 0.6103 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5877, allocations: 0 / 0.6103 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009608/0.5973, allocations: 3.711 MB / 0.6139 GB, free: 12.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.5973, allocations: 15.27 kB / 0.6139 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5973, allocations: 0 / 0.6139 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.6074, allocations: 2.978 MB / 0.6168 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.6088, allocations: 271.6 kB / 0.6171 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007124/0.6159, allocations: 2.988 MB / 0.62 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.6186, allocations: 258.2 kB / 0.6203 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.6188, allocations: 63.92 kB / 0.6203 GB, free: 5.465 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.000792/0.6196, allocations: 307 kB / 0.6206 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.6199, allocations: 162 kB / 0.6208 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/0.6358, allocations: 4.816 MB / 0.6255 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.6358, allocations: 12 kB / 0.6255 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.6359, allocations: 3.984 kB / 0.6255 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.6359, allocations: 11.92 kB / 0.6255 GB, free: 136 kB / 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.01906/0.655, allocations: 6.891 MB / 0.6322 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.655, allocations: 0 / 0.6322 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008769/0.6559, allocations: 143.8 kB / 0.6324 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007343/0.6632, allocations: 2.149 MB / 0.6345 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.6634, allocations: 31.98 kB / 0.6345 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02596/0.6894, allocations: 10.07 MB / 0.6443 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6895, allocations: 7.938 kB / 0.6443 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/0.7081, allocations: 5.939 MB / 0.6501 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009824/0.7091, allocations: 274.7 kB / 0.6504 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.7094, allocations: 31.92 kB / 0.6504 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.7111, allocations: 135.8 kB / 0.6506 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009558/0.7121, allocations: 265.3 kB / 0.6508 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.7122, allocations: 32 kB / 0.6509 GB, free: 5.836 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.7137, allocations: 0.9542 MB / 0.6518 GB, free: 4.883 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7137, allocations: 0 / 0.6518 GB, free: 4.883 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001565/0.7153, allocations: 0.5269 MB / 0.6523 GB, free: 4.355 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.01839/0.7337, allocations: 6.553 MB / 0.6587 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009299/0.743, allocations: 2.942 MB / 0.6616 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.743, allocations: 3.938 kB / 0.6616 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006033/0.7491, allocations: 1.927 MB / 0.6635 GB, free: 8.875 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.7503, allocations: 141.2 kB / 0.6636 GB, free: 8.734 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04433/0.7946, allocations: 20.72 MB / 0.6838 GB, free: 3.164 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008744/0.7956, allocations: 1.223 MB / 0.685 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000599/0.7962, allocations: 138 kB / 0.6851 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/0.7969, allocations: 0.6086 MB / 0.6857 GB, free: 1.168 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/0.797, allocations: 0 / 0.6857 GB, free: 1.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06761/0.8646, allocations: 42.21 MB / 0.727 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.8648, allocations: 214.5 kB / 0.7272 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.56/4.425, allocations: 0 / 0.7272 GB, free: 6.773 MB / 0.5294 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)