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.08025/0.08025, 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.001086/0.001086, 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.268/1.268, 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.001438/0.001438, allocations: 188.5 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3963/0.3963, allocations: 78.51 MB / 419.3 MB, free: 10.75 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.003669/0.003669, allocations: 139.8 kB / 0.5554 GB, free: 17.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1126, allocations: 68.12 MB / 0.6219 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.009097/0.1217, allocations: 8.321 MB / 0.6301 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004723/0.1265, allocations: 2.533 MB / 0.6325 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005011/0.127, allocations: 12 kB / 0.6325 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007418/0.1278, allocations: 317.3 kB / 0.6328 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.1306, allocations: 1.196 MB / 0.634 GB, free: 1.219 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.001456/0.132, allocations: 0.6898 MB / 0.6347 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.1346, allocations: 2.33 MB / 0.637 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006264/0.1353, allocations: 420.4 kB / 0.6374 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.1365, allocations: 0.8871 MB / 0.6382 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.1378, allocations: 1.14 MB / 0.6393 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.1381, allocations: 184 kB / 0.6395 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006992/0.1388, allocations: 403.8 kB / 0.6399 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.1392, allocations: 470.2 kB / 0.6404 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008066/0.14, allocations: 0.9051 MB / 0.6412 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.1425, allocations: 2.303 MB / 0.6435 GB, free: 7.469 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1426, allocations: 0 / 0.6435 GB, free: 7.469 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1426, allocations: 0 / 0.6435 GB, free: 7.469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.915e-05/0.1426, allocations: 0 / 0.6435 GB, free: 7.469 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.01303/0.1556, allocations: 3.826 MB / 0.6472 GB, free: 3.582 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1557, allocations: 11.98 kB / 0.6472 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.1559, allocations: 156.1 kB / 0.6474 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/0.1603, allocations: 0.7638 MB / 0.6481 GB, free: 2.645 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.1622, allocations: 1.117 MB / 0.6492 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004755/0.1627, allocations: 432.6 kB / 0.6496 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.1629, allocations: 116 kB / 0.6497 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.1657, allocations: 1.428 MB / 0.6511 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1658, allocations: 4 kB / 0.6511 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.1659, allocations: 40 kB / 0.6512 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.1659, allocations: 24 kB / 0.6512 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.1689, allocations: 1.339 MB / 0.6525 GB, free: 14.02 MB / 478.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.008155/0.1771, allocations: 4.916 MB / 0.6573 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008358/0.1854, allocations: 2.89 MB / 0.6601 GB, free: 5.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/0.1874, allocations: 0.9151 MB / 0.661 GB, free: 4.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.1875, allocations: 20.97 kB / 0.661 GB, free: 4.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002223/0.1897, allocations: 1.065 MB / 0.6621 GB, free: 3.824 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 2.846e-06/0.1898, allocations: 3.938 kB / 0.6621 GB, free: 3.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.03995/0.2297, allocations: 9.79 MB / 0.6716 GB, free: 9.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.2298, allocations: 123.8 kB / 0.6718 GB, free: 9.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.2321, allocations: 1.407 MB / 0.6731 GB, free: 8.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.2323, allocations: 57.7 kB / 0.6732 GB, free: 8.359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.2329, allocations: 0.5971 MB / 0.6738 GB, free: 7.758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005639/0.2335, allocations: 495.9 kB / 0.6743 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006458/0.2341, allocations: 331.5 kB / 0.6746 GB, free: 6.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2343, allocations: 305.1 kB / 0.6749 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.2365, allocations: 0.9722 MB / 0.6758 GB, free: 5.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.2388, allocations: 1.166 MB / 0.6769 GB, free: 4.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004623/0.2435, allocations: 2.085 MB / 0.679 GB, free: 2.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.2435, allocations: 0 / 0.679 GB, free: 2.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.211/0.4545, allocations: 3.718 MB / 0.6826 GB, free: 52.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4545, allocations: 6.75 kB / 0.6826 GB, free: 52.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.4545, allocations: 5.75 kB / 0.6826 GB, free: 52.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00978/0.4643, allocations: 2.974 MB / 0.6855 GB, free: 52.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.4656, allocations: 271.1 kB / 0.6858 GB, free: 52.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/0.4723, allocations: 2.986 MB / 0.6887 GB, free: 51.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.4743, allocations: 255.5 kB / 0.6889 GB, free: 51.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.4745, allocations: 68.95 kB / 0.689 GB, free: 51.54 MB / 494.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.0004925/0.475, allocations: 297.8 kB / 0.6893 GB, free: 51.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.4753, allocations: 173.9 kB / 0.6895 GB, free: 51.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/0.4912, allocations: 4.807 MB / 0.6942 GB, free: 50.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.4913, allocations: 17.28 kB / 0.6942 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4913, allocations: 2.062 kB / 0.6942 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.4913, allocations: 16.55 kB / 0.6942 GB, free: 50.21 MB / 494.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.01692/0.5082, allocations: 6.882 MB / 0.7009 GB, free: 47.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.5083, allocations: 3.828 kB / 0.7009 GB, free: 47.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007519/0.509, allocations: 144.5 kB / 0.7011 GB, free: 47.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006864/0.5159, allocations: 2.148 MB / 0.7032 GB, free: 47.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/0.5161, allocations: 34.42 kB / 0.7032 GB, free: 47.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/0.5383, allocations: 10.07 MB / 0.713 GB, free: 41.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5383, allocations: 0 / 0.713 GB, free: 41.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.5543, allocations: 5.953 MB / 0.7188 GB, free: 36.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.5547, allocations: 287 kB / 0.7191 GB, free: 35.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.5549, allocations: 23.94 kB / 0.7191 GB, free: 35.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.5564, allocations: 135.8 kB / 0.7193 GB, free: 35.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006238/0.557, allocations: 261.4 kB / 0.7195 GB, free: 35.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.052e-05/0.5571, allocations: 35.98 kB / 0.7195 GB, free: 35.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001078/0.5582, allocations: 0.9543 MB / 0.7205 GB, free: 34.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5582, allocations: 0 / 0.7205 GB, free: 34.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001044/0.5592, allocations: 0.5303 MB / 0.721 GB, free: 33.88 MB / 494.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.01596/0.5752, allocations: 6.561 MB / 0.7274 GB, free: 27.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007557/0.5828, allocations: 2.897 MB / 0.7302 GB, free: 24.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5828, allocations: 0 / 0.7302 GB, free: 24.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005307/0.5881, allocations: 1.923 MB / 0.7321 GB, free: 22.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/0.5891, allocations: 142.6 kB / 0.7322 GB, free: 22.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03575/0.6249, allocations: 19.05 MB / 0.7508 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.6254, allocations: 1.229 MB / 0.752 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004834/0.6258, allocations: 142 kB / 0.7522 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006169/0.6265, allocations: 0.6086 MB / 0.7528 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6265, allocations: 0.5625 kB / 0.7528 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08364/0.7101, allocations: 44.12 MB / 0.7959 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.38, allocations: 6.531 kB / 0.7959 GB, free: 4.918 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 & 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)