Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.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.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROU",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.001415/0.001415, allocations: 111.9 kB / 15.61 MB, free: 128 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.345/1.345, allocations: 222.9 MB / 239.3 MB, free: 4.641 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.00137/0.00137, allocations: 191.7 kB / 289.6 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5164/0.5164, allocations: 91.9 MB / 431.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 79.88 kB / 0.502 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.288, allocations: 71.27 MB / 0.5716 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.006172/0.2942, allocations: 7.258 MB / 0.5787 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.2986, allocations: 2.31 MB / 0.5809 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.2993, allocations: 12.72 kB / 0.5809 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.2998, allocations: 282 kB / 0.5812 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.3018, allocations: 1.058 MB / 0.5822 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3028, allocations: 0.5672 MB / 0.5828 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.3042, allocations: 1.811 MB / 0.5846 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.3046, allocations: 330.6 kB / 0.5849 GB, free: 28.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/0.3053, allocations: 0.7434 MB / 0.5856 GB, free: 28.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008096/0.3061, allocations: 0.9808 MB / 0.5866 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.3063, allocations: 147.2 kB / 0.5867 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.3069, allocations: 377.2 kB / 0.5871 GB, free: 27.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.3072, allocations: 380.5 kB / 0.5874 GB, free: 27.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.3078, allocations: 0.7666 MB / 0.5882 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.3096, allocations: 1.909 MB / 0.59 GB, free: 26.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3096, allocations: 4 kB / 0.59 GB, free: 26.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3096, allocations: 0 / 0.59 GB, free: 26.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.793e-05/0.3097, allocations: 1.25 kB / 0.59 GB, free: 26.06 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.01136/0.321, allocations: 3.227 MB / 0.5932 GB, free: 24.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3211, allocations: 8.938 kB / 0.5932 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.3213, allocations: 139.2 kB / 0.5933 GB, free: 24.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004532/0.3258, allocations: 0.72 MB / 0.594 GB, free: 24.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.3271, allocations: 0.9536 MB / 0.595 GB, free: 23.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/0.3275, allocations: 361.5 kB / 0.5953 GB, free: 23.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.3276, allocations: 99.72 kB / 0.5954 GB, free: 23.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.33, allocations: 1.233 MB / 0.5966 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.33, allocations: 0 / 0.5966 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.3301, allocations: 34.88 kB / 0.5966 GB, free: 22.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.3302, allocations: 18.62 kB / 0.5967 GB, free: 22.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.3327, allocations: 1.186 MB / 0.5978 GB, free: 22.59 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.006896/0.3396, allocations: 4.175 MB / 0.6019 GB, free: 20.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008149/0.3477, allocations: 2.698 MB / 0.6045 GB, free: 19.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.3496, allocations: 0.8378 MB / 0.6053 GB, free: 18.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.3498, allocations: 19.05 kB / 0.6054 GB, free: 18.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3498, allocations: 44.25 kB / 0.6054 GB, free: 18.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 4.158e-06/0.3498, allocations: 0 / 0.6054 GB, free: 18.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04408/0.3939, allocations: 9.844 MB / 0.615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.394, allocations: 93.55 kB / 0.6151 GB, free: 15.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.3959, allocations: 1.162 MB / 0.6162 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003058/0.3962, allocations: 50.23 kB / 0.6163 GB, free: 15.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.3965, allocations: 0.508 MB / 0.6168 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.397, allocations: 398.2 kB / 0.6172 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007564/0.3978, allocations: 296.7 kB / 0.6175 GB, free: 14.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.3978, allocations: 305.1 kB / 0.6177 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.3999, allocations: 0.8802 MB / 0.6186 GB, free: 13.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.402, allocations: 1.069 MB / 0.6196 GB, free: 12.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/0.4056, allocations: 1.921 MB / 0.6215 GB, free: 10.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-06/0.4056, allocations: 4 kB / 0.6215 GB, free: 10.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01588/0.4215, allocations: 5.141 MB / 0.6265 GB, free: 5.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4215, allocations: 4 kB / 0.6266 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4216, allocations: 7.984 kB / 0.6266 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008841/0.4304, allocations: 2.648 MB / 0.6291 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.4317, allocations: 251.6 kB / 0.6294 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.4376, allocations: 2.695 MB / 0.632 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.4398, allocations: 206.6 kB / 0.6322 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.44, allocations: 55.97 kB / 0.6323 GB, free: 15.82 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.0005639/0.4406, allocations: 270.5 kB / 0.6325 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.441, allocations: 134.3 kB / 0.6327 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/0.457, allocations: 4.602 MB / 0.6371 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.457, allocations: 16 kB / 0.6372 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.457, allocations: 0 / 0.6372 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.318e-05/0.4571, allocations: 7.969 kB / 0.6372 GB, free: 10.77 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.01906/0.4761, allocations: 6.428 MB / 0.6434 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.4762, allocations: 3.984 kB / 0.6435 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/0.477, allocations: 111.8 kB / 0.6436 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008026/0.485, allocations: 2.149 MB / 0.6457 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/0.4853, allocations: 20 kB / 0.6457 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02736/0.5126, allocations: 10.07 MB / 0.6555 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5127, allocations: 4 kB / 0.6555 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/0.5316, allocations: 5.737 MB / 0.6611 GB, free: 1.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.5322, allocations: 239.1 kB / 0.6613 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/0.5327, allocations: 20 kB / 0.6614 GB, free: 1.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.5344, allocations: 111.9 kB / 0.6615 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007657/0.5351, allocations: 237.1 kB / 0.6617 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.5353, allocations: 31.98 kB / 0.6617 GB, free: 1.285 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.5364, allocations: 0.7804 MB / 0.6625 GB, free: 0.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5364, allocations: 4 kB / 0.6625 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001517/0.5379, allocations: 491.5 kB / 0.663 GB, free: 16 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,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.01861/0.5566, allocations: 6.331 MB / 0.6691 GB, free: 9.648 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009267/0.5659, allocations: 2.676 MB / 0.6718 GB, free: 6.969 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5659, allocations: 0 / 0.6718 GB, free: 6.969 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006057/0.572, allocations: 1.835 MB / 0.6735 GB, free: 5.125 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.5733, allocations: 108.7 kB / 0.6737 GB, free: 5.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04081/0.6141, allocations: 17.95 MB / 0.6912 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/0.6149, allocations: 1.139 MB / 0.6923 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005239/0.6155, allocations: 116.5 kB / 0.6924 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007207/0.6162, allocations: 0.4915 MB / 0.6929 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6162, allocations: 4 kB / 0.6929 GB, free: 0.832 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06724/0.6835, allocations: 38.25 MB / 0.7302 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.49, allocations: 8.422 kB / 0.7303 GB, free: 10.7 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)