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.007303/0.007304, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 239.4 MB, free: 4.391 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.001627/0.001627, allocations: 184.5 kB / 289.7 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.528/0.528, allocations: 91.91 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 83.64 kB / 0.5722 GB, free: 33.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1221, allocations: 71.3 MB / 0.6419 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROE): time 0.008631/0.1308, allocations: 7.216 MB / 0.6489 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.1358, allocations: 2.303 MB / 0.6512 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009412/0.1368, allocations: 8 kB / 0.6512 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007299/0.1375, allocations: 285.7 kB / 0.6514 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.1399, allocations: 0.9421 MB / 0.6524 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1414, allocations: 0.6734 MB / 0.653 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.1438, allocations: 1.819 MB / 0.6548 GB, free: 6.789 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005246/0.1443, allocations: 328.3 kB / 0.6551 GB, free: 6.449 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1453, allocations: 0.7431 MB / 0.6558 GB, free: 5.703 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.1466, allocations: 0.9764 MB / 0.6568 GB, free: 4.723 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.1468, allocations: 148 kB / 0.6569 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.1475, allocations: 323.9 kB / 0.6572 GB, free: 4.262 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.1478, allocations: 386.4 kB / 0.6576 GB, free: 3.883 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007245/0.1485, allocations: 0.7652 MB / 0.6584 GB, free: 3.113 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.1508, allocations: 1.902 MB / 0.6602 GB, free: 1.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1508, allocations: 0 / 0.6602 GB, free: 1.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1508, allocations: 0 / 0.6602 GB, free: 1.203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.1509, allocations: 4 kB / 0.6602 GB, free: 1.199 MB / 462.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.01172/0.1626, allocations: 3.304 MB / 0.6634 GB, free: 13.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1627, allocations: 12.03 kB / 0.6635 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.1629, allocations: 127 kB / 0.6636 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.1674, allocations: 0.7327 MB / 0.6643 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.1691, allocations: 0.9667 MB / 0.6652 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/0.1695, allocations: 357.3 kB / 0.6656 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.1697, allocations: 91.94 kB / 0.6657 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.1723, allocations: 1.239 MB / 0.6669 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1723, allocations: 3.938 kB / 0.6669 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.1724, allocations: 36 kB / 0.6669 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.1724, allocations: 20 kB / 0.6669 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.175, allocations: 1.187 MB / 0.6681 GB, free: 8.945 MB / 478.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.007464/0.1825, allocations: 4.163 MB / 0.6722 GB, free: 4.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.1941, allocations: 2.703 MB / 0.6748 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/0.1976, allocations: 0.8368 MB / 0.6756 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.1978, allocations: 16.98 kB / 0.6756 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.907e-05/0.1979, allocations: 55.55 kB / 0.6757 GB, free: 0.832 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 5.811e-06/0.1979, allocations: 0 / 0.6757 GB, free: 0.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.05003/0.248, allocations: 9.828 MB / 0.6853 GB, free: 6.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.2482, allocations: 90.11 kB / 0.6854 GB, free: 6.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.25, allocations: 1.165 MB / 0.6865 GB, free: 5.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.2503, allocations: 53.7 kB / 0.6866 GB, free: 5.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.2508, allocations: 0.5099 MB / 0.6871 GB, free: 5.113 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005152/0.2513, allocations: 428.3 kB / 0.6875 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006445/0.252, allocations: 295.5 kB / 0.6877 GB, free: 4.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2521, allocations: 305.1 kB / 0.688 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.2542, allocations: 0.8784 MB / 0.6889 GB, free: 3.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.2564, allocations: 1.073 MB / 0.6899 GB, free: 2.098 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/0.2604, allocations: 1.925 MB / 0.6918 GB, free: 136 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2604, allocations: 0 / 0.6918 GB, free: 136 kB / 494.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01696/0.2774, allocations: 5.154 MB / 0.6969 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2775, allocations: 8.031 kB / 0.6969 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.2775, allocations: 4 kB / 0.6969 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009789/0.2873, allocations: 2.667 MB / 0.6995 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.2886, allocations: 255.6 kB / 0.6997 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006565/0.2952, allocations: 2.687 MB / 0.7023 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.2973, allocations: 214.9 kB / 0.7025 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.2975, allocations: 55.98 kB / 0.7026 GB, free: 5.043 MB / 0.4981 GB 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.0005484/0.298, allocations: 266.6 kB / 0.7028 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.2983, allocations: 139.1 kB / 0.703 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/0.3144, allocations: 4.594 MB / 0.7075 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.3145, allocations: 12 kB / 0.7075 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-05/0.3145, allocations: 7.984 kB / 0.7075 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.3145, allocations: 7.984 kB / 0.7075 GB, free: 15.98 MB / 0.5137 GB 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.01901/0.3336, allocations: 6.424 MB / 0.7138 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.3336, allocations: 0 / 0.7138 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.3344, allocations: 111.9 kB / 0.7139 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007745/0.3421, allocations: 2.138 MB / 0.716 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.3423, allocations: 19.98 kB / 0.716 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02697/0.3693, allocations: 10.08 MB / 0.7258 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-05/0.3694, allocations: 3.938 kB / 0.7258 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/0.3876, allocations: 5.763 MB / 0.7315 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.3882, allocations: 247.8 kB / 0.7317 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.3884, allocations: 20 kB / 0.7317 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.3898, allocations: 111.9 kB / 0.7318 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007707/0.3906, allocations: 241.2 kB / 0.732 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/0.3907, allocations: 31.94 kB / 0.7321 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001127/0.3918, allocations: 0.7804 MB / 0.7328 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3918, allocations: 0 / 0.7328 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001331/0.3931, allocations: 483.7 kB / 0.7333 GB, free: 5.227 MB / 0.5294 GB 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.01856/0.4117, allocations: 6.338 MB / 0.7395 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008536/0.4203, allocations: 2.648 MB / 0.7421 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4203, allocations: 0 / 0.7421 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006203/0.4265, allocations: 1.831 MB / 0.7439 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.4277, allocations: 112.7 kB / 0.744 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/0.4687, allocations: 17.16 MB / 0.7607 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.4698, allocations: 1.143 MB / 0.7618 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006068/0.4704, allocations: 116.5 kB / 0.762 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008817/0.4713, allocations: 0.4954 MB / 0.7624 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of SimCode: time 1.203e-06/0.4713, allocations: 4 kB / 0.7624 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3377/0.809, allocations: 38.63 MB / 0.8002 GB, free: 103 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.98, allocations: 10.22 kB / 0.8002 GB, free: 103 MB / 0.5606 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)