Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.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.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",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.08603/0.08603, allocations: 12.6 MB / 28.1 MB, free: 284 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 107.5 kB / 31.7 MB, free: 3.504 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.274/1.274, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001542/0.001542, allocations: 196.4 kB / 290.6 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4225/0.4225, allocations: 78.51 MB / 419.2 MB, free: 11.37 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.003134/0.003134, allocations: 139.8 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3025, allocations: 68.11 MB / 0.5547 GB, free: 32.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.006606/0.3091, allocations: 7.306 MB / 0.5618 GB, free: 27.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004781/0.3139, allocations: 2.278 MB / 0.564 GB, free: 25.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008658/0.3148, allocations: 10.16 kB / 0.564 GB, free: 25.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.3155, allocations: 272 kB / 0.5643 GB, free: 25.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.3183, allocations: 1.141 MB / 0.5654 GB, free: 24.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3195, allocations: 0.5722 MB / 0.566 GB, free: 23.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.3224, allocations: 1.955 MB / 0.5679 GB, free: 22.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.3229, allocations: 328.3 kB / 0.5682 GB, free: 22.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009091/0.3239, allocations: 0.75 MB / 0.5689 GB, free: 22.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009132/0.3248, allocations: 0.9871 MB / 0.5699 GB, free: 21.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.325, allocations: 145.9 kB / 0.57 GB, free: 21.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008025/0.3258, allocations: 376.2 kB / 0.5704 GB, free: 21.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.3261, allocations: 389 kB / 0.5708 GB, free: 21.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.3267, allocations: 0.7703 MB / 0.5715 GB, free: 20.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.3283, allocations: 1.911 MB / 0.5734 GB, free: 19.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3283, allocations: 1.156 kB / 0.5734 GB, free: 19.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3283, allocations: 3.938 kB / 0.5734 GB, free: 19.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.3284, allocations: 0 / 0.5734 GB, free: 19.04 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.01262/0.341, allocations: 3.436 MB / 0.5767 GB, free: 16.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.341, allocations: 19.92 kB / 0.5768 GB, free: 16.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.3412, allocations: 138.9 kB / 0.5769 GB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004349/0.3456, allocations: 0.7201 MB / 0.5776 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.347, allocations: 0.9618 MB / 0.5785 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.3473, allocations: 349.8 kB / 0.5789 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.3474, allocations: 103.8 kB / 0.579 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.3496, allocations: 1.235 MB / 0.5802 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3496, allocations: 0 / 0.5802 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3497, allocations: 32 kB / 0.5802 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.3498, allocations: 20 kB / 0.5802 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.352, allocations: 1.187 MB / 0.5814 GB, free: 11.94 MB / 398.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.006151/0.3582, allocations: 4.17 MB / 0.5855 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007237/0.3654, allocations: 2.699 MB / 0.5881 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.3671, allocations: 0.8517 MB / 0.5889 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.3672, allocations: 24.97 kB / 0.5889 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3673, allocations: 43.56 kB / 0.589 GB, free: 3.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=111): time 2.926e-06/0.3673, allocations: 0 / 0.589 GB, free: 3.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=111): time 0.04078/0.4081, allocations: 9.828 MB / 0.5986 GB, free: 9.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.4082, allocations: 94.09 kB / 0.5987 GB, free: 9.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.4099, allocations: 1.165 MB / 0.5998 GB, free: 8.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.4101, allocations: 45.7 kB / 0.5999 GB, free: 8.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.4105, allocations: 0.5053 MB / 0.6003 GB, free: 8.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.4109, allocations: 406.2 kB / 0.6007 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.4115, allocations: 291.4 kB / 0.601 GB, free: 7.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.4116, allocations: 301.1 kB / 0.6013 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.4135, allocations: 0.8862 MB / 0.6022 GB, free: 6.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.4156, allocations: 1.08 MB / 0.6032 GB, free: 5.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004042/0.4196, allocations: 1.91 MB / 0.6051 GB, free: 3.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4196, allocations: 0 / 0.6051 GB, free: 3.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.0172/0.4368, allocations: 5.149 MB / 0.6101 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.4369, allocations: 8 kB / 0.6101 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4369, allocations: 0 / 0.6101 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00969/0.4466, allocations: 2.644 MB / 0.6127 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.448, allocations: 255.6 kB / 0.6129 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.4547, allocations: 2.688 MB / 0.6156 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.457, allocations: 206.5 kB / 0.6158 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.4573, allocations: 59.92 kB / 0.6158 GB, free: 8.098 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006023/0.4579, allocations: 257.6 kB / 0.6161 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.4583, allocations: 142.3 kB / 0.6162 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/0.4745, allocations: 4.598 MB / 0.6207 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.4746, allocations: 12 kB / 0.6207 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4746, allocations: 0 / 0.6207 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/0.4746, allocations: 3.984 kB / 0.6207 GB, free: 3.062 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.0197/0.4943, allocations: 6.432 MB / 0.627 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.4944, allocations: 0 / 0.627 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.4951, allocations: 119.8 kB / 0.6271 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007839/0.503, allocations: 2.146 MB / 0.6292 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/0.5033, allocations: 23.98 kB / 0.6292 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/0.5297, allocations: 10.07 MB / 0.6391 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5297, allocations: 3.938 kB / 0.6391 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/0.548, allocations: 5.733 MB / 0.6447 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/0.5487, allocations: 247.1 kB / 0.6449 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004244/0.5491, allocations: 20 kB / 0.6449 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.5508, allocations: 108.1 kB / 0.645 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008221/0.5516, allocations: 237.1 kB / 0.6453 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.5518, allocations: 31.94 kB / 0.6453 GB, free: 9.574 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.553, allocations: 0.7843 MB / 0.646 GB, free: 8.785 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.553, allocations: 0 / 0.646 GB, free: 8.785 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001689/0.5547, allocations: 491.6 kB / 0.6465 GB, free: 8.305 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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.01916/0.5739, allocations: 6.337 MB / 0.6527 GB, free: 1.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009338/0.5833, allocations: 2.672 MB / 0.6553 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5833, allocations: 256 / 0.6553 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006202/0.5896, allocations: 1.84 MB / 0.6571 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.591, allocations: 112.7 kB / 0.6572 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04265/0.6337, allocations: 17.94 MB / 0.6747 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.6345, allocations: 1.139 MB / 0.6759 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000566/0.635, allocations: 120.5 kB / 0.676 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/0.6358, allocations: 0.4915 MB / 0.6764 GB, free: 9.117 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6358, allocations: 0 / 0.6764 GB, free: 9.117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07374/0.7096, allocations: 38.27 MB / 0.7138 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.59, allocations: 4 kB / 0.7138 GB, free: 2.898 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU_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_Machines_PSSE_GENROU.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)