Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.GENROE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_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.001131/0.001131, 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.337/1.337, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.001377/0.001377, allocations: 192.4 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4438/0.4438, allocations: 78.54 MB / 418.2 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 87.86 kB / 497.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.117, allocations: 68.17 MB / 0.5525 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROE): time 0.1954/0.3125, allocations: 7.199 MB / 0.5595 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.3163, allocations: 2.301 MB / 0.5617 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007561/0.3171, allocations: 11.34 kB / 0.5618 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.3177, allocations: 274.5 kB / 0.562 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.3205, allocations: 1.145 MB / 0.5631 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.3218, allocations: 0.5823 MB / 0.5637 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.3238, allocations: 1.968 MB / 0.5656 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.3243, allocations: 319.6 kB / 0.5659 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000706/0.325, allocations: 0.7568 MB / 0.5667 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009216/0.3259, allocations: 0.9956 MB / 0.5676 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.3262, allocations: 148.4 kB / 0.5678 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006101/0.3268, allocations: 322.1 kB / 0.5681 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.327, allocations: 387.9 kB / 0.5685 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.3276, allocations: 0.7743 MB / 0.5692 GB, free: 33.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.3291, allocations: 1.902 MB / 0.5711 GB, free: 32.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3291, allocations: 1.625 kB / 0.5711 GB, free: 32.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3291, allocations: 0 / 0.5711 GB, free: 32.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.009e-05/0.3292, allocations: 0 / 0.5711 GB, free: 32.91 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.01288/0.342, allocations: 3.546 MB / 0.5745 GB, free: 31.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3421, allocations: 10.88 kB / 0.5746 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.3423, allocations: 136.9 kB / 0.5747 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004404/0.3467, allocations: 0.7212 MB / 0.5754 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.348, allocations: 0.9532 MB / 0.5763 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.3483, allocations: 358 kB / 0.5767 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.3485, allocations: 93.16 kB / 0.5767 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.3507, allocations: 1.234 MB / 0.578 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3508, allocations: 0 / 0.578 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.3509, allocations: 39.19 kB / 0.578 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.3509, allocations: 19.44 kB / 0.578 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.3533, allocations: 1.184 MB / 0.5792 GB, free: 30.69 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.006697/0.36, allocations: 4.184 MB / 0.5833 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007799/0.3678, allocations: 2.7 MB / 0.5859 GB, free: 27.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.3696, allocations: 0.8385 MB / 0.5867 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.3698, allocations: 16.58 kB / 0.5867 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3698, allocations: 45.5 kB / 0.5868 GB, free: 26.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 4.739e-06/0.3698, allocations: 4.844 kB / 0.5868 GB, free: 26.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04317/0.413, allocations: 9.834 MB / 0.5964 GB, free: 25.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.4131, allocations: 88.95 kB / 0.5965 GB, free: 25.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.415, allocations: 1.161 MB / 0.5976 GB, free: 24.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003127/0.4153, allocations: 50.3 kB / 0.5976 GB, free: 24.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.4157, allocations: 0.5053 MB / 0.5981 GB, free: 24.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.4161, allocations: 407.6 kB / 0.5985 GB, free: 23.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005768/0.4167, allocations: 296.4 kB / 0.5988 GB, free: 23.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.4167, allocations: 301.6 kB / 0.5991 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.4188, allocations: 0.88 MB / 0.6 GB, free: 23.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.421, allocations: 1.072 MB / 0.601 GB, free: 22.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/0.4251, allocations: 1.92 MB / 0.6029 GB, free: 21.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.4251, allocations: 1.125 kB / 0.6029 GB, free: 21.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01727/0.4424, allocations: 5.141 MB / 0.6079 GB, free: 19.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.4425, allocations: 7.438 kB / 0.6079 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.4425, allocations: 4.484 kB / 0.6079 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009999/0.4525, allocations: 2.678 MB / 0.6105 GB, free: 18.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4538, allocations: 258.2 kB / 0.6108 GB, free: 18.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.4599, allocations: 2.698 MB / 0.6134 GB, free: 16.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.462, allocations: 211.2 kB / 0.6136 GB, free: 16.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.4621, allocations: 51.98 kB / 0.6137 GB, free: 16.16 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.0004606/0.4626, allocations: 261.5 kB / 0.6139 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.4629, allocations: 138.3 kB / 0.614 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/0.4773, allocations: 4.595 MB / 0.6185 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.4773, allocations: 12 kB / 0.6185 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4773, allocations: 0 / 0.6185 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.885e-05/0.4774, allocations: 7.969 kB / 0.6185 GB, free: 11.13 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.01666/0.494, allocations: 6.438 MB / 0.6248 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.4941, allocations: 1.172 kB / 0.6248 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007108/0.4948, allocations: 107.9 kB / 0.6249 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007032/0.5019, allocations: 2.151 MB / 0.627 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.5021, allocations: 19.98 kB / 0.6271 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02556/0.5276, allocations: 10.07 MB / 0.6369 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.5277, allocations: 3.438 kB / 0.6369 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/0.5461, allocations: 5.741 MB / 0.6425 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005792/0.5468, allocations: 239.1 kB / 0.6427 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.547, allocations: 23.98 kB / 0.6427 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.5484, allocations: 103.9 kB / 0.6428 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007844/0.5492, allocations: 245.1 kB / 0.6431 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.525e-05/0.5493, allocations: 28.09 kB / 0.6431 GB, free: 1.645 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.5504, allocations: 0.7842 MB / 0.6439 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5504, allocations: 3.938 kB / 0.6439 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001342/0.5518, allocations: 487.5 kB / 0.6443 GB, free: 384 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,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.0188/0.5706, allocations: 6.327 MB / 0.6505 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009573/0.5802, allocations: 2.666 MB / 0.6531 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5803, allocations: 0 / 0.6531 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006444/0.5867, allocations: 1.846 MB / 0.6549 GB, free: 5.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.5882, allocations: 110.6 kB / 0.655 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04308/0.6313, allocations: 17.95 MB / 0.6726 GB, free: 3.051 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008398/0.6322, allocations: 1.135 MB / 0.6737 GB, free: 1.883 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005576/0.6328, allocations: 109.8 kB / 0.6738 GB, free: 1.773 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007708/0.6336, allocations: 0.5028 MB / 0.6743 GB, free: 1.273 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6336, allocations: 4 kB / 0.6743 GB, free: 1.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06932/0.7029, allocations: 38.2 MB / 0.7116 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.39, allocations: 0 / 0.7116 GB, free: 11.34 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROE.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSSE_GENROE.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe 2>&1)