Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.005188/0.005188, allocations: 97.28 kB / 15.73 MB, free: 6.031 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.302/1.302, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001461/0.001461, allocations: 192.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4711/0.4711, allocations: 91.91 MB / 431.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 83.97 kB / 0.5723 GB, free: 33.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 71.28 MB / 0.6419 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.006448/0.1216, allocations: 6.192 MB / 0.6479 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.1255, allocations: 1.856 MB / 0.6497 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009115/0.1264, allocations: 8 kB / 0.6497 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.1272, allocations: 249.9 kB / 0.65 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.129, allocations: 0.6407 MB / 0.6506 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.1308, allocations: 0.8183 MB / 0.6514 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.1328, allocations: 1.518 MB / 0.6529 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004828/0.1333, allocations: 279.8 kB / 0.6531 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008721/0.1342, allocations: 0.6186 MB / 0.6537 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.1353, allocations: 0.7896 MB / 0.6545 GB, free: 7.094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003269/0.1356, allocations: 116 kB / 0.6546 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.1362, allocations: 243.8 kB / 0.6549 GB, free: 6.742 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.1365, allocations: 302.8 kB / 0.6551 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007757/0.1373, allocations: 0.637 MB / 0.6558 GB, free: 5.805 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.1393, allocations: 1.556 MB / 0.6573 GB, free: 4.242 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1393, allocations: 0 / 0.6573 GB, free: 4.242 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1393, allocations: 0 / 0.6573 GB, free: 4.242 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.263e-05/0.1394, allocations: 3.984 kB / 0.6573 GB, free: 4.238 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.008674/0.148, allocations: 2.648 MB / 0.6599 GB, free: 1.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1481, allocations: 15.97 kB / 0.6599 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.1483, allocations: 118.5 kB / 0.66 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/0.1526, allocations: 0.686 MB / 0.6607 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.1542, allocations: 0.8198 MB / 0.6615 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/0.1546, allocations: 341.3 kB / 0.6618 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.1549, allocations: 75.98 kB / 0.6619 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.1573, allocations: 1.145 MB / 0.663 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1574, allocations: 3.938 kB / 0.663 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.1575, allocations: 32 kB / 0.663 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.1575, allocations: 16 kB / 0.663 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.16, allocations: 1.085 MB / 0.6641 GB, free: 13.07 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.006643/0.1667, allocations: 3.583 MB / 0.6676 GB, free: 9.316 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007268/0.174, allocations: 2.522 MB / 0.6701 GB, free: 6.668 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.1756, allocations: 0.786 MB / 0.6708 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.1758, allocations: 16.98 kB / 0.6708 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1758, allocations: 47.55 kB / 0.6709 GB, free: 5.805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.976e-06/0.1758, allocations: 0 / 0.6709 GB, free: 5.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.03924/0.215, allocations: 9.395 MB / 0.6801 GB, free: 12.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.2152, allocations: 86.11 kB / 0.6801 GB, free: 12.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.2166, allocations: 0.9087 MB / 0.681 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.2168, allocations: 41.7 kB / 0.6811 GB, free: 11.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.2171, allocations: 473.2 kB / 0.6815 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004316/0.2176, allocations: 356.8 kB / 0.6819 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.218, allocations: 178.9 kB / 0.682 GB, free: 10.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2182, allocations: 349.9 kB / 0.6824 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.2197, allocations: 0.6662 MB / 0.683 GB, free: 9.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.2214, allocations: 0.8275 MB / 0.6838 GB, free: 8.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.2245, allocations: 1.532 MB / 0.6853 GB, free: 6.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.2246, allocations: 3.938 kB / 0.6853 GB, free: 6.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01524/0.2398, allocations: 4.548 MB / 0.6898 GB, free: 2.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.2399, allocations: 8 kB / 0.6898 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.2399, allocations: 8.25 kB / 0.6898 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007819/0.2477, allocations: 2.345 MB / 0.6921 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.2484, allocations: 135.8 kB / 0.6922 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02923/0.2777, allocations: 11.34 MB / 0.7033 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.2793, allocations: 163.2 kB / 0.7034 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.2795, allocations: 36 kB / 0.7035 GB, free: 4.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (83): * Single equations (assignments): 82 * 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 {(27,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0005506/0.2801, allocations: 242.6 kB / 0.7037 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.2804, allocations: 123.2 kB / 0.7038 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/0.2951, allocations: 4.432 MB / 0.7081 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.2952, allocations: 8 kB / 0.7081 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2952, allocations: 7.938 kB / 0.7082 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.2952, allocations: 7.922 kB / 0.7082 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/0.3128, allocations: 6.074 MB / 0.7141 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/0.3129, allocations: 4 kB / 0.7141 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.3135, allocations: 91.84 kB / 0.7142 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007702/0.3212, allocations: 2.162 MB / 0.7163 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/0.3215, allocations: 23.98 kB / 0.7163 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/0.3464, allocations: 9.952 MB / 0.726 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3464, allocations: 0 / 0.726 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.3631, allocations: 5.516 MB / 0.7314 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.3635, allocations: 224.2 kB / 0.7316 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.3638, allocations: 20 kB / 0.7317 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.365, allocations: 99.89 kB / 0.7318 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000756/0.3658, allocations: 237.1 kB / 0.732 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-05/0.3659, allocations: 20 kB / 0.732 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008693/0.3668, allocations: 0.6264 MB / 0.7326 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3668, allocations: 0 / 0.7326 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001453/0.3682, allocations: 463.7 kB / 0.7331 GB, free: 5.398 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,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 (55): * Single equations (assignments): 54 * 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 {(27,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01709/0.3853, allocations: 6.082 MB / 0.739 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007938/0.3933, allocations: 2.56 MB / 0.7415 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3933, allocations: 4 kB / 0.7415 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005762/0.3991, allocations: 1.776 MB / 0.7432 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.4003, allocations: 105.4 kB / 0.7433 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04207/0.4424, allocations: 16.24 MB / 0.7592 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/0.4432, allocations: 1.088 MB / 0.7603 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003716/0.4436, allocations: 90.91 kB / 0.7603 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.4441, allocations: 427.3 kB / 0.7607 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.4442, allocations: 0 / 0.7607 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3329/0.777, allocations: 38.54 MB / 0.7984 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.59, allocations: 7.078 kB / 0.7984 GB, free: 104.2 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS_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_GENCLS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)