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.23/0.23, allocations: 12.59 MB / 28.23 MB, free: 1.066 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.001875/0.001875, allocations: 111.4 kB / 31.83 MB, free: 4.012 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.116/3.116, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.002632/0.002632, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.9476/0.9476, allocations: 78.51 MB / 419.3 MB, free: 11.22 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.004773/0.004773, allocations: 140.3 kB / 0.5554 GB, free: 28.86 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.284, allocations: 68.12 MB / 0.6219 GB, free: 20 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01935/0.3034, allocations: 8.323 MB / 0.6301 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.3172, allocations: 2.522 MB / 0.6325 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.3202, allocations: 12 kB / 0.6325 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.3227, allocations: 329.3 kB / 0.6328 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008337/0.3311, allocations: 1.193 MB / 0.634 GB, free: 3.598 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.008073/0.3392, allocations: 0.6858 MB / 0.6347 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006407/0.3457, allocations: 2.338 MB / 0.637 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.3473, allocations: 420.4 kB / 0.6374 GB, free: 140 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.3501, allocations: 0.8872 MB / 0.6382 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006921/0.357, allocations: 1.136 MB / 0.6393 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.3586, allocations: 180 kB / 0.6395 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.3613, allocations: 411.6 kB / 0.6399 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001415/0.3627, allocations: 466.2 kB / 0.6403 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.3654, allocations: 0.909 MB / 0.6412 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006052/0.3715, allocations: 2.29 MB / 0.6435 GB, free: 9.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.3716, allocations: 3.938 kB / 0.6435 GB, free: 9.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3716, allocations: 0 / 0.6435 GB, free: 9.855 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001189/0.3717, allocations: 0 / 0.6435 GB, free: 9.855 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.03437/0.4061, allocations: 3.769 MB / 0.6472 GB, free: 6.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001085/0.4063, allocations: 11.98 kB / 0.6472 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000438/0.4067, allocations: 156.1 kB / 0.6473 GB, free: 5.855 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00938/0.4161, allocations: 0.751 MB / 0.648 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/0.4213, allocations: 1.112 MB / 0.6491 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009751/0.4224, allocations: 420.7 kB / 0.6495 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008858/0.4233, allocations: 112 kB / 0.6496 GB, free: 3.348 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.4351, allocations: 1.428 MB / 0.651 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.259e-05/0.4353, allocations: 7.938 kB / 0.651 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005265/0.4358, allocations: 40 kB / 0.6511 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/0.4359, allocations: 24 kB / 0.6511 GB, free: 1.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005561/0.4415, allocations: 1.343 MB / 0.6524 GB, free: 500 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.02007/0.4616, allocations: 4.911 MB / 0.6572 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02274/0.4844, allocations: 2.9 MB / 0.66 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004677/0.4892, allocations: 0.9073 MB / 0.6609 GB, free: 7.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004374/0.4897, allocations: 32.89 kB / 0.661 GB, free: 7.371 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00508/0.4948, allocations: 1.058 MB / 0.662 GB, free: 6.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 9.658e-06/0.4949, allocations: 4 kB / 0.662 GB, free: 6.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.08514/0.5801, allocations: 9.777 MB / 0.6715 GB, free: 12.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5802, allocations: 119.9 kB / 0.6717 GB, free: 12.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005328/0.5856, allocations: 1.411 MB / 0.673 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000744/0.5864, allocations: 57.69 kB / 0.6731 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.5876, allocations: 0.5924 MB / 0.6737 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001877/0.5895, allocations: 465.4 kB / 0.6741 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002527/0.5921, allocations: 339.3 kB / 0.6744 GB, free: 9.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5923, allocations: 305.1 kB / 0.6747 GB, free: 9.148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00475/0.5971, allocations: 0.9683 MB / 0.6757 GB, free: 8.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004759/0.6019, allocations: 1.174 MB / 0.6768 GB, free: 6.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.612, allocations: 2.077 MB / 0.6788 GB, free: 4.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.551e-05/0.6121, allocations: 0 / 0.6788 GB, free: 4.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.0193/0.6315, allocations: 3.707 MB / 0.6825 GB, free: 1.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.6316, allocations: 11.98 kB / 0.6825 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/0.6317, allocations: 0 / 0.6825 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0186/0.6503, allocations: 2.978 MB / 0.6854 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.6531, allocations: 267.6 kB / 0.6856 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.6686, allocations: 2.988 MB / 0.6886 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004928/0.6737, allocations: 258.2 kB / 0.6888 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008421/0.6746, allocations: 63.92 kB / 0.6889 GB, free: 10.53 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.002102/0.6767, allocations: 293.5 kB / 0.6891 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/0.6783, allocations: 166 kB / 0.6893 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04775/0.726, allocations: 4.819 MB / 0.694 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.383e-05/0.7262, allocations: 12 kB / 0.694 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/0.7262, allocations: 0 / 0.694 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.326e-05/0.7263, allocations: 11.91 kB / 0.694 GB, free: 5.199 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.03706/0.7634, allocations: 6.89 MB / 0.7008 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.584e-05/0.7635, allocations: 4 kB / 0.7008 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.7652, allocations: 135.8 kB / 0.7009 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01986/0.7851, allocations: 2.142 MB / 0.703 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006439/0.7858, allocations: 31.92 kB / 0.703 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08537/0.8712, allocations: 10.07 MB / 0.7129 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.49e-05/0.8714, allocations: 7.922 kB / 0.7129 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.608/1.479, allocations: 5.94 MB / 0.7187 GB, free: 84.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.481, allocations: 269.5 kB / 0.7189 GB, free: 84.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008495/1.482, allocations: 26.88 kB / 0.7189 GB, free: 84.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01151/1.493, allocations: 137 kB / 0.7191 GB, free: 84.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002714/1.496, allocations: 260.9 kB / 0.7193 GB, free: 84.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004788/1.497, allocations: 38.12 kB / 0.7194 GB, free: 84.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01269/1.509, allocations: 0.9521 MB / 0.7203 GB, free: 84.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.653e-06/1.509, allocations: 0 / 0.7203 GB, free: 84.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005073/1.515, allocations: 0.5281 MB / 0.7208 GB, free: 84.16 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.07345/1.588, allocations: 6.555 MB / 0.7272 GB, free: 82.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.027/1.615, allocations: 2.887 MB / 0.73 GB, free: 81.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.615, allocations: 4 kB / 0.73 GB, free: 81.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.02181/1.637, allocations: 1.916 MB / 0.7319 GB, free: 80.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004424/1.642, allocations: 142.4 kB / 0.732 GB, free: 80.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08927/1.731, allocations: 18.98 MB / 0.7506 GB, free: 68.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/1.733, allocations: 1.235 MB / 0.7518 GB, free: 67.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001508/1.734, allocations: 144.4 kB / 0.7519 GB, free: 67.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/1.736, allocations: 0.6008 MB / 0.7525 GB, free: 66.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.084e-06/1.736, allocations: 0 / 0.7525 GB, free: 66.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2813/2.017, allocations: 45.95 MB / 0.7974 GB, free: 20.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.11/31.13, allocations: 2.969 kB / 0.7974 GB, free: 20.95 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)