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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001782, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.399/1.399, allocations: 222.9 MB / 238.8 MB, free: 4.758 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.001594/0.001594, allocations: 188.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.482/0.482, allocations: 78.52 MB / 417.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 75.88 kB / 496.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1491, allocations: 68.18 MB / 0.5518 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2442/0.3934, allocations: 8.587 MB / 0.5602 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005986/0.3994, allocations: 2.607 MB / 0.5627 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.4014, allocations: 15 kB / 0.5627 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.4028, allocations: 253.3 kB / 0.563 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.4066, allocations: 1.071 MB / 0.564 GB, free: 34.02 MB / 430.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.001787/0.4084, allocations: 0.6443 MB / 0.5647 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003033/0.4115, allocations: 2.208 MB / 0.5668 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008491/0.4123, allocations: 378.5 kB / 0.5672 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.4139, allocations: 0.7937 MB / 0.568 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.4156, allocations: 1.065 MB / 0.569 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007676/0.4164, allocations: 105.7 kB / 0.5691 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.4176, allocations: 326.3 kB / 0.5694 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.4179, allocations: 392.8 kB / 0.5698 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.419, allocations: 0.8266 MB / 0.5706 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.4215, allocations: 2.209 MB / 0.5727 GB, free: 32.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.4215, allocations: 2.281 kB / 0.5727 GB, free: 32.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4215, allocations: 0.8125 kB / 0.5727 GB, free: 32.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.4215, allocations: 0 / 0.5727 GB, free: 32.14 MB / 430.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.01426/0.4358, allocations: 3.753 MB / 0.5764 GB, free: 31.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.4359, allocations: 9.375 kB / 0.5764 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.4361, allocations: 162.1 kB / 0.5766 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.4409, allocations: 0.7461 MB / 0.5773 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.4435, allocations: 1.121 MB / 0.5784 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004835/0.444, allocations: 428 kB / 0.5788 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.4443, allocations: 112.5 kB / 0.5789 GB, free: 30.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.4471, allocations: 1.434 MB / 0.5803 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.4471, allocations: 0.5156 kB / 0.5803 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.4472, allocations: 37.41 kB / 0.5803 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.4473, allocations: 24.84 kB / 0.5804 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.4503, allocations: 1.347 MB / 0.5817 GB, free: 29.04 MB / 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 preOpt removeSimpleEquations (simulation): time 0.009829/0.4601, allocations: 4.933 MB / 0.5865 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00823/0.4683, allocations: 2.887 MB / 0.5893 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.4705, allocations: 0.922 MB / 0.5902 GB, free: 24.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.4707, allocations: 23.3 kB / 0.5902 GB, free: 24.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/0.473, allocations: 1.063 MB / 0.5913 GB, free: 24.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.306e-06/0.473, allocations: 0 / 0.5913 GB, free: 24.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04339/0.5164, allocations: 9.787 MB / 0.6008 GB, free: 22.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.5165, allocations: 121.1 kB / 0.601 GB, free: 22.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.5195, allocations: 1.415 MB / 0.6023 GB, free: 21.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004908/0.52, allocations: 56.83 kB / 0.6024 GB, free: 21.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.5205, allocations: 0.6011 MB / 0.603 GB, free: 21.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/0.521, allocations: 458.8 kB / 0.6034 GB, free: 21.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007188/0.5218, allocations: 329.8 kB / 0.6037 GB, free: 20.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.5218, allocations: 306.7 kB / 0.604 GB, free: 20.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.5241, allocations: 0.969 MB / 0.605 GB, free: 20.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.5265, allocations: 1.175 MB / 0.6061 GB, free: 19.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/0.5307, allocations: 2.079 MB / 0.6081 GB, free: 18.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.5307, allocations: 1.281 kB / 0.6082 GB, free: 18.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009445/0.5402, allocations: 3.714 MB / 0.6118 GB, free: 16.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.5403, allocations: 11.05 kB / 0.6118 GB, free: 16.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.5403, allocations: 3.312 kB / 0.6118 GB, free: 16.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009791/0.5501, allocations: 2.966 MB / 0.6147 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.5515, allocations: 271.6 kB / 0.6149 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006539/0.5581, allocations: 2.992 MB / 0.6179 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.5607, allocations: 250.9 kB / 0.6181 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.5609, allocations: 67.92 kB / 0.6182 GB, free: 11.16 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.0006225/0.5615, allocations: 293.5 kB / 0.6185 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.5619, allocations: 165.9 kB / 0.6186 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/0.5763, allocations: 4.812 MB / 0.6233 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.5764, allocations: 16 kB / 0.6233 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5764, allocations: 3.984 kB / 0.6233 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-05/0.5764, allocations: 7.922 kB / 0.6233 GB, free: 5.832 MB / 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.01785/0.5943, allocations: 6.898 MB / 0.6301 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/0.5943, allocations: 2.094 kB / 0.6301 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.5954, allocations: 139.8 kB / 0.6302 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007344/0.6027, allocations: 2.144 MB / 0.6323 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/0.6031, allocations: 37.23 kB / 0.6323 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02373/0.6268, allocations: 9.167 MB / 0.6413 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6269, allocations: 1 kB / 0.6413 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/0.6456, allocations: 5.95 MB / 0.6471 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/0.6463, allocations: 270.8 kB / 0.6474 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.6467, allocations: 28 kB / 0.6474 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6483, allocations: 135.8 kB / 0.6475 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000935/0.6493, allocations: 257.2 kB / 0.6478 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6494, allocations: 35.98 kB / 0.6478 GB, free: 12.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.651, allocations: 0.9464 MB / 0.6487 GB, free: 11.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6511, allocations: 0 / 0.6487 GB, free: 11.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001805/0.6529, allocations: 0.5229 MB / 0.6492 GB, free: 10.98 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.01908/0.672, allocations: 6.57 MB / 0.6556 GB, free: 4.379 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009244/0.6813, allocations: 2.854 MB / 0.6584 GB, free: 1.531 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.6813, allocations: 0 / 0.6584 GB, free: 1.531 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006345/0.6877, allocations: 1.89 MB / 0.6603 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.6894, allocations: 134.8 kB / 0.6604 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04909/0.7385, allocations: 20.71 MB / 0.6806 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008001/0.7394, allocations: 1.231 MB / 0.6818 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000836/0.7402, allocations: 142.5 kB / 0.682 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008739/0.7411, allocations: 0.6008 MB / 0.6826 GB, free: 7.988 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.7411, allocations: 0 / 0.6826 GB, free: 7.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07083/0.8119, allocations: 40.38 MB / 0.722 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.8122, allocations: 205.4 kB / 0.7222 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/3.804, allocations: 0 / 0.7222 GB, free: 15.66 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)