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.104/0.104, allocations: 12.59 MB / 28.22 MB, free: 0.7734 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.00107/0.00107, allocations: 111.4 kB / 31.84 MB, free: 3.906 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.324/1.324, 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.001455/0.001455, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.439/0.439, allocations: 78.52 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.002734/0.002734, allocations: 134.9 kB / 0.5554 GB, free: 28.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1035, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008545/0.112, allocations: 8.321 MB / 0.6301 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004788/0.1169, allocations: 2.53 MB / 0.6325 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008537/0.1178, allocations: 12 kB / 0.6325 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.1186, allocations: 325.3 kB / 0.6328 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.1216, allocations: 1.249 MB / 0.6341 GB, free: 3.422 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.001454/0.1231, allocations: 0.6856 MB / 0.6347 GB, free: 2.742 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.1256, allocations: 2.334 MB / 0.637 GB, free: 412 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005825/0.1262, allocations: 424.4 kB / 0.6374 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009485/0.1271, allocations: 0.891 MB / 0.6383 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.1283, allocations: 1.132 MB / 0.6394 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002568/0.1286, allocations: 188 kB / 0.6396 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006611/0.1293, allocations: 403.8 kB / 0.64 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.1297, allocations: 470.2 kB / 0.6404 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007834/0.1305, allocations: 0.9051 MB / 0.6413 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.1328, allocations: 2.299 MB / 0.6435 GB, free: 9.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1329, allocations: 0 / 0.6435 GB, free: 9.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1329, allocations: 0 / 0.6435 GB, free: 9.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.1329, allocations: 3.938 kB / 0.6435 GB, free: 9.668 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.01429/0.1472, allocations: 3.818 MB / 0.6473 GB, free: 5.789 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.1473, allocations: 15.98 kB / 0.6473 GB, free: 5.773 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/0.1475, allocations: 156.1 kB / 0.6474 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.1524, allocations: 0.7638 MB / 0.6482 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.1545, allocations: 1.125 MB / 0.6493 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005459/0.155, allocations: 424.7 kB / 0.6497 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.1553, allocations: 112 kB / 0.6498 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003025/0.1583, allocations: 1.432 MB / 0.6512 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.1583, allocations: 3.938 kB / 0.6512 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.1585, allocations: 40 kB / 0.6512 GB, free: 1.586 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.1585, allocations: 24 kB / 0.6512 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.1615, allocations: 1.343 MB / 0.6526 GB, free: 224 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.008792/0.1703, allocations: 4.916 MB / 0.6574 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008772/0.1791, allocations: 2.896 MB / 0.6602 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.1813, allocations: 0.9112 MB / 0.6611 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.1815, allocations: 32.89 kB / 0.6611 GB, free: 7.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002302/0.1838, allocations: 1.061 MB / 0.6621 GB, free: 6.016 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 3.016e-06/0.1838, allocations: 0 / 0.6621 GB, free: 6.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.04276/0.2266, allocations: 9.794 MB / 0.6717 GB, free: 12.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.2267, allocations: 115.8 kB / 0.6718 GB, free: 12.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.229, allocations: 1.411 MB / 0.6732 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003205/0.2294, allocations: 49.7 kB / 0.6732 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/0.2299, allocations: 0.6088 MB / 0.6738 GB, free: 9.953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005507/0.2304, allocations: 487.8 kB / 0.6743 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006349/0.2311, allocations: 339.5 kB / 0.6746 GB, free: 9.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2312, allocations: 301.1 kB / 0.6749 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.2335, allocations: 0.9682 MB / 0.6759 GB, free: 7.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.2359, allocations: 1.17 MB / 0.677 GB, free: 6.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/0.2404, allocations: 2.085 MB / 0.679 GB, free: 4.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2404, allocations: 0 / 0.679 GB, free: 4.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009824/0.2502, allocations: 3.72 MB / 0.6827 GB, free: 0.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2503, allocations: 4 kB / 0.6827 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2503, allocations: 4 kB / 0.6827 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.2607, allocations: 2.974 MB / 0.6856 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.2621, allocations: 271.6 kB / 0.6858 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007317/0.2695, allocations: 2.989 MB / 0.6888 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.2718, allocations: 254.8 kB / 0.689 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.272, allocations: 67.86 kB / 0.6891 GB, free: 10.21 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.0006219/0.2726, allocations: 297.6 kB / 0.6894 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/0.2729, allocations: 174.9 kB / 0.6895 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/0.29, allocations: 4.811 MB / 0.6942 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.29, allocations: 16 kB / 0.6942 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.29, allocations: 0 / 0.6942 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-05/0.2901, allocations: 15.91 kB / 0.6943 GB, free: 4.867 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.02018/0.3102, allocations: 6.886 MB / 0.701 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.3103, allocations: 0 / 0.701 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009718/0.3113, allocations: 139.8 kB / 0.7011 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008064/0.3194, allocations: 2.149 MB / 0.7032 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.3196, allocations: 27.98 kB / 0.7032 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/0.3482, allocations: 10.08 MB / 0.7131 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3483, allocations: 3.938 kB / 0.7131 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2492/0.5974, allocations: 5.95 MB / 0.7189 GB, free: 84.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.598, allocations: 283.7 kB / 0.7192 GB, free: 84.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004354/0.5985, allocations: 23.22 kB / 0.7192 GB, free: 84.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.6003, allocations: 136.7 kB / 0.7193 GB, free: 84.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008623/0.6012, allocations: 262.6 kB / 0.7196 GB, free: 84.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.6014, allocations: 34.67 kB / 0.7196 GB, free: 84.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001773/0.6032, allocations: 0.9507 MB / 0.7205 GB, free: 84.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6032, allocations: 5.406 kB / 0.7205 GB, free: 84.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001707/0.6049, allocations: 0.5312 MB / 0.721 GB, free: 84.04 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.01952/0.6244, allocations: 6.565 MB / 0.7275 GB, free: 81.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009481/0.6339, allocations: 2.889 MB / 0.7303 GB, free: 81.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.634, allocations: 0 / 0.7303 GB, free: 81.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006147/0.6401, allocations: 1.932 MB / 0.7322 GB, free: 80.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.6414, allocations: 133.3 kB / 0.7323 GB, free: 80.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03826/0.6797, allocations: 19.05 MB / 0.7509 GB, free: 68.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.6802, allocations: 1.234 MB / 0.7521 GB, free: 67.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004912/0.6807, allocations: 144.5 kB / 0.7522 GB, free: 66.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/0.6813, allocations: 0.6047 MB / 0.7528 GB, free: 66.38 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.6814, allocations: 3.938 kB / 0.7528 GB, free: 66.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06212/0.7435, allocations: 44.12 MB / 0.7959 GB, free: 22.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.78, allocations: 8 kB / 0.7959 GB, free: 22.32 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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)