Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE",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.001401/0.001401, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 239.3 MB, free: 4.582 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.001272/0.001272, allocations: 188.5 kB / 289.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5062/0.5062, allocations: 91.9 MB / 431.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 79.88 kB / 0.502 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3129, allocations: 71.27 MB / 0.5716 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROE): time 0.00539/0.3183, allocations: 7.211 MB / 0.5786 GB, free: 32.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.3218, allocations: 2.313 MB / 0.5809 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004486/0.3223, allocations: 9.406 kB / 0.5809 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.3228, allocations: 281.2 kB / 0.5812 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.3246, allocations: 0.9321 MB / 0.5821 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3258, allocations: 0.6843 MB / 0.5827 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3272, allocations: 1.808 MB / 0.5845 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.3275, allocations: 334.4 kB / 0.5848 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.3282, allocations: 0.7377 MB / 0.5855 GB, free: 28.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008137/0.329, allocations: 0.9747 MB / 0.5865 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.3292, allocations: 148.3 kB / 0.5866 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.3298, allocations: 323 kB / 0.5869 GB, free: 27.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.33, allocations: 389.5 kB / 0.5873 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.3305, allocations: 0.7676 MB / 0.5881 GB, free: 27.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.332, allocations: 1.876 MB / 0.5899 GB, free: 26.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.332, allocations: 0 / 0.5899 GB, free: 26.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.332, allocations: 5.188 kB / 0.5899 GB, free: 26.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.3321, allocations: 0 / 0.5899 GB, free: 26.19 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.01108/0.3432, allocations: 3.257 MB / 0.5931 GB, free: 24.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3432, allocations: 8.625 kB / 0.5931 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.3434, allocations: 134.6 kB / 0.5932 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/0.3478, allocations: 0.7159 MB / 0.5939 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.3492, allocations: 0.9621 MB / 0.5949 GB, free: 23.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.3495, allocations: 357.3 kB / 0.5952 GB, free: 23.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.3497, allocations: 95.41 kB / 0.5953 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.352, allocations: 1.232 MB / 0.5965 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.352, allocations: 1 kB / 0.5965 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3521, allocations: 37.75 kB / 0.5965 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3522, allocations: 22.58 kB / 0.5965 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.3546, allocations: 1.184 MB / 0.5977 GB, free: 22.72 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.006615/0.3612, allocations: 4.184 MB / 0.6018 GB, free: 20.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007841/0.3691, allocations: 2.693 MB / 0.6044 GB, free: 19.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.3708, allocations: 0.8372 MB / 0.6052 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.3709, allocations: 27.44 kB / 0.6053 GB, free: 18.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3709, allocations: 48.47 kB / 0.6053 GB, free: 18.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 2.665e-06/0.371, allocations: 0 / 0.6053 GB, free: 18.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04181/0.4128, allocations: 9.827 MB / 0.6149 GB, free: 16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.4129, allocations: 97.55 kB / 0.615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.4145, allocations: 1.166 MB / 0.6161 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.4148, allocations: 46.89 kB / 0.6162 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.4151, allocations: 0.503 MB / 0.6167 GB, free: 14.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.4154, allocations: 406.5 kB / 0.6171 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005183/0.4159, allocations: 292.7 kB / 0.6173 GB, free: 14.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.416, allocations: 306.1 kB / 0.6176 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.4179, allocations: 0.8823 MB / 0.6185 GB, free: 13.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.4198, allocations: 1.074 MB / 0.6195 GB, free: 12.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.4232, allocations: 1.918 MB / 0.6214 GB, free: 10.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4232, allocations: 0 / 0.6214 GB, free: 10.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01546/0.4387, allocations: 5.141 MB / 0.6264 GB, free: 5.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4387, allocations: 8 kB / 0.6264 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4388, allocations: 4 kB / 0.6264 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008931/0.4477, allocations: 2.679 MB / 0.6291 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.4489, allocations: 247.7 kB / 0.6293 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005771/0.4547, allocations: 2.695 MB / 0.6319 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.4571, allocations: 206.6 kB / 0.6321 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.4572, allocations: 63.97 kB / 0.6322 GB, free: 15.88 MB / 446.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.000554/0.4578, allocations: 266.6 kB / 0.6324 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.4581, allocations: 134.3 kB / 0.6326 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/0.4743, allocations: 4.594 MB / 0.6371 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.4743, allocations: 12 kB / 0.6371 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4743, allocations: 0 / 0.6371 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.4743, allocations: 11.97 kB / 0.6371 GB, free: 10.84 MB / 446.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.01859/0.4929, allocations: 6.432 MB / 0.6434 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.493, allocations: 0 / 0.6434 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.4937, allocations: 115.8 kB / 0.6435 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007786/0.5014, allocations: 2.142 MB / 0.6456 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.5016, allocations: 23.98 kB / 0.6456 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/0.5281, allocations: 10.07 MB / 0.6554 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5281, allocations: 0 / 0.6554 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/0.5468, allocations: 5.748 MB / 0.661 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/0.5474, allocations: 239.1 kB / 0.6613 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.5477, allocations: 20.19 kB / 0.6613 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.5492, allocations: 107.9 kB / 0.6614 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007752/0.5499, allocations: 245 kB / 0.6616 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.699e-05/0.55, allocations: 31.98 kB / 0.6616 GB, free: 1.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.5511, allocations: 0.7804 MB / 0.6624 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5511, allocations: 0 / 0.6624 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001401/0.5525, allocations: 483.5 kB / 0.6629 GB, free: 92 kB / 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,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.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.01919/0.5717, allocations: 6.335 MB / 0.6691 GB, free: 9.719 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0091/0.5809, allocations: 2.672 MB / 0.6717 GB, free: 7.043 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5809, allocations: 4 kB / 0.6717 GB, free: 7.039 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006531/0.5874, allocations: 1.837 MB / 0.6735 GB, free: 5.195 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.5889, allocations: 108.7 kB / 0.6736 GB, free: 5.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04129/0.6302, allocations: 17.95 MB / 0.6911 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.6309, allocations: 1.139 MB / 0.6922 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004641/0.6314, allocations: 124.5 kB / 0.6923 GB, free: 1.387 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/0.6321, allocations: 0.4915 MB / 0.6928 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6321, allocations: 0 / 0.6928 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07175/0.7038, allocations: 38.2 MB / 0.7301 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.41, allocations: 8.5 kB / 0.7301 GB, free: 10.8 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe 2>&1)