Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_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.001226/0.001226, 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.332/1.332, 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.001385/0.001385, allocations: 184.5 kB / 289.5 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4478/0.4478, allocations: 78.53 MB / 418.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 71.89 kB / 497.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 68.18 MB / 0.5525 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.203/0.3273, allocations: 7.242 MB / 0.5595 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004217/0.3316, allocations: 2.309 MB / 0.5618 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.3328, allocations: 11.94 kB / 0.5618 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008339/0.3336, allocations: 284.9 kB / 0.5621 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.3366, allocations: 1.128 MB / 0.5632 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.3379, allocations: 0.5699 MB / 0.5637 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002377/0.3403, allocations: 1.964 MB / 0.5657 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.3409, allocations: 320.5 kB / 0.566 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009831/0.3419, allocations: 0.749 MB / 0.5667 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.343, allocations: 0.9843 MB / 0.5677 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.3434, allocations: 151.3 kB / 0.5678 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007576/0.3441, allocations: 368.3 kB / 0.5681 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.3444, allocations: 390.1 kB / 0.5685 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005458/0.3449, allocations: 0.7755 MB / 0.5693 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.3465, allocations: 1.916 MB / 0.5711 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3465, allocations: 0.8125 kB / 0.5711 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3465, allocations: 0 / 0.5711 GB, free: 32.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.3465, allocations: 2.438 kB / 0.5712 GB, free: 32.84 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.01208/0.3586, allocations: 3.438 MB / 0.5745 GB, free: 31.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3586, allocations: 11.12 kB / 0.5745 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.3588, allocations: 133.6 kB / 0.5746 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/0.3632, allocations: 0.7212 MB / 0.5754 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.3646, allocations: 0.9596 MB / 0.5763 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.3649, allocations: 357.1 kB / 0.5766 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.3651, allocations: 93.59 kB / 0.5767 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.3673, allocations: 1.234 MB / 0.5779 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.3673, allocations: 4.984 kB / 0.5779 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.3674, allocations: 31.72 kB / 0.578 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.3675, allocations: 18.78 kB / 0.578 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.3698, allocations: 1.191 MB / 0.5791 GB, free: 30.63 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.006375/0.3762, allocations: 4.18 MB / 0.5832 GB, free: 28.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007843/0.3841, allocations: 2.692 MB / 0.5858 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.3859, allocations: 0.837 MB / 0.5867 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.3861, allocations: 25.92 kB / 0.5867 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3861, allocations: 51.36 kB / 0.5867 GB, free: 26.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.306e-06/0.3861, allocations: 0.5625 kB / 0.5867 GB, free: 26.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04276/0.4289, allocations: 9.822 MB / 0.5963 GB, free: 25.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.4289, allocations: 97.52 kB / 0.5964 GB, free: 25.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.4306, allocations: 1.166 MB / 0.5976 GB, free: 24.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.4309, allocations: 46.73 kB / 0.5976 GB, free: 24.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.4312, allocations: 0.504 MB / 0.5981 GB, free: 24.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.4316, allocations: 409.6 kB / 0.5985 GB, free: 23.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005399/0.4321, allocations: 293.5 kB / 0.5988 GB, free: 23.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.425e-05/0.4321, allocations: 302.9 kB / 0.5991 GB, free: 23.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.4341, allocations: 0.8844 MB / 0.5999 GB, free: 23.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.4362, allocations: 1.074 MB / 0.601 GB, free: 22.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.4401, allocations: 1.913 MB / 0.6028 GB, free: 21.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.4401, allocations: 1.656 kB / 0.6028 GB, free: 21.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01687/0.457, allocations: 5.148 MB / 0.6079 GB, free: 19.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.457, allocations: 6.438 kB / 0.6079 GB, free: 19.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4571, allocations: 4.5 kB / 0.6079 GB, free: 19.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009259/0.4663, allocations: 2.648 MB / 0.6105 GB, free: 18.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.4676, allocations: 252.8 kB / 0.6107 GB, free: 18.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/0.4736, allocations: 2.693 MB / 0.6133 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.4758, allocations: 206.5 kB / 0.6135 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.476, allocations: 59.98 kB / 0.6136 GB, free: 16.18 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.0004805/0.4765, allocations: 261.5 kB / 0.6138 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.4768, allocations: 138.3 kB / 0.614 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.4915, allocations: 4.599 MB / 0.6185 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.4915, allocations: 14.53 kB / 0.6185 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4915, allocations: 0.5 kB / 0.6185 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/0.4916, allocations: 7.984 kB / 0.6185 GB, free: 11.14 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.01692/0.5085, allocations: 6.428 MB / 0.6248 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.5085, allocations: 0 / 0.6248 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.5092, allocations: 120.3 kB / 0.6249 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007086/0.5163, allocations: 2.143 MB / 0.627 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.5165, allocations: 24 kB / 0.627 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02673/0.5433, allocations: 10.07 MB / 0.6368 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5433, allocations: 0 / 0.6368 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/0.5625, allocations: 5.743 MB / 0.6424 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005322/0.563, allocations: 243.1 kB / 0.6427 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/0.5634, allocations: 24.69 kB / 0.6427 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.565, allocations: 103.9 kB / 0.6428 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008106/0.5658, allocations: 241.1 kB / 0.643 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.5659, allocations: 28 kB / 0.643 GB, free: 1.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.5671, allocations: 0.7843 MB / 0.6438 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5671, allocations: 0 / 0.6438 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001479/0.5686, allocations: 491.5 kB / 0.6443 GB, free: 400 kB / 446.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.01943/0.588, allocations: 6.324 MB / 0.6505 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009426/0.5975, allocations: 2.676 MB / 0.6531 GB, free: 7.359 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5975, allocations: 0 / 0.6531 GB, free: 7.359 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006579/0.6041, allocations: 1.836 MB / 0.6549 GB, free: 5.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6055, allocations: 112.7 kB / 0.655 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04349/0.649, allocations: 17.95 MB / 0.6725 GB, free: 3.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/0.6498, allocations: 1.139 MB / 0.6736 GB, free: 1.891 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005223/0.6503, allocations: 117.2 kB / 0.6737 GB, free: 1.777 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007302/0.6511, allocations: 0.4954 MB / 0.6742 GB, free: 1.281 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6511, allocations: 0 / 0.6742 GB, free: 1.281 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07191/0.723, allocations: 38.24 MB / 0.7115 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.65, allocations: 9.656 kB / 0.7116 GB, free: 11.3 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)